On this page

Quick answer

Your Mac may stay awake because an app, Bluetooth device, external display, or sleep setting is blocking sleep. First, save your work, disconnect accessories, close active apps, and try Sleep from the Apple menu. If closing the lid does not start sleep, shut down and follow the checks below.

At a glance

Time
15–45 min
Difficulty
Moderate
You'll need
Mac access, charger, and access to System Settings
Cost
Free for settings and software checks; service cost if hardware is damaged
Works on
Mac desktops and MacBook laptops running macOS
Not covered
Internal repairs, liquid damage, or failed power and display hardware

Why won’t my Mac go to sleep?

macOS sleep is a request to suspend normal activity while keeping your session available. When the system honors it, the display turns off and most background work pauses. A dark display can also mean only the screen or screen saver is off, so confirm that the whole Mac is sleeping instead of assuming the two states are the same.

Sleep can be blocked or altered by an app that is playing media, handling a call, running a transfer, sharing the screen, or waiting for an answer to a dialog. Power options can also keep a Mac awake on AC power, and an external-display setup can change how a closed MacBook behaves. Hardware problems are less common, but a misread lid sensor or damaged display can mimic a software failure.

Waking is a separate issue. A Bluetooth mouse, network wake setting, scheduled power event, alarm, update task, or remote session can wake a Mac after it has slept. If the Mac never enters sleep, start with the manual test and app checks. If it sleeps but wakes too soon, focus on wake sources and the lid or external-display setup.

Before you start

Save your work and back up important files before changing settings or restarting. If a step calls for a shutdown or power disconnection, complete that step before continuing. Do not open the Mac, touch internal wiring, or work on a wall outlet. If liquid may be inside the Mac, disconnect power if safe, do not switch it on, and arrange professional inspection.

Have the following ready:

  • Access to the Mac’s power adapter and built-in keyboard or trackpad
  • A list of recently opened apps, active calls, transfers, and cloud services
  • Access to System Settings and, when testing startup behavior, the login window
  • Any external display, dock, hub, keyboard, mouse, or headset you normally use

Tip: Change one setting or disconnect one group of accessories at a time. Otherwise, you may not know which action fixed the problem.

Step 1 Try Sleep and identify the trigger

Why this works: A manual sleep request separates a general sleep problem from a problem that happens only when the lid closes or only after the Mac has already slept.

  1. Save every open document and close any dialog that is waiting for an answer.
  2. Open the Apple menu and choose Sleep.
  3. Watch whether the display turns off and whether the Mac stops responding to normal input while the screen is dark.
  4. If the display turns off but wakes when you move the mouse or press a key, note that behavior. It points toward the wake-source checks in Step 3.
  5. If Sleep does nothing, continue through the app, accessory, setting, and restart checks below.

How to tell it worked: The manual test should put the Mac to sleep. If it works from the Apple menu but closing the lid fails, focus on Steps 3, 4, and 8. If manual Sleep also fails, start with Step 2.

Step 2 Close apps and background activity

Why this works: An active app can keep the Mac awake, delay display sleep, or create a wake event. Quitting the responsible app removes that request without changing unrelated settings.

  1. Quit apps that are playing audio or video, handling a call, sharing your screen, recording, or running a virtual machine. Use each app’s normal Quit command rather than forcing it closed.
  2. Check your browser for tabs or windows playing media, running downloads, or using a web app that requires a continuous connection.
  3. Pause large syncs, backups, file transfers, video exports, and other jobs that you do not need running during the test.
  4. End active remote-control, screen-sharing, and server sessions. If you are not sure whether one is active, check the app’s menus or stop the session you started.
  5. Open Activity Monitor and view the Energy and CPU tabs. Look for sustained activity, but do not assume the busiest app is the cause; an app can use resources without preventing sleep.
  6. Choose Sleep from the Apple menu again. Then repeat the test with the lid closed if you are testing a MacBook.

How to tell it worked: If closing one app restores normal sleep, leave that app closed while you continue testing. If it remains awake, reconnect with the accessory and setup checks.

Step 3 Disconnect accessories and test the display setup

Why this works: External devices can keep a MacBook awake, trigger an immediate wake, or create a supported closed-display setup that intentionally leaves the Mac running. Disconnecting them helps separate those cases from a software or hardware fault.

  1. Save your work and disconnect every nonessential accessory, including external displays, docks, hubs, external storage, microphones, capture devices, and USB peripherals.
  2. Turn off Bluetooth from Control Center or System Settings. Use the built-in keyboard and trackpad during the test so you are not left without a way to wake or control the Mac.
  3. Try Sleep from the Apple menu with the accessories disconnected.
  4. For a MacBook, close the lid without an external display connected. Do not press or hold the lid in a partially closed position.
  5. If the Mac sleeps but wakes when you move an input device, reconnect that device one at a time and note which one causes the wake.
  6. After testing, reconnect the power adapter and then your usual accessories one group at a time.

MacBook closed-display setups

On MacBook models that support closed-display mode, a Mac connected to power and an external display may stay awake intentionally while the lid is closed. This can look like a sleep failure even though the computer is operating as designed. If you do not want that behavior, disconnect the external display before closing the lid or shut the Mac down instead.

How to tell it worked: If sleep returns after a device or display is disconnected, you have identified the trigger. A mouse or keyboard that wakes the Mac after sleep usually does not prevent the initial sleep, so test those conditions separately.

Step 4 Correct the sleep and wake settings

Why this works: macOS includes options that can prevent automatic sleep, permit network or Bluetooth wakeups, and schedule repeating power events. These controls are often the fastest fix when the Mac works normally until a particular setting changes.

  1. Open System Settings, then choose Energy Saver on a Mac desktop or Battery on a Mac laptop. Some related options may appear under Lock Screen, depending on the installed macOS version.
  2. Find the option labeled “Prevent automatic sleeping on power adapter when display is off” or wording similar to it. Turn that option off if you want the Mac to sleep while connected to power.
  3. On a Mac desktop, look for “Prevent automatically sleeping when display is off” under Energy Saver and turn it off.
  4. Find “Wake for network access” and the Bluetooth wake option. Turn off either setting if you do not want the Mac to wake for that source.
  5. Keep display and screen-saver timers separate from system sleep. A setting that turns off the display does not necessarily put the entire Mac to sleep.
  6. Test Sleep from the Apple menu, then close the lid on a MacBook and observe whether it stays asleep.

If the Mac wakes on a regular schedule

Open Terminal and run pmset -g sched to list scheduled sleep and wake events. If you see a repeating event you did not want, review it and run sudo pmset repeat cancel to cancel repeating power schedules. macOS may request your administrator password. Do not run schedule commands copied from an unfamiliar source.

Tip: Disabling network or Bluetooth wakeups can change remote-access and automation behavior. Re-enable a setting if you rely on that function and want the Mac to respond while it is sleeping.

How to tell it worked: The Mac should now sleep despite the display being off or the lid being closed. It should also remain asleep unless you deliberately wake it with an allowed input or network event.

Step 5 Restart, shut down, or reset power management

Why this works: A restart clears stuck processes and software state. A full shutdown clears more of that state. Intel Macs also have a user-resettable system management controller that controls some power, sleep, and wake functions.

  1. Save your work and choose Restart from the Apple menu.
  2. Wait for the Mac to finish restarting, reconnect your usual accessories, and test sleep again.
  3. If the problem remains, choose Shut Down from the Apple menu. Wait until the Mac is fully off and any spinning activity has stopped, then start it and repeat the test.
  4. If the Apple menu is unavailable because the Mac is frozen, hold the power button until the Mac turns off, wait briefly, and start it again. Use this only when the normal menu command is unavailable.

Reset the system management controller on an Intel Mac

  1. Save your work and choose Shut Down.
  2. Press and hold the left Shift, Control, and Option keys along with the power button for 10 seconds.
  3. Release all the keys, then press the power button to start the Mac.
  4. After the Mac finishes starting, test Sleep from the Apple menu and the lid-close behavior.

If you have an Apple silicon Mac

Do not use the Intel key combination on an Apple silicon Mac. Repeat the normal restart and full-shutdown tests. If the sleep problem remains, continue through Safe Mode, the clean-account test, and the lid checks before arranging service.

How to tell it worked: If the Mac now sleeps normally, the issue was temporary software or power-management state. If nothing changes, do not repeat the reset repeatedly; continue with the remaining checks.

Step 6 Update software and test in Safe Mode

Why this works: A macOS or app update may correct a known sleep or wake problem. Safe Mode limits startup items and services, so a change in behavior there helps identify third-party software as the likely cause.

  1. Open System Settings, choose General, and select Software Update.
  2. Install any available macOS update and restart when prompted. Also open the App Store, select Updates, and install pending app updates, especially for Bluetooth, virtual-display, security, audio, or remote-access software.
  3. Retest Sleep and the lid-close behavior after the updates finish.
  4. If the problem remains, use Safe Mode for a clean startup test instead of continuing to add or remove software at random.

Start an Intel Mac in Safe Mode

Restart the Mac and hold the Shift key until the login window appears. Release Shift when the startup process begins. Test Sleep from the Apple menu, then close the lid if you are checking a MacBook.

Start an Apple silicon Mac in Safe Mode

Shut the Mac down, press and hold the power button until the startup options appear, select the startup disk, hold Shift, and choose Continue. After the login window appears, test Sleep and the lid behavior.

How to tell it worked: If the Mac sleeps only in Safe Mode, a startup item, extension, background service, or driver is likely involved. Restart normally and test the startup items in Step 7. If Safe Mode does not change the behavior, continue with the remaining checks.

Step 7 Disable startup items and test a clean account

Why this works: Login items, background utilities, browser helpers, virtual-display tools, and user-specific settings can continue running without appearing on screen. Disabling them or testing a new account reveals whether the problem follows the Mac or the current profile.

  1. On current macOS, open System Settings, choose General, and select Login Items & Extensions. On older macOS, open System Preferences, choose Users & Groups, and use the Login Items list.
  2. Turn off items you do not need at login, such as cloud-sync utilities, backup tools, virtual machines, screen recorders, VPN clients, audio apps, or menu-bar utilities. Disabling an item is safer than deleting it immediately.
  3. Review any background-app controls and turn off background activity for software that does not need to run continuously.
  4. Restart the Mac and test sleep. If it works, re-enable the items in small groups to identify the one that restores the problem.
  5. Update or remove the offending software using the developer’s instructions. If you cannot identify it, leave it disabled until support can inspect the affected files or settings.

Test with a temporary administrator account

  1. Open System Settings and choose Users & Groups.
  2. Add a temporary administrator account. Do not delete or replace your current account.
  3. Log out and sign in with the temporary account, then test Sleep and the lid.
  4. If the Mac works under the new account, compare login items, installed apps, and user settings with the original account.

How to tell it worked: If one disabled item restores the fault, you have a likely software cause. If only the clean account works, keep using it temporarily and have support help compare the affected account settings.

Step 8 Check the lid, display, and sleep behavior

Why this works: A MacBook normally enters sleep when its lid closes. If the display works with the lid open but not with it closed, the lid sensor, hinge, cable, or display assembly may be involved rather than macOS itself.

  1. For a MacBook, shut it down, unplug the power adapter, and disconnect accessories before inspecting the lid.
  2. Look along the lid edge and keyboard deck for debris, stickers, or an object that keeps the lid slightly open. Remove loose debris and wipe the edge with a dry, soft cloth. Do not pry the lid, bend it, or open the case.
  3. Reconnect only the power adapter and close the lid normally without holding or pressing it. Do not use pressure to force sleep.
  4. Test again without an external display. Test on battery power only if the battery has enough charge for a safe test.
  5. Open the lid and confirm that the built-in display still works. If it works open but not closed, run the built-in Apple Diagnostics available for your Mac and follow the on-screen instructions.
  6. If moving the lid even slightly changes the result, stop adjusting it and arrange service for the lid sensor or display assembly.

If you use a Mac desktop or external display

There is no lid sensor to inspect. Check whether only the display turns off while the Mac remains active, then disconnect the external display, dock, and other peripherals one at a time. Use the automatic-sleep settings in Step 4 to control whether the computer sleeps when the display is off.

How to tell it worked: If the Mac sleeps normally after clearing debris or changing the display setup, continue with that configuration. If the lid position consistently affects sleep, or the display flickers as the lid moves, the problem likely requires service.

Symptom checker

What you notice Likely cause Fix (step number)
The lid closes, but the display stays on An active app, automatic-sleep setting, or external-display setup Steps 2, 3, and 4
The display turns off, but the Mac wakes when touched A mouse, keyboard, trackpad, or other permitted wake source Steps 3 and 4
The Mac wakes immediately after sleeping Bluetooth activity, network wake, a scheduled event, or an active session Steps 2, 3, and 4
The Mac wakes whenever the mouse moves A connected or paired Bluetooth pointing device Step 3
The Mac sleeps on battery but not on AC power An automatic-sleep option is enabled for the power adapter Step 4
The Mac stays awake only with an external display An intentional closed-display setup or display-specific software Steps 3 and 7
Audio, calls, transfers, or screen sharing continue An application is requesting active use Step 2
Safe Mode sleeps normally A startup item, extension, driver, or background utility Steps 6 and 7
A new user account sleeps normally A user-specific setting, login item, or profile conflict Step 7
The display works with the lid open but not closed A lid sensor, hinge, internal cable, or display-assembly problem Step 8
The Mac wakes whenever the lid opens Normal MacBook lid-open behavior Step 8

Mistakes that make it worse

  • Assuming a dark display means the entire Mac is asleep; display sleep and system sleep are different states.
  • Changing several settings at once, which makes it impossible to tell which change altered the behavior.
  • Leaving a charger, external display, dock, or Bluetooth device connected while claiming that you tested a bare Mac.
  • Installing unknown sleep helpers, disabling security controls, or deleting system files suggested in an unfamiliar forum post.
  • Pressing hard on the lid, leaving it partly open, or opening the Mac to reach the lid sensor or internal wiring.
  • Repeatedly forcing restarts without noting which action changed the behavior, which makes support diagnosis harder.

When to call a professional

  • If liquid entered the Mac, keep it disconnected from power and have a service professional inspect it before using it again.
  • If the lid is cracked, bent, stuck, or the display flickers when the lid moves, stop pressing on it and arrange MacBook display or lid service.
  • If you suspect internal wiring, a damaged power connector, a burned component, or a failed logic board, do not open the case. Call Apple Support or an authorized service professional.
  • If the power cord or wall outlet is hot, scorched, sparking, loose, or visibly damaged, stop using it and have a qualified electrician or service provider inspect the electrical connection.
  • If the Mac repeatedly crashes, freezes before reaching the login window, or still cannot sleep after updates and Safe Mode, contact Apple Support or a qualified Mac repair service.
  • If the Mac belongs to an organization, follow the organization’s support policy and do not change managed login, security, or energy settings without administrator approval.

How to keep it from happening again

  • Keep macOS and regularly used apps updated.
  • Review login items and background utilities whenever you install a new app or system extension.
  • Keep automatic-sleep, network-wake, and Bluetooth-wake settings aligned with how you use the Mac.
  • Update or remove software that repeatedly interferes with sleep, and avoid running unnecessary media, transfer, or remote-access tools overnight.
  • After major system updates, restart and test sleep once so problems do not go unnoticed.
  • Keep the lid edge clean and arrange service if physical lid or display symptoms appear.

Frequently asked questions

How do I force my Mac to sleep?

Open the Apple menu and choose Sleep after saving your work. If that command does not work, restart or shut down the Mac instead; forcing macOS applications closed does not reset sleep management.

Why does my MacBook stay awake with the lid closed?

First disconnect any external-display setup and close active apps, then check the automatic-sleep setting. If the lid is unobstructed and the Mac still stays awake only with the lid closed, the lid sensor or display assembly may need service.

Why does my Mac wake immediately after sleeping?

Turn off Bluetooth and disconnect mice, keyboards, and headphones, then check the network and Bluetooth wake settings. Active alarms, remote sessions, downloads, or software updates can also trigger activity, so note whether the wake repeats.

How do I stop my Bluetooth mouse from waking the Mac?

Turn off Bluetooth or use the device settings to disable the option that lets it wake the computer. If the device has no such option, disconnect it or turn off Bluetooth before sleeping.

Can I leave my MacBook plugged in and close the lid?

Yes. A MacBook normally sleeps when you close the lid, even while connected to power, unless you are intentionally using a supported closed-display setup with an external display.

When should I reset the SMC?

Reset the SMC only after a normal restart and shutdown do not help; the keyboard-key procedure applies to Intel Macs. Apple silicon Macs do not have a user-resettable SMC, so use the update, Safe Mode, and accessory checks before seeking service.

What this guide is based on

Revision history

  1. Updated and re-checked against sources.
  2. First published.

Did this fix it?

Mixtvnowcom.org editors Editorial team

The Mixtvnowcom.org editors write and check every guide on the site against the manufacturer instructions and official sources it lists, and keep each guide's revision history up to date.

More guides from the editors