Time Machine Stops at the Screen Saver? Turn Off Auto Log-Out
Time Machine stops when the screen saver starts and sleep is set to Never? Turn off auto log-out after inactivity, then check schedules and other causes.
GuideUpdated 6 min read
On this page
Your Mac Pro (or any Mac) has computer sleep and display sleep set to Never, yet Time Machine stops the moment the screen saver comes up. It looks like the screen saver is the culprit, but the real cause may be a different setting.
Why it happens
The case behind this page is a single report on a community forum from July 2022: a Mac Pro with both sleep timers on Never, where the person assumed the screen saver was stopping backups. The reported fix was turning off Log out after x minutes of inactivity. We haven't confirmed the mechanism ourselves, so treat this as the first thing to check, not a guaranteed cure.
Here is why it fits the symptoms:
- Auto log-out has its own timer. Computer sleep and display sleep are set in one place. The auto log-out option is a security setting with a separate inactivity timer. Setting sleep to Never doesn't touch it, so the problem survives every sleep setting you try.
- The timings overlap. If the log-out time is close to your screen saver delay, both events happen at about the same moment, and the screen saver gets the blame.
- Other causes exist. A leftover sleep schedule, a lid-close sleep on a laptop, or a backup disk that disconnects can all look the same from the outside.
| Cause | Symptom | Fix |
|---|---|---|
| Auto log-out after inactivity | Backup stops around the time the screen saver starts | Turn the option off in Privacy & Security > Advanced |
| Scheduled sleep or shut down | Backup stops at the same time every day | pmset -g sched, then remove the schedule |
| Real system sleep | Mac sleeps mid-backup | Check sleep settings or hold it awake with a timed session |
| Backup disk not available | Backup never starts | Check the disk under System Settings > General > Time Machine |
| Lid closed on a laptop | Backup stops when the lid closes | Closing the lid sleeps a laptop unless it has power and an external display |
Turn off "Log out after x minutes of inactivity"
macOS 14 Sonoma, 15 Sequoia and 26 Tahoe
- Open System Settings.
- Click Privacy & Security in the sidebar.
- Scroll to the bottom and click Advanced….
- Turn off the option that logs you out automatically after inactivity.
- Click OK. Enter your password if macOS asks.
The wording can differ between versions. If you can't find it, type log out or inactivity into the search field at the top of System Settings.
macOS 12 Monterey and earlier
- Open System Preferences and choose Security & Privacy.
- On the General tab, click the lock and enter your password if the options are grayed out.
- Click Advanced….
- Uncheck Log out after x minutes of inactivity.
- Click OK.
Test it
Start a backup and let the screen saver come up. If the Time Machine icon is in your menu bar, choose Back Up Now. Or run this in Terminal, which simply starts a backup:
tmutil startbackupTo see where a backup stands at any point, tmutil status prints Time Machine's current state and changes nothing. If the backup now finishes, the log-out timer was the likely cause.
Check what else is stopping the backup
If the log-out option was already off, or the backup still stops, look at what the Mac is doing when it fails. These two Terminal commands only read information.
pmset -g assertionsThis lists the processes currently preventing sleep.
pmset -g schedThis lists scheduled sleep, shut down and wake events. A leftover schedule can put the Mac to sleep at a fixed time whatever your sliders say.
If pmset -g sched shows a repeating schedule you don't want, this removes it:
sudo pmset repeat cancelIt asks for an admin password and cancels the repeating schedule only. To undo it, set a new schedule with pmset repeat.
See the traps in a window with Glowmoth
Glowmoth (macOS 14 or later) shows these without Terminal. Click the moth icon in the menu bar to open the panel (Option-click if you've set left-click to toggle), then open Show More. The Also Keeping This Mac Awake list names the apps holding the Mac awake and what each is doing. Underneath it lists common traps, and three matter here:
- "Logs out after N minutes of inactivity."
- "Scheduled to sleep/shut down/restart at …" (a one-off
pmsetschedule) - "Set to sleep every day / on weekdays / … at …" (a repeating schedule)
Glowmoth only reports these. You still change the log-out option in System Settings and schedules with pmset. Details are in See what's keeping your Mac awake.
Hold the Mac awake through a long backup
Turning off auto log-out doesn't stop a Mac from genuinely sleeping. If yours does sleep mid-backup, a timed keep-awake session covers it. Right-click the moth icon and pick a duration such as 2 Hours under Keep This Mac Awake. In the panel's Show More section, turn off Keep Display On if you want the screen to sleep while the Mac stays awake.
A session blocks idle sleep only. It does not stop an auto log-out, so do the steps above first. Glowmoth is part of MacSuite and you can try it free for 7 days.
Checklist before you try again
- The auto log-out option in Privacy & Security > Advanced is off.
pmset -g schedshows no schedule you didn't set.- The backup disk is listed under System Settings > General > Time Machine.
- On a laptop, the lid is open, or the Mac has power and an external display.
tmutil statusshows the backup running after the screen saver starts.
If nothing works
Contact Apple Support, since Time Machine and the log-out option are part of macOS. Include your macOS version, the Mac model, what kind of backup disk you use, the time the backup stopped, and the output of pmset -g sched and tmutil status.
Time Machine stops when the screen saver starts. Computer sleep and display
sleep are both set to Never. I turned off the auto log-out option in
Privacy & Security > Advanced and the backup still stops.
macOS version: (your version)
Mac model: (your model)
Backup disk: (type)
pmset -g sched shows: (output)
tmutil status at the time of failure: (output)For more on holding a Mac awake, see How to Stop Your Mac From Going to Sleep and Mac Sleep Settings Explained. For laptops with the lid closed, see Clamshell Mode on Mac.
Common questions
Does the screen saver itself stop Time Machine?
The report behind this page suggests not. The person assumed it did, but the reported fix was the log-out setting. Both can start around the same idle time, so they are easy to confuse.
Is turning off auto log-out a security risk?
It removes an automatic safeguard for an unattended Mac. Keep your screen lock and password requirement on, since those are separate settings.
My Mac won't sleep at all. Is this related?
No, that is the opposite problem. See Mac Won't Sleep? Find What's Keeping It Awake.
Can a keep-awake app replace the log-out fix?
No. It blocks idle sleep, not an auto log-out. Turn the log-out option off first, and add a timed session only if the Mac really sleeps.