Speed up your Mac
Mac Slow With Safari Open? Here's What's Eating Your RAM
Safari is supposed to be the fast Mac browser. When it's not, here's exactly what's hogging memory and CPU — and the fixes that actually work in macOS Sonoma.
Safari is the browser that’s supposed to be optimized for your Mac. It uses WebKit, which is part of macOS itself. It coordinates with the system scheduler in ways Chrome and Firefox can’t. On a fresh M-series Mac with a few tabs, it sips power and stays out of your way.
So when Safari starts feeling sluggish — beach balls on tab switches, scrolling stutter, fans kicking in — it’s a real signal something specific has gone sideways. Unlike Chrome, where heavy memory use is the default, Safari only gets bad when one of a handful of things has gone wrong.
How Safari’s Process Model Differs (and Why It Matters)
Open Activity Monitor and search for “Safari.” You’ll see something different from Chrome. Instead of dozens of “Helper (Renderer)” processes, you get a small number of “Safari” and “com.apple.WebKit.WebContent” processes. Each WebContent process handles one or more tabs from the same site.
This is per-site process isolation, not per-tab. Open three Reddit tabs and they share one WebContent process. Open Reddit, Hacker News, and Gmail and you get three. This makes Safari much lighter than Chrome by default — but it also means a single misbehaving website can drag down every tab from that origin.
The other difference: Safari uses macOS’s ARC (Automatic Reference Counting) and shares its JavaScript engine state with the system. When the kernel needs RAM, Safari can release memory faster than third-party browsers. That’s why “I have 50 tabs in Safari and my Mac is fine” is plausible in a way it never is for Chrome.
Free up RAM in one clickSweep frees inactive memory and pauses runaway processes. Get Sweep free →
The Usual Suspects When Safari Slows Down
When Safari does get slow, it’s almost always one of these:
- A single tab running heavy JavaScript — Google Sheets with thousands of rows, Figma, Linear, web-based games
- Autoplay video — multiple tabs with videos quietly playing in the background
- A site with a memory leak — older social platforms and ad-heavy news sites are notorious
- Too many extensions — Safari extensions are lighter than Chrome’s, but they still cost memory
- iCloud Tabs syncing across many devices — if you have dozens of tabs across iPhone, iPad, and multiple Macs
- History database bloat — Safari’s
History.dbcan grow large over years - Cached web data piling up —
~/Library/Caches/com.apple.Safari/can hold gigabytes
To diagnose, open Window > Activity Monitor inside Safari (yes, Safari has its own). It shows per-tab CPU, memory, and energy use. Sort by Energy Impact. The top entry is your culprit.
Cleaning Safari’s Caches Without Wiping Your History
Safari stores its data in several places:
~/Library/Safari/— bookmarks, history, top sites, reading list~/Library/Caches/com.apple.Safari/— page cache, fav-icon cache, web archives~/Library/Containers/com.apple.Safari/Data/Library/Caches/— sandboxed cache (Sonoma+)~/Library/Cookies/— cookies and storage for Safari and other apps
The Caches folders are safe to clear. The Safari folder contains your bookmarks and history — leave it alone unless you have a specific reason.
To clear Safari’s cache the right way:
- Safari menu > Settings > Advanced
- Check “Show Develop menu in menu bar”
- Develop menu > Empty Caches (or Cmd+Option+E)
- Safari menu > Settings > Privacy > Manage Website Data > Remove All
Don’t use “Clear History” unless you actually want to wipe your history — it removes far more than the cache.
Extensions: Safari’s Quieter Memory Hogs
Safari extensions in modern macOS run as app extensions — they have to ship with a containing Mac app. That’s why you’ll see things like “1Password for Safari” or “AdGuard for Safari” in your Applications folder. Each extension can launch a helper process that lives as long as Safari is open.
To audit:
- Safari > Settings > Extensions
- Note which are enabled and which permissions they have
- “Allowed on All Websites” extensions cost more than “Allowed on Some Websites”
Common heavy extensions:
- Translation tools that auto-detect every page
- Dictionary lookups that hook into text selection on every page
- Web archivers that try to save copies of pages you visit
- Multiple ad blockers running together — pick one
Disable any you don’t actively use. If you’re unsure, disable them all, restart Safari, and notice the difference. Re-enable only the ones you actually need.
iCloud Tabs and the Cross-Device Problem
If you use Safari across iPhone, iPad, and Mac, every tab on every device syncs through iCloud. With three devices and 30 tabs each, you’re syncing 90 tab metadata records constantly. Each device’s Safari has to know about every tab on every other device.
This is usually fine. It becomes a problem when:
- You have hundreds of tabs across devices
- An older device is offline and can’t sync, causing retry loops
- Your iCloud account is over its storage limit, breaking sync state
Check System Settings > Apple ID > iCloud > Saved to iCloud > Safari. If you have an unreasonable tab count, prune. The fastest cleanup: on Mac, View > Show Tab Overview, then close everything you haven’t touched in two weeks.
What Actually Happens When You “Close Tabs to Free Memory”
Closing tabs in Safari does free memory — but not always immediately. macOS keeps the released memory as “inactive” memory, which is technically still allocated but available for reuse. If you watch Activity Monitor right after closing 30 Safari tabs, you may not see the memory pressure drop for 30-60 seconds.
This is by design. macOS prefers to keep recently used memory cached in case you reopen the same content. If something else needs the RAM, the kernel will release it.
To see real memory pressure, open Activity Monitor > Memory tab > look at the green/yellow/red Memory Pressure graph at the bottom. Yellow or red is when you actually have a problem. Green means you’re fine, regardless of how much RAM the percentage shows used.
A Diagnostic for “Safari Is Suddenly Slow”
When Safari slows down out of nowhere:
- Check Safari’s own Activity Monitor (Window > Activity Monitor inside Safari). Sort by Energy Impact. Close the worst offender.
- Watch what happens. If energy impact drops, you found it. If not, move on.
- Disable extensions. Safari > Settings > Extensions, uncheck them all. Restart Safari. If it’s snappy, re-enable one at a time.
- Clear caches. Develop > Empty Caches. Privacy > Manage Website Data > Remove All.
- Check for stuck WebContent processes in macOS Activity Monitor. Force-quit any that are using over 2GB.
- Toggle hardware acceleration. Develop > Experimental Features > “Accelerated 2D Canvas” — try with it off if you’re seeing graphics-related slowness.
- Restart your Mac. Long uptime occasionally lets WebContent processes accumulate orphaned memory.
- As a last resort, reset Safari by quitting, then renaming
~/Library/Safarito~/Library/Safari.bak. Safari will start fresh. Restore the folder if anything goes wrong.
Settings Worth Changing
A handful of Safari settings affect performance more than people realize:
- Settings > Tabs > Show website icons in tabs: ON — small thing, helps you find heavy tabs faster
- Settings > Websites > Auto-Play > Stop Media with Sound — set this for “When visiting other websites.” Cuts down on background video CPU
- Settings > Advanced > Smart Search Field > Show full website address: ON — not performance, but helps you spot phishing
- Develop menu > Disable JavaScript JIT — only as a debugging step. Don’t leave this on
- Settings > Privacy > Hide IP Address from Trackers: ON — this is iCloud Private Relay related and has minimal performance cost on a stable connection
When the Slowdown Isn’t Safari’s Fault
Sometimes Safari gets blamed for system-wide problems. Before assuming Safari is the cause:
- Check
mds_storesandmdworker_sharedin Activity Monitor — Spotlight indexing can eat CPU and make everything feel slow - Check for runaway
WindowServerCPU — if it’s high, the issue is graphics, not Safari - Check Time Machine — backups in progress can slow everything
- Check iCloud Drive — large file uploads spike CPU and disk I/O
If those are the real culprits, Safari is just along for the ride. Sweep can spot these system-level issues and tell you what’s actually consuming your performance, separate from whatever browser you happen to be using.
Safari is a fast, well-engineered browser when you let it be one. Trim extensions, watch out for one or two heavy tabs, clear caches occasionally, and the slowdowns mostly disappear. When they don’t, it’s worth asking whether Safari is really the problem or just the most visible victim of something else on your system.