back to top
iGBHow-toHow to Keep MacBook from Sleeping With Lid Closed

How to Keep MacBook from Sleeping With Lid Closed

You may want to keep Mac from sleeping when you are downloading big files, performing Time Machine backup, rendering a video file, and in other similar situations. Doing this is easy. You can use the macOS System Preferences, use third-party apps, or use the Terminal. But what if you want to prevent MacBook from sleeping even when you close its lid?

Well, this is also quick and easy. There are two straightforward ways to keep the MacBook from sleeping with lid closed. First is to use an external display, and the second method requires a third-party app. Let us dig in and see both.

Keep MacBook from Sleeping Using an External Display

Things you required: An external display or projector, wired or wireless mouse and keyboard, and charging adapter.

  1. Plug in the charging adapter to your MacBook
  2. Connect (or pair) an external mouse and keyboard
  3. Connect a monitor or projector to your MacBook
  4. If you use wireless mouse and keyboard, click on the Apple logoSystem Preferences.Click on Apple Menu and Select System Preferences on Mac
  5. Click on Bluetooth.Click on Bluetooth in System Preferences on Mac
  6. Now, click on Advanced.Click on Advance in Bluetooth on Mac
  7. Make sure tick the box for Allow Bluetooth devices to wake this computer and then click on OK.Turn On Allow Bluetooth Devices to Wake This Computer
  8. You will see your MacBook’s screen on the external display. Go ahead and close the MacBook’s lid.

Now, the screen on the external monitor may flash or even turn off. To fix this, press any key on the connected keyboard or shake your mouse. The screen will turn back on.

Note: In step 1, I asked you to connect your MacBook to a power source. But if you have a compatible monitor like the LG UltraFine 5K, then there is no need to do so as it will also simultaneously charge your MacBook with the same single cable.

Prevent MacBook from Sleeping Using InsomniaX App

This is the simplest and the quickest method to keep your MacBook awake even if you close the lid.

  1. Download InsomniaX on your Mac. (2.6 MB)
  2. Locate the downloaded file and double click to uncompress it
  3. You will see Double click to open it. Select Open from the popupOpen InsomniaX App on MacTip: Drag the app from the Downloads folder to the Applications folder.
  4. Click on Agree.Click on Agree to Install InsomniaX on Mac
  5. From the top menu bar, click on the InsomniaX app icon and finally click on Disable Lid Sleep. Enter your MacBook’s password if asked.InsomniaX App icon and Select Disable Lid Sleep
  • To check that the app really works: Open Music app or YouTube and play a song. Now, close your MacBook’s lid. You will find that the song keeps playing even with the lid closed!
  • To stop: Follow the above steps and click on Disable Lid Sleep
  • If you face problems: Force Quit the app, restart the Mac, and try again

That’s all, folks!

Signing off…

These were the two simplest ways to keep your portable Mac from sleeping with its lid closed. Which method excites you the most? For me, it is the second one. Share your opinion in the comments down below. If you have an alternative to the InsomniaX app, please mention that too.

You may like to take a quick peek at…

  • Suraj

    Suraj is an operations head on the iGB team. He contributes to the social media section along with tips and tricks for iPhone, Apple Watch. Apart from blogging, he likes to work out as much as he can in his gym and love to listening to retro music.

    View all posts


Please enter your comment!
Please enter your name here

Related Articles