Mac mini randomly reboots while idle or asleep

I have a mac mini that, in recent weeks, has rebooted once per evening at a random time, whilst idle/asleep. There have been no updates or config changes, and an identical machine at the next desk does not have this problem.


The only thing I can find is this syslog entry:


Sep 7 21:29:58 koborns-MacBook-Pro-2 reboot[16555] <Notice>: SHUTDOWN_TIME: 1788812998 438712

Sep 7 21:30:17 localhost bootlog[0] <Notice>: BOOT_TIME 1788813017 858032


The time varies, but is always between 21.00 and 23.00


OS is 15.7.3 (24G419)


It recovers the session quite well, but it's a bit of a pain!

Posted on Sep 8, 2026 3:32 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 8, 2026 4:47 AM

Your SHUTDOWN_TIME and BOOT_TIME entries show that the previous session ended at 21:29:58 and the next boot began at 21:30:17, but they do not establish whether macOS performed a normal shutdown, experienced an unexpected restart, or encountered a problem during sleep/wake.


First, check for scheduled power events:


pmset -g sched


Apple documents this command for displaying scheduled startup, sleep, wake, restart, and shutdown events. (Apple Support)


Then check the current power-management configuration:


pmset -g


and look for a recorded shutdown cause:


log show --last 24h --predicate 'eventMessage CONTAINS[c] "shutdown cause"' --info


Also check for diagnostic reports created around the time of a restart:


ls -lt /Library/Logs/DiagnosticReports/ | head -30


If a report containing panic, Kernel, or Sleep Wake corresponds to the restart time, its contents may provide useful evidence.


Because the Mac is a desktop Mac and the problem occurs while idle/asleep, if the logs does not  identify the cause, temporarily disconnecting all peripherals except the display, keyboard, and mouse/trackpad is a useful next test. 


Apple specifically recommends this when investigating unexpected restarts and suggests reconnecting devices individually if the problem stops. (Apple Support)


I would leave the power-management settings unchanged for now. The results from these checks should be collected before making configuration changes.


Apple: If your Mac restarted because of a problem


Apple: Schedule your Mac to turn on or off in Terminal


The three command outputs and any diagnostic report corresponding to one of the restart times are the most useful information to examine next.

5 replies
Question marked as Top-ranking reply

Sep 8, 2026 4:47 AM in response to keithoborn

Your SHUTDOWN_TIME and BOOT_TIME entries show that the previous session ended at 21:29:58 and the next boot began at 21:30:17, but they do not establish whether macOS performed a normal shutdown, experienced an unexpected restart, or encountered a problem during sleep/wake.


First, check for scheduled power events:


pmset -g sched


Apple documents this command for displaying scheduled startup, sleep, wake, restart, and shutdown events. (Apple Support)


Then check the current power-management configuration:


pmset -g


and look for a recorded shutdown cause:


log show --last 24h --predicate 'eventMessage CONTAINS[c] "shutdown cause"' --info


Also check for diagnostic reports created around the time of a restart:


ls -lt /Library/Logs/DiagnosticReports/ | head -30


If a report containing panic, Kernel, or Sleep Wake corresponds to the restart time, its contents may provide useful evidence.


Because the Mac is a desktop Mac and the problem occurs while idle/asleep, if the logs does not  identify the cause, temporarily disconnecting all peripherals except the display, keyboard, and mouse/trackpad is a useful next test. 


Apple specifically recommends this when investigating unexpected restarts and suggests reconnecting devices individually if the problem stops. (Apple Support)


I would leave the power-management settings unchanged for now. The results from these checks should be collected before making configuration changes.


Apple: If your Mac restarted because of a problem


Apple: Schedule your Mac to turn on or off in Terminal


The three command outputs and any diagnostic report corresponding to one of the restart times are the most useful information to examine next.

Sep 8, 2026 5:01 AM in response to keithoborn

Thanks - here are the various results. I can't see anything in there.


BTW the hostname is the result of using the migration tool to move from an old macbook.


Yesterday reboot was at 21.29.56.


koborns-MacBook-Pro-2:Messages koborn$ pmset -g sched

Repeating power events:

 wakepoweron at 8:00AM every day

 sleep at 11:00PM every day

Scheduled power events:

 [0] wake at 09/08/2026 13:56:28 by 'com.apple.alarm.user-invisible-com.apple.calaccessd.travelEngine.periodicRefreshTimer'

 [1] wake at 09/08/2026 21:30:30 by 'com.apple.alarm.user-invisible-com.apple.acmd.alarm'


koborns-MacBook-Pro-2:Messages koborn$ pmset -g

System-wide power settings:

Currently in use:

 standby       0

 Sleep On Power Button 1

 autorestart     0

 powernap       1

 networkoversleep   0

 disksleep      10

 sleep        0 (sleep prevented by powerd, bluetoothd)

 ttyskeepawake    1

 displaysleep     5

 tcpkeepalive     1

 lowpowermode     0

 womp         1


koborns-MacBook-Pro-2:Messages koborn$ log show --last 24h --predicate 'eventMessage CONTAINS[c] "shutdown cause"' --info

Filtering the log data using "composedMessage CONTAINS[c] "shutdown cause""

Skipping debug messages, pass --debug to include.



ls -lt /Library/Logs/DiagnosticReports/ | head -30


-rw-rw----@ 1 root _analyticsusers  239924 7 Sep 23:25 disk writes_2026-09-07-232547_koborns-MacBook-Pro-2.diag

-rw-rw----@ 1 root _analyticsusers  58851 7 Sep 21:58 mds_stores_2026-09-07-215814_koborns-MacBook-Pro-2.diag

-rw-rw----@ 1 root _analyticsusers  20486 7 Sep 21:37 apfsd_2026-09-07-213727_koborns-MacBook-Pro-2.cpu_resource.diag

-rw-rw----@ 1 root _analyticsusers 1572642 7 Sep 21:30 shutdown_stall_2026-09-07-213006_koborns-MacBook-Pro-2.shutdownStall

-rw-rw----@ 1 root _analyticsusers  288931 7 Sep 21:24 com.apple.NRD.UpdateBrainService_2026-09-07-212442_koborns-MacBook-Pro-2.diag



koborns-MacBook-Pro-2:Messages koborn$ log show --last 24h --predicate 'eventMessage CONTAINS[c] "shutdown cause"' --info

Filtering the log data using "composedMessage CONTAINS[c] "shutdown cause""

Skipping debug messages, pass --debug to include.

Sep 8, 2026 5:27 AM in response to keithoborn

Your results do not yet establish why the Mac is rebooting. They also do not, by themselves, establish that the reboot was caused by a kernel panic.


The SHUTDOWN_TIME and BOOT_TIME entries confirm that the Mac shut down and subsequently booted, but they do not identify the cause.


The most useful item to examine next is the diagnostic report created at 21:30:06, approximately 10 seconds after the reported reboot at 21:29:56:


shutdown_stall_2026-09-07-213006_koborns-MacBook-Pro-2.shutdownStall




Its timing is noteworthy, but the filename alone does not establish what caused the reboot.


pmset -g sched also shows a scheduled wake at 21:30:30 by com.apple.acmd.alarm. 


This confirms that a system wake event was scheduled around the same time, but the information available does not establish that it was related to the reboot. 


Apple documents pmset -g sched as the command for displaying scheduled power events. (Apple Support)


The pmset -g output shows that sleep was being prevented by powerd and bluetoothd when you ran the command. This is relevant to the sleep investigation, but it does not identify either process as the cause.


The log show command returned no shutdown-cause information, so it has not provided a cause.


At this stage, I would not change the scheduled power settings or perform more invasive troubleshooting. 


The next step is to examine the shutdownStall diagnostic and, if necessary, then determine whether the evidence points toward a software problem, connected peripheral, power-management issue, or hardware problem.


If the diagnostic evidence does not identify the cause and the unexpected restarts continue,


Apple recommends progressively isolating software and hardware, including Safe Mode, disconnecting peripherals, and Apple Diagnostics. (Apple Support)

Sep 8, 2026 8:31 AM in response to keithoborn

Look through it specifically for:

  • the process or processes involved in the shutdown stall;
  • threads blocked on locks, I/O, or power-management operations;
  • repeated or unusually long stack traces;
  • references to powerd, kernel, bluetoothd, APFS, disks, USB/Thunderbolt devices, or third-party software;
  • timestamps and state transitions that might help distinguish an orderly shutdown, a stalled shutdown, or an unexpected restart.


Mac mini randomly reboots while idle or asleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.