How to Keep Teams Active on a Mac: What Works and What Does Not
Teams on a Mac turns Away after about 5 minutes with no keyboard or mouse input anywhere on the Mac, and at once when the screen locks. Lock Screen settings, caffeinate and Amphetamine stop the lock but not that timer, so Teams still goes yellow. A jiggler app, a one-line cliclick script or a USB jiggler creates input and keeps Teams Available. Setup for each.
On this page
- 1. Why Teams goes Away on a Mac
- 2. What keeps Teams green on a Mac, compared
- 3. Option 1: Jiggler, a free Mac app
- 4. Option 2: a one-line script to keep Teams active on a Mac
- 5. Option 3: settings in Teams itself
- 6. Teams shows Away on a Mac while you are working
- 7. Can your company see it?
- 8. Quick answers
To keep Microsoft Teams active on a Mac, you need two things: the Mac must not lock or sleep, and it must see some keyboard or mouse input at least every few minutes. Teams on a Mac switches you to Away after about 5 minutes with no input anywhere on the Mac, at once when the screen locks, and to Offline when the Mac sleeps. Apps that only keep the Mac awake, such as Amphetamine or the built-in caffeinate, fix the lock but not the idle timer, so Teams still turns yellow. A jiggler app such as Jiggler, a one-line cliclick loop in Terminal, or a USB mouse jiggler creates input and keeps Teams Available.
If you also use Slack, the desktop app works the same way: it counts input anywhere on the Mac (Slack desktop 4.52.178 code, checked 7 Oct 2026), so the methods that create input keep it green too. For both apps at once, see keep Teams and Slack active at the same time.
Why Teams goes Away on a Mac
Microsoft Learn, User presence in Teams, sets the rules for every computer: presence "becomes Away automatically if they're inactive for a few minutes or if the computer is locked; and it becomes Offline when the computer enters sleep mode". Teams reads the Mac's system idle time, so typing in a browser or scrolling a PDF keeps you green. Only no input at all starts the timer. The timing, measured, is in how long before Teams shows you as Away.
That gives two separate jobs on a Mac:
- Stop the lock and sleep. Otherwise Teams goes Away or Offline the moment the Mac locks or sleeps.
- Create input. Otherwise Teams goes Away after about 5 minutes, even with the screen on.
- Install it with Homebrew, or download it from sticksoftware.com:
What keeps Teams green on a Mac, compared
| Method | Stops lock and sleep | Keeps Teams Available | Cost |
|---|---|---|---|
| Lock Screen settings set to Never | Yes | No, the idle timer still runs | Free, built in |
caffeinate or Amphetamine | Yes | No, sends no input | Free |
| Jiggler app | Yes | Yes | Free |
cliclick loop in Terminal | With caffeinate | Yes | Free, Homebrew |
| USB mouse jiggler | Yes | Yes | About $15 to $35 |
| Busy or Do not disturb with a duration | No | Shows red, not green | Free, in Teams |
We tested the keep-awake apps against Slack in does Amphetamine keep Slack active; the same missing-input problem is why they do not keep Teams green.
Option 1: Jiggler, a free Mac app
Jiggler moves the pointer a pixel when the Mac has been idle for a set time, and also keeps the Mac awake.
brew install --cask jiggler
Other apps and a USB jiggler are compared in mouse jiggler for Mac.
Option 2: a one-line script to keep Teams active on a Mac
No app install beyond cliclick. This moves the pointer one pixel right and back every 60 seconds, and caffeinate -d -i keeps the display on and the Mac awake while it runs:
brew install cliclick
caffeinate -d -i sh -c 'while true; do cliclick m:+1,+0 m:-1,+0; sleep 60; done'
Press Ctrl+C to stop. The first run asks you to allow Terminal (or iTerm) in Accessibility. To stop it on its own at the end of the day, put the end time in the loop. This one stops after 8 hours (28,800 seconds). caffeinate -t does not work here: its man page says the timeout is not used when caffeinate runs a command.
caffeinate -d -i sh -c 'end=$(( $(date +%s) + 28800 )); while [ "$(date +%s)" -lt "$end" ]; do cliclick m:+1,+0 m:-1,+0; sleep 60; done'
Avoid scripts that press F15 on a Mac, which work well on Windows: on some Apple keyboards F14 and F15 change the screen brightness. The Windows version is in PowerShell script to keep Teams active.
Option 3: settings in Teams itself
Teams has no setting that holds you at Available, and admins cannot change the timeout. What you can do in Teams:
Teams shows Away on a Mac while you are working
If you get the yellow clock while typing in other apps, check:
More causes, with fixes, are in Teams status stuck on Away.
Can your company see it?
Teams shows only the status. It does not report that a jiggler is running. But a company Mac is often managed: IT can see installed apps like Jiggler and running processes like cliclick, and some monitoring tools flag input that software generated. If a managed Mac greys out the Lock Screen settings, that is a policy, and working around it can break your company's rules. What Teams reports to admins is in does Microsoft Teams track your activity.
Quick answers
Does Amphetamine keep Teams active? It keeps the Mac awake, so Teams does not go Offline. It sends no input, so Teams still goes Away after about 5 minutes.
Does caffeinate keep Teams green? Not by itself, for the same reason. Pair it with an input source, as in the script above.
Does closing the MacBook lid set Teams to Away? It sets Offline, because the Mac sleeps, unless you run it with an external display and keyboard. See keep a laptop awake with the lid closed.
How do I keep Teams active on a MacBook without installing anything? Keep the Teams app open on your phone's screen, or set Busy with a duration. Nothing built into macOS creates input for you.
Related Articles
How to See All Your DMs in Slack, Including the Hidden Ones
The DMs tab lists your direct messages with people. App DMs, Slackbot and DMs with deleted accounts sit elsewhere. We compared the tab with the full list the Slack API returned.
Slack Images Not Showing? 5 Causes We Reproduced
We uploaded images to a Slack test channel and then switched each image setting off, ran /collapse, and posted from a bot that was not in the channel. Five causes, each reproduced.
How to Message Yourself on Slack (and What It Notifies)
Your own name under Direct messages opens a private DM with yourself. We sent it a note, a file, a scheduled message and a reminder, and checked which ones raised a badge.