Does your Mac’s screen have a habit of going dark just when you’re about to type out a brilliant idea? Trying to save your MacBook’s battery power? Find out here how to change (extend or shorten) the screen timeout on a Mac ⤓ and choose how long your Mac waits before turning off the display automatically.
On This Page
How to Change the Screen Timeout on a Mac Laptop
⚡ Quick Fix
Open Lock Screen in System Settings and set the delays for Turn display off on battery after: as well as Turn display off on power adapter after:.
To keep the display on indefinitely, choose Never.
Time needed: 4 minutes
To change the timeout for a screen to turn off on a Mac laptop (such as MacBook, MacBook Air or MacBook Pro):
- Open System Settings (Preferences) on the Mac.
Here’s how: Select the Apple logo in the menu bar, for example, and choose System Settings… from the menu.
- Go to the Lock Screen section.
- Under Turn display off on battery after:, choose the delay after which you want the display to turn off automatically after no action when you use the built-in battery.
No action: No action means no keyboard, mouse, trackpad or video playback activity; see below for identifying applications that prevent the display from turning off on your Mac.
Which to pick: A good screen timeout while using battery is 2–5 minutes. - Now choose the screen timeout delay for when the laptop is plugged in to a power source under Turn display off on power adapter after:.
Never sleeps: Choose Never to prevent having the screen turned off automatically at all (unless the Mac goes to sleep or hibernation, of course).
Which to pick: On power, choose a timeout between 10 and 15 minutes.
Their word: Apple include information on screen timeout settings in the Mac User Guide.
Change the Screen Timeout on macOS 12 Monterey and Earlier
To shorten or lengthen the screen timeout on a Mac running macOS 12 Monterey and earlier:
- Select System Preferences… from the Apple logo menu ().
- Go to the Battery section.
- Select, again, Battery on the left.
- Under Turn display off after:, choose the display delay while running on battery power.
- Now choose Power Adapter on the left.
- Again, choose the screen timeout delay, this time for running on A/C power under Turn display off after:..
How to Change the Screen Timeout on a macOS Monterey Desktop
To change when a display turns off automatically (independently from — but always sooner than — the computer going to sleep or hibernation) on a desktop Mac (such as an iMac):
- Select System Preferences… from the Apple menu.
- Open the Energy Saver category.
- Pick the desired time of inactivity before the screen turns off under Turn display off after:.
- Close the preferences window.
How to Change the Screen Timeout on a Mac: FAQ
How can I find out what is preventing my Mac display from turning off?
To find out what is preventing your screen from going to sleep (even though you are not moving the mouse cursor, typing, touching a trackpad, etc.):
- Open Terminal.
Here’s how: Press Command Space for Spotlight search, start typingterminaland select Terminal from search results. - Type
pmset -g | grep "displaysleep". - Press Enter.
- Find the applications that prevent the screen from turning off listed under (display sleep prevented by <>).
No “display sleep prevented”: If there are no processes keeping the display on, you will not see a comment about sleep being prevented, just the current display timeout value listed following displaysleep).
This does not show exactly how the application is preventing display sleep. Most likely, it is something like video playback in the foreground. If a program has gotten stuck in a state that prevents your screen from turning off, you can always force quit the application on your Mac.
Can I turn off the display before the timeout is reached?
Yes.
You can always turn off your Mac screen manually.
Can I prevent display sleep on my Mac (without changing the screen timeout)?
Yes.
You can prevent your Mac from sleeping and keep the display turned on permanently, say for a presentation, using the command line.
To stop a Mac from turning the display off:
- Open Terminal.
How: See above for launching the Terminal application - Type
caffeinate -d. - Press Enter.
- With caffeinate running, press Control C to end the block and return to the regular display timeout.
Countdown: You can also add a countdown timer to the command with-t <seconds>.
Example: Usecaffeinate -d -t 18000to keep the display on for 5 hours.
(Tested with macOS Golden Gate 27, Tahoe 26, Sequoia 15, Sonoma 14, Ventura 13 and Monterey 12; first published March 2022, last updated October 2026)