How to Stop the Mac Keyboard Backlight from Turning Off After 5 Seconds

If you use a MacBook in a dark room, the illuminated keyboard backlight is essential for typing accurately. However, many users notice a highly frustrating behaviour: if they take their hands off the keyboard to read a long document or watch a short video, the keyboard backlight suddenly turns off completely after just five seconds of inactivity. The moment you touch a key or the trackpad, it violently snaps back on.

This aggressive auto-dimming feature is enabled by default to save battery life. But if your Mac is plugged in, or if you simply prefer your keyboard to remain consistently illuminated while you work, the constant flashing is incredibly distracting. You can easily extend this timeout or disable it completely.

How to Stop the Keyboard Backlight from Auto-Dimming

You can adjust the keyboard illumination settings directly from the macOS System Settings application.

  1. Click the Apple Logo in the top-left corner of your screen.
  2. Select System Settings (or System Preferences on older versions of macOS).
  3. Scroll down the left-hand navigation sidebar and click on Keyboard.
  4. In the main window on the right, look for the section labelled Keyboard Navigation or simply the backlight controls.
  5. Look for a toggle switch or checkbox labelled Turn keyboard backlight off after [X] of inactivity.
  6. If you want the backlight to stay on permanently (until the computer itself goes to sleep), simply Uncheck the box or flip the toggle switch to Off.
  7. If you still want it to turn off to save battery, but think 5 seconds is too fast, click the drop-down menu next to the setting and change it to a much longer duration, such as 1 min or 5 mins.

The changes apply instantly. You can test it by taking your hands off the keyboard and waiting; the keys will remain brightly lit, allowing you to read or watch videos without the jarring visual interruption.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.