How Long Until a Mac Goes to Sleep?

A Mac goes to sleep after its display-off timer runs out, and you can see that time in System Settings > Lock Screen. A MacBook has two timers, one on battery and one on the power adapter, so the answer changes when you unplug. Apple's Mac User Guide doesn't give a default time. The system usually follows soon after the screen goes off, unless "Prevent automatic sleeping" is on and the Mac is plugged in.

Check your Mac's sleep time

  1. Choose Apple menu > System Settings.
  2. Click Lock Screen in the sidebar. You may need to scroll down.
  3. 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 powerScreen off afterThen the system
MacBook on batteryBattery timer in Lock ScreenSleeps soon after the screen
MacBook on power adapterAdapter timer in Lock ScreenSleeps soon after, unless "Prevent automatic sleeping" is on in Battery > Options
iMac, Mac mini, Mac StudioTimer in Lock ScreenSleeps 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:

  • displaysleep is the display sleep timer in minutes.
  • sleep is 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 sched lists scheduled sleep events.
  • An app is holding it awake. pmset -g assertions shows 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.
Tip
Any mouse or keyboard input starts the countdown over. That's why a Mac never seems to sleep while you're using 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.

Keep your short sleep timer and stay awake when it matters. Shake It On is $9.99 once.

Frequently Asked Questions

What is the default sleep time on a Mac?
Apple's Mac User Guide doesn't state one. Check System Settings > Lock Screen to see the times your Mac is using, or run pmset -g custom in Terminal.
Does a MacBook sleep sooner on battery?
It does if the battery timer is shorter. "Turn display off on battery when inactive" and "Turn display off on power adapter when inactive" are separate settings. On battery, the "Prevent automatic sleeping" option doesn't apply either.
Why does my Mac sleep faster than the time I set?
Check which power source you changed, since a MacBook has a timer for each. Also run pmset -g sched in Terminal to look for scheduled sleep events. On a managed Mac, IT may set these values.
Keep your Mac awake the easy way.
Shake It On lives in your menu bar and uses organic mouse movement to prevent sleep. Set it once and forget it.
One-time purchase. No subscription. Free updates forever.
Lifetime license · macOS 14+
Apple Pay, Google Pay or card. Your download starts right after payment, and you can re-download anytime with your purchase email.