MainspringGuides › Backlight timeout
macOS Guide

Turn Keyboard Backlight Off After Inactivity on Mac

Updated July 2026 · 3 min read

A glowing keyboard you're not typing on is battery spent on nothing. macOS has a purpose-built timer for exactly this: leave the keys untouched for a chosen stretch and the backlight fades out, then springs back the instant you touch a key. The setting takes thirty seconds to find and set — here's where it lives and how to pick a sensible duration.

Set the inactivity timer

  1. Open System Settings → Keyboard.
  2. Find the pop-up menu labelled Turn keyboard backlight off after inactivity.
  3. Choose a duration: After 5 Seconds, 10 Seconds, 30 Seconds, 1 Minute, 5 Minutes — or Never.

The setting applies immediately and works identically on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia. Never is the factory behaviour and your undo: pick it and the backlight stays lit whenever the Mac is awake. The pane only shows this menu on Macs with a backlit keyboard — desktop Macs with unlit external keyboards don't get it.

How the timeout behaves

Picking the right duration

The trade-off is simple: shorter timers save more battery but make the backlight strobe off during pauses in typing; longer timers keep the glow through a coffee-sip but burn longer when you leave. In practice, 10 seconds suits writers who touch the keys constantly, 1 minute suits mixed keyboard-and-mouse work, and 5 minutes is for people who mostly want the light off overnight rather than during the workday. The honest accounting on savings: the backlight draws little compared with the display, so this setting buys you minutes of runtime, not hours — but it's free, it's automatic, and on a long flight every choice like this compounds.

If the backlight turns off when you don't expect

Keys going dark while you're typing isn't this timer — it can't trigger during activity. That's almost always the ambient light sensor reacting to a bright lamp: macOS decides the room is bright enough and cuts the backlight. Shade the sensor area next to the camera and watch the keys relight. If you want manual control, turn off Adjust keyboard brightness in low light and set a fixed level from Control Center's Keyboard Brightness slider instead.

And if the menu is missing from your Keyboard pane entirely, remember its two prerequisites: a built-in backlit keyboard (every modern MacBook; no desktop Mac) and a recent macOS. Desktop users with external boards manage lighting through the keyboard maker's own software, not System Settings. For everyone else, the combination that covers ninety percent of cases is worth restating: auto-brightness on, timeout at ten or thirty seconds, and the Control Center slider left visible for the odd manual override. Set once, it never needs thinking about again — the keys light when your hands arrive and go dark shortly after they leave.

Set it once, reversibly

The backlight timeout is exactly the kind of buried setting Mainspring surfaces — 90+ hidden macOS toggles, labelled and reversible, so tuning your MacBook takes minutes.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Round out your backlight setup

Timeout handles when the light switches off; the keyboard backlight guide covers the brightness half — keys, Control Center slider, and the low-light auto-adjust that pairs naturally with this timer.