How do I address the M1 MacBook Air lid sensor issue? (it thinks the lid is always closed)

I’ve been experiencing a frustrating problem with my M1 MacBook Air where it constantly thinks the lid is closed, even when it’s fully open. This issue has been causing my MacBook to remain in sleep mode or not respond appropriately to opening and closing the lid. It’s particularly annoying because it disrupts my workflow and makes it hard to use my MacBook effectively. I’ve noticed that the screen sometimes doesn’t wake up or the MacBook goes back to sleep almost immediately after waking up. I’m not sure what might be causing this problem, and I worry it could be a hardware issue with the lid sensor. Has anyone else encountered this issue with their M1 MacBook Air?
4 Answers

What I found out was the issue was linked to one of the third-party apps I had installed. These applications can sometimes mess with system settings. Uninstalling or updating the app usually helps. In my scenario, the specific app causing the trouble was an energy management app. Once I removed it, the lid sensor issue was resolved.

Try checking the screen for any obstructions. I had similar issues shortly after installing a screen protector. It turned out the protector was interfering with the lid sensor. Removing the protector and ensuring the area around the lid sensor was clean fixed the issue. Sometimes, minor obstructions can cause significant problems.

Been through the same hassle with my M1 MacBook Air. I took it to an Apple service center and after a comprehensive diagnostic, they concluded it was a hardware fault with the lid sensor. Fortunately, it was covered under warranty, and they replaced the sensor, after which the MacBook functioned properly again. If you’re under warranty, that’s the best course of action.

Yes, I’ve definitely encountered the same problem with my M1 MacBook Air. What worked for me was performing a reset of the SMC (System Management Controller) and NVRAM. Sometimes, this can clear up strange behavior like the lid sensor issue you’re describing. Here’s how you can do it: Turn off your MacBook, and then hold down Shift + Control + Option + Power for 10 seconds. Release all the keys, and then turn your Mac back on.