• You can disable Safari’s auto-close tabs feature by opening Safari > clicking on Safari at the top-left corner > Settings > selecting Tabs > Automatically Close Tabs > select Manually.
  • Disable iCloud Syncing and clear the website cache in Safari on your Mac.
  • Disable Private Relay for your Mac by going to Settings > Profile icon > iCloud > Private Relay > disable the feature.

Basic Fixes

  • Force quit and relaunch Safari : This helps give the app a fresh start if it has been running in the background for some time.
  • Remove extensions : Faulty extensions that don’t receive updates can also cause such issues.
  • Update Safari : Installing the latest version of the browser can surely help fix the issue.

Fix 1: Disable Auto-Close Tabs

There’s a feature in Safari that automatically closes tabs after a certain time. You must disable that feature and allow only the manual closing of tabs.

Step 1: Launch Safari on Mac. Click Safari at the top-left corner and select Settings .

Safari keeps closing tabs 1 - 1

Step 2: Move to the Tabs menu. Expand the Automatically close tabs menu and select Manually .

Safari keeps closing tabs 2 - 2

Restart Safari, and it shouldn’t auto-close tabs.

Fix 2: Disable iCloud Syncing in Safari

Sometimes, when you open the same tab in Safari on a different Apple device, the tab can get closed on your Mac.

Step 1: Click the Apple logo in the Mac menu bar and open System Settings .

Step 2: Select your account and open iCloud .

Safari keeps closing tabs 5 - 3

Step 3: Select Show all under Apps Using iCloud .

Safari keeps closing tabs 1 1 - 4

Step 4: Disable the toggle for Safari.

Fix 3: Disable Private Relay on Mac

Apple’s iCloud Private Relay is a privacy add-on that hides your IP address and browsing activity from advertisers and trackers. It can also cause tabs to close in Safari.

Step 1: Go to System Settings on Mac, select your profile , and open iCloud .

Step 2: Open Private Relay and disable the option from the following menu.

Safari keeps closing tabs 6 - 5

Fix 4: Clear Website Data

Just as a troubleshooting process, clear the website cache in Safari and relaunch the web page.

Step 1: Go to Safari settings on your Mac.

Step 2: Move to the Privacy tab and click Manage Website Data .

Safari keeps closing tabs 9 - 6

Step 3: Remove All website cache and try again.

Safari keeps closing tabs 10 - 7

Was this helpful?