Mac

How to stop a Mac from going to sleep

Photo of Abu Bakar Saadat

By

Author · View profile

Updated 14 October 2026 · Checked October 2026

Device: MacBook Neo · Software: macOS 27.0.1

Publisher: Saadat Rafiq

2 min read5 steps

macOS 27 compared with macOS 26: We rewrote steps 1, 2, 3, 4 and 5 to match the macOS 27 screens. The macOS 26 page keeps the steps and screenshots as they were.

howtosimply.com/guides/how-to-stop-a-mac-from-going-to-sleep/ · Checked October 2026 · MacBook Neo · macOS 27.0.1

In this guide
  1. Open System Settings
  2. Click Lock Screen
  3. Set the power adapter row to Never
  4. MacBook: switch on Prevent automatic sleeping
  5. Desktop Mac: look under Energy
  6. If you do not see this option
  7. If this does not work
  8. Good to know
  9. Sources
Quick answer

Open System Settings, click Lock Screen and set Turn display off on power adapter when inactive to Never or a longer time. On a MacBook, Apple says to also switch on Prevent automatic sleeping on power adapter when the display is off in Battery > Options.

3 of 5 steps with real screenshots · 2 official sources below

Device
Mac
Shown on
macOS 27.0.1 (MacBook Neo)
App
System Settings
Real screenshots
3 of 5 steps
Checked
October 2026
Sources
2 official, linked below

Step by step

Take this guide with you

Print it, or pick "Save as PDF" in the print window.

Steps
Also include
  1. Mac screenshot: Open System Settings
    Zoomed in on the setting. Tap to see the whole screenTap the picture to see it full size

    Open System Settings

    Click the Apple menu at the top left of the screen, then click System Settings….

  2. Mac screenshot: Click Lock Screen
    Zoomed in on the setting. Tap to see the whole screenTap the picture to see it full size

    Click Lock Screen

    Lock Screen is in the sidebar. On our MacBook Neo it sits between Screen Time and Privacy & Security.

  3. Mac screenshot: Set the power adapter row to Never
    Zoomed in on the setting. Tap to see the whole screenTap the picture to see it full size

    Set the power adapter row to Never

    Click the menu next to Turn display off on power adapter when inactive and choose Never, or a longer time. On our MacBook Neo the menu runs from For 1 minute to For 3 hours, then Never, and the setting was For 10 minutes.

    Turn display off on battery when inactive is the row above it; a shorter time there saves energy.

  4. MacBook: switch on Prevent automatic sleeping

    Apple says to click Battery in the sidebar, click Options… and switch on Prevent automatic sleeping on power adapter when the display is off. The MacBook then keeps working while plugged in, even with the screen dark.

  5. Desktop Mac: look under Energy

    Apple says an iMac, Mac mini or Mac Studio has no Battery page; the similar setting is under Energy in System Settings.

If you do not see this option

If this does not work

  • The display still turns off Check you changed Turn display off on power adapter when inactive and that the Mac is plugged in. The battery row is a separate setting.
  • The MacBook sleeps once the screen goes dark Apple says to switch on Prevent automatic sleeping on power adapter when the display is off under Battery > Options…. This only applies while the power adapter is connected. Source: Set sleep and wake settings for your Mac · Source: Change Lock Screen settings on Mac
  • The menu closes without changing anything Click Never in the open menu itself. The tick shows the current choice; on our MacBook Neo the tick sat on For 10 minutes while the menu was open.

About this guide

Two settings stop a Mac sleeping during a long download, backup or presentation: when the display turns off, and whether the Mac may sleep after that.

Screenshots: MacBook Neo, macOS 27.0.1, dark mode.

Good to know

These settings increase power use. Set them back when the long job is finished.

Which options appear depends on the Mac model.

On our MacBook Neo the Lock Screen page also holds Require password after screen saver begins or display is turned off, just below the two display rows.

In short: Apple menu > System Settings… > Lock Screen > Turn display off on power adapter when inactive > Never (MacBook: Battery > Options > Prevent automatic sleeping).

Sources

Links checked in October 2026. Menus and features can change after software updates. These steps match the version named at the top.

Did this guide work for you?