Safari opens with a new window: from 40 reopened tabs to a clean start

Safari has a good memory. Quit it with a pile of tabs open and the next time you launch it, there they all are again, including the page you meant to close last week. That is handy for one person working on one project. It is a nuisance on a shared Mac, a demo machine, a kiosk, or a laptop that has quietly collected 40 tabs since Monday.

This post covers two goals: closing everything you have open right now, and making Safari start clean (or on exactly the page you choose) every time you launch it. Both take a minute, and a section near the end shows admins what they can push to company Macs.

The short version. To stop Safari bringing tabs back, change Safari opens with in Safari > Settings > General so that each session starts with a new window instead of the windows from your last session. To clear your tabs today, Control-click the tab you want to keep and choose Close Other Tabs.

What do you want to do?

What you wantWhat to do
Close every tab right nowControl-click one tab, choose Close Other Tabs, then close that last tab with Command-W
Start each launch with a fresh windowSafari > Settings > General > Safari opens with: pick the new window option
Stop macOS reopening windows in every appSystem Settings > Desktop & Dock > Windows: turn on Close windows when quitting an application
Skip the restore once, without changing a settingHold Shift while you open Safari
Set the new window and new tab behavior on company MacsPush it with a configuration profile (see the admin section)

The next sections explain each option, including the one catch Apple documents: some of the Safari opens with choices only appear when the Desktop & Dock setting above is on.

Close all your tabs right now

Control-click the one tab you want to keep and choose Close Other Tabs; every other tab in that window closes at once. Apple's Safari guide gives this method, and its shortcut page adds a mouse alternative: Option-click the Close button on the tab you want to leave open.

To end up with nothing, close that last tab as well. Command-W closes the active tab, and closing the last tab in a window finishes the job for that window. If you have several windows, repeat the step in each one.

Two related commands are worth knowing:

Closing tabs by hand only fixes today. If the same tabs return the next time you open Safari, the fix is in the next section.

Stop old tabs from reopening when Safari launches

The setting that decides this lives in Safari itself, and it takes four steps.

  1. Open Safari, then choose Safari > Settings and click General.
  2. Open the Safari opens with menu. Apple describes four ways a session can start: with a new window, a new private window, all the windows from your last session, or all the non-private windows from your last session.
  3. Choose the new window option for a clean start every time. Choose the new private window option if every session should begin in private browsing, which suits a shared Mac.
  4. Quit Safari and open it again to test.

The two "last session" choices are the ones that bring your tabs back, so avoid them on a Mac you want to keep tidy.

One catch comes straight from Apple: some of the Safari opens with options are shown only when Close windows when quitting an application is selected in the Desktop & Dock settings. If a choice you expect is missing from the menu, or Safari still restores windows after you change it, jump to the macOS side below. Also note that when you pick the new window option, the New windows open with menu decides what that window contains.

Decide what a new window or tab shows

For the cleanest launch, set both New windows open with and New tabs open with to Empty Page. These two menus sit in the same General pane, and they matter because the new window option from the previous section opens whatever you pick here. Apple's options are:

OptionWhat opensOffered for
Start PageYour favorites, a Privacy Report summary, your Reading List and pages open on other Apple devicesNew windows, new tabs
HomepageThe page you enter in the Homepage field below the menusNew windows, new tabs
Empty PageAn empty Safari window with no web page address or contentNew windows, new tabs
Same PageThe web page you most recently viewedNew windows, new tabs
Tabs for FavoritesAll the bookmarks in Favorites, as a set of tabsNew windows only
Choose tabs folderThe bookmarks in a bookmarks folder you chooseNew windows only

Two of these quietly recreate the problem. Tabs for Favorites and Choose tabs folder open a whole set of tabs every time, and Same Page brings back the last page you viewed. If your goal is zero tabs on launch, stick to Empty Page, or to a single Homepage you control.

The macOS side: stop windows reopening in every app

Apple's own advice for "every time you open Safari" is a system setting, not a Safari one. On macOS Ventura and later, including macOS 27 Golden Gate, turn it on like this:

  1. Choose Apple menu > System Settings, then click Desktop & Dock in the sidebar.
  2. Scroll down to the Windows section.
  3. Turn on Close windows when quitting an application.

Apple's description is short: app windows close when you quit the app, and they do not reopen automatically the next time you open it. The setting covers every app, not just Safari, and Apple notes that some of the Safari opens with options appear only when it is on. On macOS versions before Ventura, the same switch is in System Preferences > General, labeled Close windows when quitting an app.

There are three smaller levers for special cases:

For admins: setting it on managed Macs with Intune

Intune can push Safari's new-window and new-tab behavior with its Preference file template. In the Intune admin center, go to Devices > Manage devices > Configuration > Create > New policy, set Platform to macOS, set Profile type to Templates > Preference file, and select Create. The profile asks for two things: a Preference domain name and a Property list file (a .plist or .xml file that holds only key and value pairs, without the <dict>, <plist> or <xml> wrapper tags).

For Safari, use com.apple.Safari as the domain. MDM vendor documentation lists HomePage, NewWindowBehavior and NewTabBehavior for that domain, where the value 1 means a blank page. A minimal file that makes new windows and new tabs open empty looks like this:

<key>NewWindowBehavior</key>
<integer>1</integer>
<key>NewTabBehavior</key>
<integer>1</integer>

Three things to check before you assign it:

On a managed Mac, also remember that a configuration profile may already be changing Safari. Apple lists unfamiliar profiles as something to review when Safari keeps opening pages you did not choose: on macOS Sequoia 15 or later, look under System Settings > General > Device Management. On a school or company Mac, ask the administrator before removing one.

Managing Microsoft Edge on the same Macs? See Deploy and manage Microsoft Edge with Microsoft Intune.

If tabs still come back

Work through the settings in this order, quitting and reopening Safari after each change:

  1. Desktop & Dock: is Close windows when quitting an application turned on?
  2. Safari > Settings > General: is Safari opens with set to a new window or a new private window, and not to a "last session" option?
  3. New windows open with and New tabs open with: are both set to Empty Page (or to one Homepage you chose)?
  4. Shutdown and restart: was Reopen windows when logging back in ticked in the last confirmation dialog?
  5. Managed Mac: does a configuration profile or your administrator's policy override these settings?

If Safari keeps opening pages you did not choose, or keeps changing your search engine, treat that differently. Apple says it can point to malware or adware picked up from a phishing site, and recommends these steps: update macOS, and if it is already current, restart (macOS includes a built-in tool that removes known malware when you restart); remove unknown or suspicious apps and Safari extensions; block pop-up ads and windows; and remove unknown system configuration profiles.

For everyday use, a clean launch is a two-minute job: one system switch, one Safari menu and two Empty Page choices. After that, Safari opens with a blank window every time. And if the browser itself ever freezes, you can force quit it.

Sources

Apple pages are the English versions served by Apple Support; menu labels follow Apple's wording.

Nederlandstalige versie: Safari-tabbladen sluiten of niet meer laten terugkomen op je Mac


Related articles