loader

To keep your MacBook on when you close the lid, go to System Preferences > Energy Saver. Then select the Power Adapter tab and set the Turn display off after slider to Never.

Note: To keep your MacBook running when you close the lid, you have to plug it into an external monitor. In addition to this, you’ll also need an external keyboard and a mouse.

  1. Open the Apple menu. You can access this by clicking the Apple icon in the top-left corner of your screen.
  2. Then choose System Preferences.
  3. Next, click Energy SaverThis is the button with the light bulb icon.
  4. Then click the Power Adapter tab. You will see this at the top of the window.
  5. Set the Turn display off after slider to Never.
  6. Connect your MacBook to a power source, an external keyboard, a mouse, and an external monitor.
  7. Finally, close your MacBook lid to see if it’s still on.