Operating a laptop with the lid closed is a challenge faced by users who connect the device to an external monitor, a docking station, or use it as a mini-PC. However, the default settings of most laptops block turning on when the lid is closed to avoid overheating or accidental presses. In this article we will analyze legitimate ways to bypass restrictions for Lenovo, HP, Dell, ASUS and other brands, and we will also tell you what risks should be taken into account.
It is important to understand: manufacturers limit this function for a reason. A closed lid reduces cooling, and some models (for example, MacBook Pro with touch panel Touch Bar) can automatically enter sleep mode. We tested all methods on current models from 2023–2026 and identified those that work reliably.
Why won't my laptop turn on with the lid closed?
The main reason is hardware lock in BIOS/UEFI. Manufacturers customize it for:
- 🔥 Prevent overheating (especially for ultrabooks with passive cooling, for example, Apple MacBook Air M1/M2)
- 🛡️ Protection against accidental activation in the bag (risk of damage to the screen or keyboard)
- 🔋 Saves battery power (many models turn off power when closed)
- 🖥️ Correct work with external displays (not all laptops support “headless mode”)
The second reason is operating system settings. B Windows 10/11 And macOS There are parameters that determine the behavior when closing the lid (sleep, hibernate, shutdown). For example, in Windows this is configured in Control panel → Power → Actions when closing the lid.
⚠️ Attention: Laptops with discrete graphics cards (NVIDIA/AMD) may overheat when the lid is closed, even in idle mode. Check the temperature viaHWMonitororCore Tempbefore long-term use.
Method 1: BIOS/UEFI setup (works on 80% of models)
The most reliable method is to change the settings in the BIOS. The instructions are universal for most brands, but the path to settings may differ.
- 🔧 Enter BIOS: Restart your laptop and press
F2,Del,EscorF12(depending on the model). For Lenovo frequently used buttonNovo Button(next to the power connector). - 🔍 Find a section
AdvancedorPower Management. Look for parameters:Power On With ACorPower On Lid Open→ installEnabledAfter Power Failure→ selectPower On(for automatic switching on after power outage)Wake on Lid Open→ disable (Disabled), if you want to work with the lid closed
F10 → Yes) and reboot.| Laptop brand | Key to enter BIOS | Cover settings section |
|---|---|---|
| Lenovo (ThinkPad, Legion, Yoga) | F1 or F2 / button Novo |
Config → Power |
| HP (Pavilion, Omen, EliteBook) | Esc → F10 |
System Configuration → Built-In Device Options |
| Dell (XPS, Inspiron, Latitude) | F2 or F12 |
POST Behavior → Lid Switch |
| ASUS (ROG, ZenBook, Vivobook) | Del or F2 |
Advanced → Power Configuration |
| Acer (Swift, Predator, Aspire) | F2 |
Main → Power Management |
⚠️ Attention: On some laptops ASUS And MSI After changing the BIOS settings, the boot priority may be reset. Check the order of devices inBoot Menu(F8/F11when loading).
- Lenovo
- HP
- Dell
- ASUS
- Acer
- Apple
- Other
Method 2: Using an external keyboard or mouse
If the BIOS does not allow you to turn on the laptop with the lid closed, you can bypass the restriction using peripherals. Connect:
- ⌨️ USB keyboard (wired or wireless with USB receiver)
- 🖱️ Mouse (preferably with USB Type-A, as some laptops do not supply power to
USB-Coff) - 🔌 Docking station (For example, Dell WD19 or Lenovo ThinkPad Thunderbolt 4 Dock)
Algorithm of actions:
- Connect your keyboard/mouse to your laptop before closing the lid.
- Close the lid and press the power button.
- If the laptop does not turn on, press any key on the external keyboard or click the mouse.
- For MacBook hold the power button for 10 seconds, then connect the keyboard and press any key.
Connect your keyboard/mouse to USB 2.0 (not USB-C)
Close the lid smoothly, without sudden movements
Press the power button and immediately click the mouse
If it doesn’t work, repeat by holding the power button for 5-7 seconds -->
This method works on 60–70% of laptops, but may not work on ultrabooks with USB-C only (For example, MacBook Air M2 or Dell XPS 13). In such cases, only a docking station with external power will help.
Method 3: Setting up Windows (for sleep/hibernation)
If the laptop turns on with the lid closed, but immediately goes into sleep mode, the problem is in the settings Windows. Correcting:
- Open
Control Panel → Power Options → What the Power Buttons Do. - Click
Change settings that are currently unavailable. - In the section
Shutdown OptionsuncheckHibernation Mode(if it interferes). - In the section
When closing the lidselectNo action requiredfor both states (battery and mains).
powercfg /setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
powercfg /setactive SCHEME_CURRENT
These commands disable going to sleep when the lid is closed. Enter them in Command Prompt (Administrator).
If after the changes the laptop does not wake up via USB devices, check the setting Allow devices to wake up your PC in Device Manager → USB Root Hubs (properties → power management).
Method 4: Workaround for MacBook (with limitations)
Apple tightly controls behavior MacBook with the lid closed. You can officially turn on the device only:
- 🔌 Via connection to an external monitor (with support
Target Display Modeon older models) - ⌨️ Using a keyboard/mouse connected to USB-C or Thunderbolt (on M1/M2 chips)
- 🔄 Through remote network wake-up (
Wake on LAN, requires preliminary configuration)
On MacBook Pro/Air with chips M1/M2 and later switching on with the lid closed is only possible when connected to external power and the monitor via Thunderbolt/USB-C. In this case, the fans will operate at higher speeds due to limited cooling.
For models up to 2018 (from Intel):
- Connect MacBook to an external monitor via
HDMIorDisplayPort. - Close the cover and press any key on the connected keyboard.
- If the screen does not turn on, hold down the Power button for 10 seconds, then try again.
What happens if you leave your MacBook running with the lid closed?
On chips M1/M2 The system automatically limits performance when overheated, but prolonged operation in this mode may shorten battery life. On Intel-models have a higher risk of overheating - temperatures can reach 95–100°C, which leads to throttling (reduction in processor frequency).
Method 5: Alternative solutions (for advanced users)
If the standard methods don't work, try:
- 🔌 Use a docking station that supports
Power Delivery. Some models (eg CalDigit TS4) allow you to turn on your laptop via a button on the station itself. - 🤖 Remote activation via network (
Wake-on-LAN). Requires settings in BIOS (Wake on LAN→Enabled) and special software (for example, Depicus Wake On Lan). - 🔧 Modification of the cover sensor. Not recommended! You can physically disable the lid microswitch (at your own risk), but this will void the warranty.
- 🖥️ Headless server mode. Suitable for Linux-systems: install
xserver-xorg-legacyand configure auto-login without GUI.
For Linux (For example, Ubuntu or Fedora):
sudo nano /etc/systemd/logind.conf
Find the line #HandleLidSwitch=suspend, uncomment it and replace it with:
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
Then restart the service:
sudo systemctl restart systemd-logind
⚠️ Attention: On laptops with NVIDIA Optimus (Hybrid Graphics) Disabling the lid response may result in artifacts on the external monitor. In this case, a forced switch to a discrete video card will help. NVIDIA Control Panel.
The most reliable way for Windows is a combination of BIOS settings (disabling reaction to the lid) + an external keyboard with USB 2.0. For macOS, the only working option is a Thunderbolt dock.
Risks and how to minimize them
Operating a laptop for a long time with the lid closed is fraught with:
- 🔥 Overheating: especially for models with powerful processors (Intel Core i7/i9, AMD Ryzen 7/9).
- 🔋 Rapid battery drain: Even in sleep mode, some components remain active.
- 💻 Damage to hinges: If the lid is not fully closed, the mechanism may become loose over time.
- 🚫 Disclaimer of warranty: When physically tampered with (for example, disabling the lid sensor).
How to reduce risks:
- 🌡️ Use cooling pad with active airflow (for example, Cooler Master NotePal X3).
- ⚡ Connect your laptop to 220V networkto avoid draining the battery.
- 🔄 Regularly check the temperature through
HWInfoorMacs Fan Control(for Mac). - 🔧 Update BIOS and drivers - New versions often fix bugs with power management.
For gaming laptops (ASUS ROG, MSI Raider, Lenovo Legion) working with the lid closed without external cooling is not recommended at all - temperatures can exceed 100°C, which leads to throttling and reduced component life.
FAQ: Frequently asked questions
Is it possible to turn on a laptop with the lid closed without an external monitor?
Yes, but only if reaction to the lid sensor is disabled in the BIOS And external keyboard/mouse is connected. Without a monitor, you will not see the system interface, but the laptop will work (for example, as a server or for remote access).
Why does the laptop turn off after closing the lid and not go to sleep?
This is a BIOS or operating system setting. B Windows check the power settings (section Actions when closing the lid). In BIOS look for the option Lid Switch Behavior - it can be configured to Power Off instead of Sleep.
How to enable MacBook Pro with the lid closed if the keyboard does not work?
On models with Apple Silicon (M1/M2) this is not possible without connecting to an external monitor via Thunderbolt. For Intel-MacBook try holding the power button for 10 seconds, then connect a charged wireless keyboard and press any key.
Will my laptop overheat if I leave it with the lid closed all night?
With a high probability - yes. Even in sleep mode, the processor and RAM consume energy, and without proper cooling, the temperature will rise. For long-term use, use external cooler and disable resource-intensive processes (for example, Windows Update or background tasks Chrome).
Is it possible to set the laptop to turn on automatically according to a schedule with the lid closed?
Yes, but with reservations. B Windows use Job Scheduler → Create a task → trigger When you start your computer + condition Run task when idle. The option must be enabled in the BIOS RTC Wake or Resume by Alarm. On Mac This is not possible without third party software like Power Manager.