Skip to content
86% off$349 $48.86code BF2026

Guides

MacBook Air Sleeps Every 10 Seconds When Plugged In: Fixes

MacBook Air sleeping every 10 seconds on power, or an M2 MacBook Pro screen cutting to black? Check for magnets, read the sleep log, run Apple Diagnostics.

GuideUpdated 6 min read

On this page

You plug in your MacBook Air and it goes to sleep every 10 seconds or so, even though the lid is open. Some people also see it power off on battery. A related report involves an M2 MacBook Pro whose display keeps cutting to black while nothing else seems wrong. These look like two problems, but they share the first check and the same route to Apple.

Why it happens

Apple doesn't publish a single cause for this symptom, so treat the list below as likely causes, not a diagnosis.

  • A magnet near the lid edge. Laptops sense a closed lid magnetically. On a Reddit thread about this exact symptom (39 comments, with the Mac also shutting down on battery), replies kept pointing at "something magnetic near the lip." Magnetic cases, stands, MagSafe-style chargers and phone mounts are the usual suspects.
  • A faulty or stuck lid sensor. If a sensor reports "closed" when it isn't, the Mac sleeps almost immediately. Apple's page on Lid Angle Sensor repair describes the opposite failure (the Mac doesn't notice the lid closing), which shows the lid is monitored by a sensor that can fail. It doesn't describe your symptom, so I can't say this is the cause.
  • A power or battery problem. A Mac that shuts down on battery, rather than sleeping, points toward the battery or power delivery.
  • A display or display-cable fault. If the screen goes black but the Mac keeps running, the problem is the panel or its connection, not sleep.
  • Software or settings. Sleep timers, background processes and startup items can cause unexpected sleep. Apple covers these in its article on a Mac that sleeps or wakes unexpectedly, but a sleep every 10 seconds is much faster than any timer.
SymptomLikely causeStart with
Sleeps within seconds on power, wakes with a key pressMagnet or lid sensorMagnet check, then the log check
Sleeps on power, powers off on batteryLid sensor plus battery or powerMagnet check, battery health, Apple
Screen black but sound or a download continuesDisplay or its cableDisplay section
Screen black and the whole Mac unresponsiveHardware or power faultLog check, Apple Diagnostics

Fix 1: Remove magnets and test the bare Mac

This costs nothing and takes a few minutes.

  1. Unplug USB hubs, docks and other accessories.
  2. Take off any hard-shell case, skin, keyboard cover, magnetic privacy screen or magnetic webcam cover.
  3. Clear the desk around the Mac. Look for magnetic stands, speakers, phone mounts, MagSafe chargers and magnetic organizers near its edges.
  4. Move the Mac to a bare table or another room.
  5. Plug in the charger and use the Mac normally for a few minutes.

If the sleeping stops, add accessories back one at a time until it returns. The last one you added is the cause.

Fix 2: Read why the Mac slept

macOS logs a reason for each sleep. This command only reads the log, so there is nothing to undo. Run it in Terminal right after a sleep event.

bash
pmset -g log | grep -i -E "sleep|wake" | tail -n 30

It prints the 30 most recent sleep and wake lines. A reason mentioning "Clamshell" points at the lid sensor. An idle or timer reason points at settings, and Mac keeps going to sleep: causes and fixes covers those. Save the output; Apple will find it useful.

Fix 3: Rule out software

None of these is likely to fix a hardware fault, but they are quick.

  1. Restart the Mac. On an Apple silicon Mac, Apple says a restart is all the SMC reset you need. On other Macs, Apple has an SMC reset article for your model.
  2. Install updates. Open System Settings and search for "Software Update".
  3. Try another cable and adapter. A flaky charger can look like a power problem.
  4. Start in Safe Mode. On Apple silicon, shut down, then press and hold the power button until startup options appear. Choose your startup disk, hold Shift and click Continue in Safe Mode. On an Intel Mac, hold Shift while it starts. If the fault disappears in Safe Mode, software is involved. If it persists, hardware is more likely.

Apple's article on a Mac that sleeps or wakes unexpectedly also suggests checking sleep settings and watching for a process using the CPU in Activity Monitor (If your Mac sleeps or wakes unexpectedly).

Fix 4: Check battery health if it powers off on battery

A Mac that shuts off, rather than sleeps, when unplugged may have a battery or power-delivery fault. Open System Settings, search for "Battery" and look for Battery Health. The status reads Normal or Service Recommended. If it says Service Recommended, tell Apple.

Fix 5: The screen cuts to black but the Mac is still on

On an M2 MacBook Pro, first find out whether the Mac is asleep or only the display has dropped out. Start music or a download, then wait for the next blackout. If the sound or download carries on while the screen is black, the Mac is awake and the display is the problem.

  1. Do the magnet check above. A false "lid closed" signal could blank the built-in display.
  2. Open System Settings, search for "Displays" and turn off automatic brightness for a day or two. See whether the blackouts change.
  3. Disconnect external displays and hubs so only the charger is attached.
  4. Connect an external monitor. If it stays steady while the built-in screen still cuts out, the internal display or its cable is the likely fault. That needs a repair from Apple or an authorized service provider.

People on a Reddit thread about the M2 MacBook Pro report that nothing they tried at home fixed it. Treat that as a reason to move to Apple sooner, not to keep resetting settings.

Fix 6: Run Apple Diagnostics

Apple Diagnostics helps find which hardware component might be at fault. Apple's steps (Use Apple Diagnostics to test your Mac):

  1. Install the latest macOS updates if you can, then shut down.
  2. Disconnect everything except keyboard, mouse, display and AC power.
  3. Put the Mac on a hard, flat, stable surface with good ventilation.
  4. On Apple silicon, press and hold the power button (Touch ID on laptops) until you see Options, then release it.
  5. Press and hold Command (⌘)-D until the Mac restarts.
  6. On an Intel Mac, hold D as the Mac starts instead, or Option-D if that doesn't work.
  7. Note the reference code. On macOS Tahoe 26 and later you choose a specific test, such as the built-in display.

Apple says to give the reference code to an Apple Authorized Service Provider, Apple Store or Independent Repair Provider. Apple Diagnostics doesn't check macOS or software problems, so a clean result doesn't clear your software.

Checklist before you contact Apple

  • All cases, covers, stands and magnetic accessories removed
  • Tested on a bare surface with only the charger attached
  • Restarted and updated macOS
  • Tried a different cable and adapter
  • Tested in Safe Mode
  • Saved the pmset log output
  • Noted the Apple Diagnostics reference code and Battery Health status

If nothing works

Contact Apple Support or book an Apple Store or authorized provider visit through support.apple.com. Include your model and year, whether it happens on power, battery or both, that you tested the bare Mac, whether Safe Mode changes anything, and the reference code. Here is a message you can adapt:

text
My MacBook Air (model and year) goes to sleep about every 10 seconds
when plugged in, with the lid open. It also powers off on battery.
(For the display issue: my M2 MacBook Pro's built-in screen repeatedly
cuts to black.)

What I've tried:
- Removed all cases, covers and magnetic accessories, tested on a bare surface
- Restarted, updated macOS, tried another cable and adapter
- Safe Mode: (same / different)
- Apple Diagnostics reference code: (code)
- Battery Health: (Normal / Service Recommended)
- pmset -g log shows sleep reasons: (paste a few lines)

Please advise on service.

Common questions

Can a magnet really make a MacBook sleep with the lid open?

Users report it, and it fits how laptops detect a closed lid, but Apple doesn't document magnet interference for this symptom. That's why the bare-Mac test is worth doing before you book a repair.

Will a keep-awake app stop this?

No. Keep-awake apps block idle sleep. A false lid-closed signal or a display fault is a hardware problem, so fix that first.

Does the SMC reset matter on a MacBook Air with Apple silicon?

No. Apple says to restart an Apple silicon Mac. Only Intel Macs have a separate SMC reset procedure.

Is this covered by warranty?

It depends on your coverage and the Mac's condition. Ask Apple when you contact them, and bring the reference code.

Every app.
One purchase.