Guide
Why doesn't Dark Mode switch at sunset on my Mac?
With Appearance set to Auto, Dark Mode can start late, or seem to skip some evenings. That's how Auto works: it follows the Night Shift schedule and waits until you stop using the Mac. Here's how to switch at sunset instead, even while you're working.
Why Auto switches late
In System Settings > Appearance, Auto switches between light and dark for you, with two conditions.
- It follows the Night Shift schedule, not sunset itself: when Night Shift is on, the appearance is dark.
- It waits until the Mac has been idle for at least a minute, so while you keep typing or scrolling, the screen stays light.
- For a Sunset to Sunrise schedule, Night Shift uses the Mac's clock and location to work out when sunset is, so check the date, time and time zone.
- Auto can't switch while you're using the Mac, and it can't keep Dark Mode and Night Shift on different times.
Switch at sunset with LumaRule
Install LumaRule
Download LumaRule, drag it to Applications and open it. The 14-day trial needs no account or card.
Save your location
On the Auto Switch page, click “Set Location…” under “Location for Sunrise and Sunset” and allow location access. LumaRule takes one approximate location, only when you ask, and keeps it on this Mac.
Make a Dark Mode profile
Click + in the sidebar to create a profile, for example Dark Mode, and under Display preferences set Dark Mode to On. Set it to Off in Default, so the rest of the day is light.
Add a sunset trigger
Click “Add Trigger”, set Use to your Dark Mode profile and add a time condition. Click each end's label to choose Sunset for the start and Sunrise for the end, and keep “Ends the next day” checked. Click “Save Trigger” and turn on Auto Switch.
Turn off Auto in macOS
In System Settings > Appearance, choose Light or Dark instead of Auto. LumaRule doesn't change macOS's own schedule, so Auto would keep switching on its own.
Good to know
Switches while you work
A time trigger doesn't wait for the Mac to be idle: LumaRule switches at the time the trigger starts to match.
Earlier or later than sunset
Drag the start handle, or open its label, to shift sunset by up to three hours, for example 30 minutes before.
The whole evening in one step
The same profile can lower brightness, warm the screen or turn on Night Shift, so your evening setup starts at the time you chose.
Checked on macOS 27
Switching Dark Mode has been checked on macOS 27. Use the 14-day trial to check it on your Mac.
For fixed times, see how to schedule Dark Mode at a specific time. See also how to schedule screen brightness, or every feature.