With recent updates, Apple has made it more difficult to schedule shutdowns and wake-ups on Macs—possibly because the new M-series chips are so power-efficient that they consume almost no power in sleep mode, making shutdowns seem unnecessary. However, if you still prefer to schedule a shutdown and wake-up for peace of mind, keep reading—I’ll show you how.
How to schedule your Mac to turn on or off using Terminal
Schedule your Mac to turn off and on automatically using the commands below. It works in a 24-hour format, so if you need to schedule your Mac for a shutdown at 3:55 P.M, you can set the time as 15:55:00, as taken below.
- Open Launchpad.
- Search and click Terminal.
- Add the command for the actions you want to perform.
- Shut down:
sudo pmset repeat shutdown MTWRFSU 15:55:00
- Start:
sudo pmset repeat wake MTWRFSU 08:00:00
- Shut down:
- Hit return. You’ll be asked to enter your password.
The sudo orders the terminal to execute the commands written next to it with administrative rights. The pmset in the command stands for Power Management Settings. It’s a BSD (Berkeley Software Distribution) utility that modifies power management settings.
The single letters are used to denote days of the week in the pmset arguments as shown:
M | Monday |
T | Tuesday |
W | Wednesday |
R | Thursday |
F | Friday |
S | Saturday |
U | Sunday |
Want to learn more about such terminal commands and look like a pro hacker? Follow our guide for the most useful terminal commands.
However, your Mac will not shut down automatically if the conditions mentioned below are not met:
- If your Mac is already turned off, is in sleep mode, or you’re not logged in.
- If the FileVault is enabled on your Mac.
- If you’re working on a document that has unsaved changes.
Clearing your macOS Reboot Schedule
If you want to reset the reboot schedules for your Mac, here’s all you need to do:
- Launch Terminal → paste the following command
sudo pmset repeat cancel
→ tap return. - To double-check if the command has been executed, you can run
pmset -g sched
.
How to schedule wake and sleep on Mac
Don’t want anyone to peek at your work when you leave your Mac? You can set a sleep timer to trigger after the designated inactivity periods.
To set sleep and wake on Mac, follow the steps below:
- Click the Apple logo in the Menu Bar.
- Open System Settings.
- Scroll down to Lock Screen.
- Choose a time from the dropdown in front of any of the below-mentioned according to your need:
- Turn the display off on the battery when inactive.
- Turn the display off on the power adaptor when inactive.
Prevent Mac from sleeping automatically
In macOS Sequoia, you’ve one more option to save energy. To activate it, you need to go around the steps discussed below:
- Navigate to Apple logo → System Settings.
- Go to Displays → Advanced.
- Enable the toggle next to Preventing automatic sleeping on power adaptor when the display is off.
- Click Done.
That’s it!
These were all the potential ways you can use to schedule Mac to boot/shut down & wake/sleep. Did this help you? Let me know in the comments below.
Read more: