While there's no shortage of capable web browsers in the Mac ecosystem, most still prefer the built-in Safari browser for web browsing. Even with ongoing updates and improvements, Safari's usual issues remain largely unchanged. Sometimes, Safari can't find a server on your Mac, AndFails to play videos, and even closes the tab without your permission. The latter can be extremely annoying, which is why Safari keeps automatically closing tabs on your Mac.

Safari tabs closing by themselves can be annoying during work hours. It can even disrupt your browsing experience. Multiple factors can affect your Safari experience. This could be due to low memory, buggy iCloud sync, outdated extensions, corrupted cache, etc. Let's follow the steps to prevent Safari from automatically closing tabs.
1. Disable Safari tabs from closing automatically
Safari provides an option to automatically close tabs after a certain period of activity. If you enable this option, Safari will close tabs after a specified period of time. You must reverse this decision in Safari's settings. Follow the steps below.
Step 1: turn on safari on the system Poppy. tap on safari above.
Step 2: Open Settings.

Step 3: Go to List TabsExpand the list. “Close tabs automatically” Select manually.

Restart Safari, and it should no longer close tabs automatically.
2. High RAM usage in Safari
When you have dozens of tabs open in Safari, this can increase RAM usage on your Mac. If you have a Mac with 8GB of RAM and multiple apps open in the background, the system may shut down several tabs to free up memory. You can confirm this from the Activity Monitor menu and close unnecessary apps.
Step 1: Open menu Applications Run Activity Monitor.
Step 2: Go to the sign Memory tab. Verify memory collapse At the bottom.
Step 3: Select an application or server and tap the check mark. x above.

3. Disable iCloud sync in Safari
If iCloud sync is down, Safari may close tabs independently. Safari relies on iCloud to sync your tabs across all your devices. Here's how to disable iCloud sync for Safari on Mac.
Step 1: Click on the icon Apple in the menu bar Poppy. Open system configuration.

Step 2: Locate Your account and open iCloud.

Step 3: Locate The Lord within Apps that use iCloud.

Step 4: Disable the toggle next to Safari.

4. Disable private relay on MAC
Private Relay is part of iCloud+ that reroutes Safari traffic through Apple servers to protect your browsing details from advertisers. When a third-party server isn't working as expected, it can disrupt your Safari experience and cause tabs to close automatically.
Step 1: Go to Apple System Settings On a Mac (see steps above).
Step 2: Locate Your profile and open iCloud.

Step 3: Open Private relay Disable the option from the following menu.

5. Bad ads and trackers
Some obscure websites may contain malicious ads and trackers. They may interfere with your browsing experience, causing Safari to close tabs on its own. You should avoid such sites.
Safari also has a dedicated Privacy Report that lets you check what trackers have been using for the past week. You can quickly review the data and avoid the sites mentioned.
6. Disable Safari extensions
An installed extension may be hindering your Safari experience. You may need to disable any unknown extensions and try again.
Step 1: Go to Safari settings On Mac (see steps above).
Step 2: Go to the tab Extensions.
Step 3: Locate Extension From the sidebar, click on uninstall.

7. Clear site data
Is Safari still closing tabs on its own? You need to clear your Safari cache and try again. Here's how.
Step 1: Go to Safari settings On a Mac (see steps above).
Step 2: Go to the tab Privacy and click “Website data management.”

Step 3: remove Cache For the entire website and try again.

8. Update MACOS
Apple updates Safari using the macOS operating system built into your Mac. Here's how to update macOS to the latest version and try again.
Step 1: Go to Mac System Settings (See steps above.)
Step 2: Select a year and click “Software update.”

Download and install the latest macOS update on your Mac.
9. Get rid of Safari on your MAC
Are you still having problems with Safari on your Mac? It's time to ditch Safari and switch to Google Chrome, Microsoft Edge, Brave, or Firefox.
Back to your perfect browsing experience and
Safari tabs closing automatically is never an ideal setting. The above tricks should address the issue of Safari tabs closing automatically. Which trick worked for you? Share it in the comments below.


