Apple Mac Safari logo

It can be frustrating when you need to restart Safari on your Mac and you lose what you’ve been working on because all of your tabs and windows close. Luckily, there’s an easy way to make Safari restore your session every time you start the app. Here’s how to set it up.

First, launch Safari on your Mac. At the top of your screen, click the “Safari” menu and select “Preferences.”

When the “Preferences” window appears, click the “General” tab, then locate the “Safari opens with” option. In the drop-down menu beside it, select “All windows from last session” if you want all of your windows—including your Private Browsing windows—to be restored.

If you only want your non-Private windows to be restored, select “All non-private windows from last session” in the drop-down menu.

In Safari Preferences, select "All windows from last session" from the "Safari opens with" drop-down menu.

After that, close Preferences. The next time you restart Safari, it will remember your browsing session, and all the windows and tabs you had open last time will reopen automatically. Happy browsing!

RELATED: How to Always Start Safari in Private Browsing Mode on a Mac

Profile Photo for Benj Edwards Benj Edwards
Benj Edwards is a former Associate Editor for How-To Geek. Now, he is an AI and Machine Learning Reporter for Ars Technica. For over 15 years, he has written about technology and tech history for sites such as The Atlantic, Fast Company, PCMag, PCWorld, Macworld, Ars Technica, and Wired. In 2005, he created Vintage Computing and Gaming, a blog devoted to tech history. He also created The Culture of Tech podcast and regularly contributes to the Retronauts retrogaming podcast.
Read Full Bio »