Set a startup, wake, sleep, restart, or shutdown time on your Mac

Use the Schedule feature of Energy Saver preferences to set a time for your Mac to automatically start up, wake, sleep, restart, or shut down.

From the Apple () menu, choose System Preferences, then click Energy Saver.

Click the Schedule button, then use the checkboxes and pop-up menus to choose when to start up, wake, sleep, restart, or shut down.

To shut down automatically, your Mac must be awake at the time that it's scheduled to shut down, and remain awake for at least 10 minutes past that time. If it's sleeping at the scheduled shutdown time, it continues sleeping instead of shutting down. If it's set to go to sleep after less than 15 minutes of inactivity, it might go back to sleep before it can shut down. To make sure that your Mac shuts down even when sleeping, set it to start up or wake 5 minutes before the scheduled shutdown time.