Check your Mac's sleep time
- Choose Apple menu > System Settings.
- Click Lock Screen in the sidebar. You may need to scroll down.
- Read the times next to "Turn display off on battery when inactive" and "Turn display off on power adapter when inactive."
That's how long the Mac waits with no mouse or keyboard input before the screen goes off. The system can follow soon after. To change the numbers, see how to change the sleep time on a Mac.
Battery vs power adapter
A MacBook keeps a separate timer for each power source, so the same Mac can sleep at two different times. If it seems to nod off faster at the kitchen table than at your desk, that's usually why.
| Mac and power | Screen off after | Then the system |
|---|---|---|
| MacBook on battery | Battery timer in Lock Screen | Sleeps soon after the screen |
| MacBook on power adapter | Adapter timer in Lock Screen | Sleeps soon after, unless "Prevent automatic sleeping" is on in Battery > Options |
| iMac, Mac mini, Mac Studio | Timer in Lock Screen | Sleeps soon after, unless "Prevent automatic sleeping" is on in Energy |
Is there a default?
Apple's Mac User Guide explains where the timers are but gives no default time for them. Numbers you see quoted elsewhere aren't from those pages, and the options can vary by model. Your own Mac's settings are the reliable answer.
Read the exact numbers in Terminal
Run pmset -g custom. On a MacBook it prints a Battery Power block and an AC Power block. Look for two lines in each:
displaysleepis the display sleep timer in minutes.sleepis the system sleep timer in minutes.
A value of 0 means that timer is disabled.
Why it can sleep sooner or later than that
- You sleep it yourself. Apple menu > Sleep, or closing a MacBook lid without an external display, skips the timers.
- A schedule exists.
pmset -g schedlists scheduled sleep events. - An app is holding it awake.
pmset -g assertionsshows which processes are keeping it up. Our guide to "sleep prevented by powerd" explains that output. - Your company manages the Mac. A managed Mac can have these settings fixed by IT.
When one fixed time doesn't fit
A short timer saves battery and interrupts long jobs. A long one does the reverse, every day. Shake It On lets you keep a short timer: it moves the cursor slightly, which restarts the countdown, only while your conditions hold. Plugged in, during your work hours, or while a chosen app is open. The rest of the time your Mac sleeps on its normal schedule.