Performance

Your Mac's swap is huge. Here's what that means — and how to clear it

Short answerSwap is your Mac using the drive as overflow memory when real memory (RAM) is full. A little is normal and harmless. Gigabytes of it means memory has been full long enough to spill — and because the drive is many times slower than RAM, a Mac deep in swap feels slow everywhere. Three causes:
  • A few apps are eating the RAM — most often a browser with heavy tabs, or a memory-hungry app. Quit them and swap drains on its own.
  • Weeks without a restart — small leaks and leftover memory pile up. A restart clears swap outright.
  • The workload genuinely doesn't fit — heavy creative or AI work on 8 GB. No app fixes that; fewer things open, or more RAM, does.
Don't chase “free memory” or run RAM cleaners — a big chunk of “used” memory is normal file cache macOS recycles on demand.

You opened Activity Monitor and found it: Swap Used, in gigabytes, sometimes more memory than you thought you had. Below it, the Mac feels exactly like that number says it should — beachballs when switching apps, typing lag, everything a beat behind.

Two questions settle what to do. Is swap high right now (the Memory Pressure graph is yellow or red — something is eating memory today), or is it residue from days of use with pressure currently green? The first wants the memory hogs found; the second usually just wants a restart. The checks below sort that out. Or let Noah read pressure, swap, and the top apps together and tell you which case you're in (more at the end).

What swap is, in one paragraph

Your Mac keeps the apps you're using in RAM — fast memory that forgets everything at power-off. When RAM fills, macOS moves the least-used parts to a file on the drive and reads them back when needed. That file is swap. It's not damage and not a leak — it's the system doing its best with what it has. The catch: a drive is many times slower than RAM, so the deeper the Mac reaches into swap, the slower everything feels. The number to watch alongside it is memory pressure — how hard the system is working to keep up with demand for RAM.

First, read the two numbers that matter

Open Activity Monitor ( Space, type Activity Monitor), go to the Memory tab. Two things to read: Swap Used at the bottom right, and the Memory Pressure graph — green means memory is currently coping, yellow means tight, red means the Mac is out and digging into swap hard. From Terminal, swap alone:

zsh — Terminal
% sysctl vm.swapusage
Sample result
vm.swapusage: total = 5120.00M  used = 3452.25M  free = 1667.75M  (encrypted)

Total is the swap space macOS set aside, used is what's in it. Roughly a gigabyte or two on a Mac with plenty of RAM is normal; on an 8 GB Mac under real use it can run to many gigabytes.

The pairing tells you which story you're in: high swap + red or yellow pressure — memory is being squeezed right now, so find the hogs below. High swap + green pressure — the swap is residue from earlier; a restart clears it in one move.

NoahIn the diagnoses Noah has run on real Macs, 14 showed more than half their swap in use — the worst at 11 GB of 12. Every one of them also felt exactly this slow.

A few apps are eating the memory

Pressure is yellow or red now; the Mac got slow as the day went on. Sorting the Memory list by size names names.

Most often it's not “everything”, it's two or three things — a browser carrying heavy tabs, a design or office app holding old documents open, a sync tool. They filled RAM, and everything else got pushed into swap. Sort Activity Monitor's Memory tab by size and the list will point at them.

Fixquit the biggest ones you can spare, and watch Swap Used — it drains on its own over the next minutes as macOS reclaims what it needs. You don't have to force anything or empty anything.

NoahOn one Mac, quitting Safari and cleaning up one stuck web process dropped swap from 10.2 GB to 1.4 GB — and Noah noted the rest would “continue draining naturally over the next few minutes as macOS reclaims pages on its own.”

Weeks without a restart

Pressure is green, but swap sits at gigabytes and the Mac has been on for weeks. It got slow so gradually you stopped noticing.

Every app that has run since the last restart leaves a little behind — memory it asked for and stopped using. Weeks of that, and the machine carries its history around. On two Macs Noah diagnosed, uptime was 17 and 37 days with swap and stalled memory to match — and in both cases the restart was the single biggest speed boost available.

Fixrestart. It clears swap to zero and hands back everything the leaks were holding. If swap climbs straight back to where it was within a day, it wasn't residue — your workload is the next section.

The work genuinely doesn't fit

Swap climbs back within hours of every restart, pressure lives in the yellow, and the list of memory users is all things you actually use.

Sometimes nothing is broken. Heavy creative apps, large photo libraries, code editors, local AI tools — on an 8 GB Mac, that stack is simply bigger than the memory. Swap is the Mac doing its best, and no utility changes the arithmetic.

Fixrun fewer things at once — quit fully (⌘Q) what you're not using rather than leaving it in the Dock — and be honest about the ceiling. If this is your daily workload, more RAM (or a machine with more) is the only real fix.

“Free memory” is not the goal

One read worth unlearning: Activity Monitor shows big amounts of memory marked inactive or cached, and cleaner apps sell you fear about it. Don't buy it. That memory holds files macOS already read, kept for instant reuse — if an app needs the space, it's handed over immediately. On one Mac Noah checked, 12 GB of “inactive” memory was exactly this: normal file cache, not a problem. Empty memory is not faster than used memory.

Fixignore the cleaners and the “free RAM” number. Watch two things only: the Memory Pressure graph, and Swap Used. Green pressure with modest swap means the memory system is healthy, whatever the cleaners say.

The short version

  1. Activity Monitor > Memory: read Memory Pressure and Swap Used together.
  2. Yellow or red pressure? Quit the top memory apps; swap drains by itself.
  3. Green pressure but gigabytes of swap? Restart — it starts at zero.
  4. Straight back after a restart? The workload doesn't fit — fewer apps open, or more RAM.
  5. Ignore “free RAM” and cleaner apps — pressure green, swap modest is the goal.
Try Noah free

A Mac with room to breathe.

Just tell Noah what's wrong:

My Mac gets slow until I restart it.
Fix my slow Mac freeFree to tryNo credit cardOnly with your OK

Frequently asked questions

What is swap on a Mac?

Swap is a file on your drive that macOS uses as overflow memory when RAM is full. The least-used parts of apps get moved to it and read back when needed. It's normal in small amounts; because a drive is much slower than RAM, large amounts of actively-used swap make the whole Mac feel slow. Activity Monitor's Memory tab shows yours as Swap Used.

Why is my Mac's swap usage so high?

Either memory is being squeezed right now — check Activity Monitor's Memory Pressure graph for yellow or red, then quit the biggest apps in the Memory list — or the swap is leftover from days of use, which a restart clears to zero. If it climbs straight back after a restart, your combined apps and browser tabs genuinely don't fit in your RAM, and the fix is fewer things running or more memory.

Does restarting clear swap on a Mac?

Yes — swap starts at zero after a reboot. Quitting the apps that filled your memory also lets swap drain on its own over several minutes without a restart, as macOS reclaims what it needs. So restart for the fast, total reset; quit hogs for the targeted one.

Is high swap usage bad for my Mac?

It won't break anything — but it's a real cost either way. Swap lives on your drive, so sustained heavy swapping writes a lot and adds wear to an SSD over time, and it makes everything slower because the drive is far slower than RAM. Occasional gigabytes are nothing to worry about; swap that's large and growing every day is worth fixing for the speed alone.

How do I lower swap usage on a Mac?

Open Activity Monitor > Memory, sort by the Memory column, and quit the biggest apps you can spare — swap then drains by itself over the next minutes. Turn on your browser's memory-saving features and quit apps fully (Cmd-Q instead of the red button). If swap stays high with green memory pressure, restart. RAM cleaner apps don't help: they force macOS to drop work it was keeping for fast reuse, which just makes things reload slower.

Commands in this guide are standard, read-only macOS diagnostics unless noted; anything that changes your system is called out. When in doubt, back up first with Time Machine.