---
id: mac-storage-basics.what-are-swap-files-on-a-mac
url: https://storagestudio.us/faq/mac-storage-basics/what-are-swap-files-on-a-mac
category: "Mac storage basics"
subcategory: "Memory, swap and speed"
question: "What are swap files on a Mac, and why do they use disk space?"
alt_questions:
  - "swap used mac activity monitor"
  - "virtual memory disk space mac"
  - "swapfile mac huge"
  - "vm folder mac size"
  - "mac swap memory explained"
short_answer: "Swap files hold memory macOS has moved to disk when RAM is full. They count as System Data, show as Swap Used in Activity Monitor, and clear on restart."
tags: ["swap", "memory", "system data"]
related: ["https://storagestudio.us/faq/mac-storage-basics/why-does-system-data-shrink-after-a-restart", "https://storagestudio.us/faq/mac-storage-basics/is-storage-the-same-as-memory"]
applies_to: "all"
last_reviewed: 2026-10-01
---

# What are swap files on a Mac, and why do they use disk space?

When apps need more memory than your Mac has, macOS compresses memory and, if needed, moves some of it to disk in **swap files**. They live in a hidden system volume and are counted in System Data. You can see how much is in use on the **Memory** tab of Activity Monitor (**Swap Used**).

Swap is normal in small amounts. Large, constant swap means memory is over-stretched — quitting heavy apps or browser tabs helps — and a restart clears the files. Don't try to delete them by hand.
