To turn on the keyboard backlight on most laptops, hold Fn and press the key marked with a small backlight icon, usually on the top row (F5, F6, F9, F10 or F11 depending on the maker). Each press steps through the brightness levels, so keep pressing until the keys light up or the light goes off again.
On a MacBook, use the keyboard brightness keys or the Keyboard Brightness slider in System Settings. The sections below cover each platform, then the settings that control timeout and automatic brightness, then what to check when nothing happens.
Which key turns on the keyboard backlight?
The key differs by maker and by model, so look for the icon instead of trusting a table. The vendor documents say:
| Maker | Usual key | What a press does |
|---|---|---|
| Dell | F5, F6, F7 or F10 (Latitude, Vostro, Inspiron); right arrow on some XPS; a dedicated key on some Alienware and XPS | Steps Off, Low, High, Off |
| HP | F5, F9 or F11 with Fn; sometimes the space bar or a dedicated key | Cycles brightness levels, then off |
| Microsoft Surface | A top-row key with a brightness icon | Cycles through the levels, including off |
| Apple MacBook | Keyboard brightness keys | Increase or decrease; hold decrease to turn off |
HP describes the icon as a small sun-like symbol with horizontal lines. Not every model in a line has a backlight. Microsoft states that not all Surface devices have the feature, and Dell says that if the BIOS has no Keyboard Illumination entry, the laptop has no backlit keyboard.
Do I hold Fn or not?
That depends on the Fn Lock state, which decides whether the top row acts as special keys (brightness, volume) or as plain F1 to F12.
- Dell: on most models, hold
Fnand press the backlight key. If Fn Lock is enabled, press the backlight key alone. If neither works, pressFn+Escto toggle Fn Lock and try again. - HP: press
Fn+Esc, or look for an Fn Lock indicator light on the keyboard, then test again. - Surface: with the Fn light off, the top-row key does its special action. Press
Fnto lock the keys into function mode, which turns the Fn light on; press it again to switch back.
Keyboard backlight settings on a Mac
Apple's documentation lists four controls. All are in System Settings:
- Brightness slider. Open the Apple menu, choose System Settings, click Keyboard, and drag Keyboard brightness. Fully left turns the backlight off.
- Keys. Press the increase or decrease keyboard brightness key. Keep holding the decrease key to turn the backlight off. On Macs with a Touch Bar, expand the Control Strip and tap the brightness buttons; touch and hold the decrease button to turn it off.
- Menu bar shortcut. In System Settings, click Control Center, find Keyboard Brightness, and turn on Show in Menu Bar or Show in Control Center.
- Automatic behavior. In System Settings > Keyboard, turn on Adjust keyboard brightness in low light. Use the pop-up menu next to Turn keyboard backlight off after inactivity to pick a delay.
The ambient light sensor sits near the camera at the top of the screen, so keep that area uncovered. Menu names are from the macOS Sonoma (14) page; older and newer versions can word them differently.
Automatic brightness on Windows Surface devices
Microsoft says some Surface models can change keyboard brightness automatically as room lighting changes. Its list includes Surface Pro 8, Surface Pro 9 (Intel), Surface Pro 10 for Business, Surface Laptop Studio 2 and several newer Surface Laptop and Surface Pro editions. To turn it on, go to Start > Settings > Bluetooth & devices > Keyboard and switch on Change keyboard brightness automatically when lighting changes. The setting is not offered on other models.
Change timeout and default brightness in BIOS (Dell)
Dell documents a BIOS route that sets the backlight before Windows starts:
- Shut the laptop down completely (not Sleep or Hibernate), then power it on and press
F2about once per second while the Dell logo shows. - Open Keyboard and find Keyboard Illumination.
- Choose Disabled, Dim or Bright, then select Apply Changes and Exit.
On some BIOS versions, Keyboard Backlight Timeout offers 5, 15, 30 or 60 seconds, or Always On. If the light follows room brightness, look for Keyboard Illumination with ALS or Ambient Light Sensor and set it to Disabled. Entry keys and option names vary between BIOS versions and makers. HP says its laptops commonly enter BIOS with Esc then F10, and some HP models have a keyboard backlight option there too.
If the keyboard backlight won't turn on
Work through these in order. They come from the Dell, HP and Microsoft pages above.
- Confirm the hardware. No backlight icon on any key means no backlight.
- Toggle Fn Lock. Press
Fn+Esc(Dell, HP) and try the backlight key again, with and withoutFn. - Press the key more than once. The first press may only move between levels that look the same in bright light. Try it in a dim room.
- Check the BIOS. If the backlight option is Disabled, enable it, save and exit.
- Check the timeout. A light that goes out after a few seconds usually has a short timeout. On Dell, set Keyboard Backlight Timeout to Always On if your BIOS offers it.
- Update drivers and vendor software. HP suggests updating the keyboard driver in Device Manager (expand Keyboards, right-click the keyboard, choose the driver update option) and restarting, and keeping HP Support Assistant current. Dell says that if the backlight stopped working after a BIOS update, you can update the BIOS through SupportAssist with the laptop on AC power.
- Check power settings. HP lists Battery Saver and power mode under Settings > System > Power & battery. Plug in and test again.
Gaming laptops with per-key or zone colour, such as Alienware, use the maker's own app. Dell says to use Alienware Command Center there and to make sure it is running in the system tray.
Limits of this guide
Key assignments change between models and generations, and the pages cited here describe product lines, not every laptop. If your keyboard shows a backlight icon but none of the steps work, look up your exact model number in the maker's support pages. This article was checked against the vendor pages listed under Sources as of November 2026.
Frequently asked questions
- How do I know if my laptop has a keyboard backlight?
- Look at the top row of keys (F1 to F12) and at the space bar for a small icon showing a light or sun with lines. If no key carries that icon, the laptop most likely has no backlight, and no software setting can add one. On Dell laptops, the BIOS has a Keyboard Illumination entry only when the hardware has a backlight.
- Why does my keyboard backlight turn off after a few seconds?
- The laptop has an inactivity timeout. On Dell laptops with the option in BIOS, Keyboard Backlight Timeout can be set to Always On. On a Mac, the pop-up menu next to 'Turn keyboard backlight off after inactivity' in System Settings > Keyboard sets the delay.
- Why does the backlight brightness change by itself?
- Some laptops adjust the backlight with an ambient light sensor. On a Mac this is the 'Adjust keyboard brightness in low light' setting. On Dell laptops, BIOS may list Keyboard Illumination with ALS or Ambient Light Sensor, which you can set to Disabled. Some Surface models have a toggle in Settings for automatic brightness.
- Do I need to hold Fn to use the backlight key?
- It depends on the model and on whether Fn Lock is on. With Fn Lock off, many laptops need Fn plus the backlight key. With Fn Lock on, you press the backlight key alone. Fn plus Esc toggles Fn Lock on Dell and HP laptops.
Sources
- Dell Support: Turn off or on and troubleshoot the backlit keyboard on a Dell laptop
- Apple Support: Change the brightness of your Mac keyboard backlight (macOS Sonoma)
- Microsoft Support: Special keys and function keys for Surface Keyboards or Type Covers
- HP Tech Takes: How to turn keyboard lighting on and off