---
title: "What is /private/var/vm (swap and sleep image) on Mac?"
description: "/private/var/vm (swap and sleep image) belongs to macOS. What’s inside, how big it gets, whether it’s safe to delete, and the right way to shrink it."
url: https://tidymac.space/folders/private-var-vm/
updated: 2026-10-30
---

[Home](/) [Folders](/folders/) /private/var/vm (swap and sleep image)

# What is the /private/var/vm (swap and sleep image) folder on my Mac?

It belongs to **macOS**. Here’s what’s inside and the right way to deal with it.

Leave aloneUsually 1 – 20 GBUpdated October 2, 2026By the Tidy Mac team

Short answer

The VM volume holds macOS swap files and the sleep image. They grow when memory is under pressure and shrink after a restart. Never delete them by hand. To reduce swap, quit memory-heavy apps or restart; macOS manages the space itself.

**Skip the manual steps.** Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

[Download free](/download/TidyMac.dmg)[Buy · $9.99 $29](/buy/)

**Location:** `/private/var/vm · System Volumes/VM`

## What’s inside

-   swapfile0, swapfile1, …
-   sleepimage

**Our verdict: Leave alone.** Removing this directly can break something. There’s a right way to shrink it.

## What actually helps

Restart the Mac. Swap files are removed at boot and recreated only as needed. Quitting apps that use lots of memory (browsers with many tabs, VMs) keeps swap small.

![](/img/brand/tidy-128.png)

### Find every folder like this on your Mac

Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.

[Download](/download/TidyMac.dmg) [Buy Tidy Mac · $9.99 $29](/buy/)

## Frequently asked questions

Can I delete /private/var/vm (swap and sleep image)?

Leave alone: Removing this directly can break something. There’s a right way to shrink it. The VM volume holds macOS swap files and the sleep image. They grow when memory is under pressure and shrink after a restart. Never delete them by hand. To reduce swap, quit memory-heavy apps or restart; macOS manages the space itself.

Where is /private/var/vm (swap and sleep image) on my Mac?

/private/var/vm · System Volumes/VM. In Finder choose Go › Go to Folder and paste the path.

How big does /private/var/vm (swap and sleep image) get?

Usually 1 – 20 GB.

## Keep reading

[What is “System Data” on a Mac, and why is it so big?Library](/learn/what-is-system-data-on-mac/)[What is com.apple.bird?macOS (iCloud Drive sync, “bird”)](/folders/com-apple-bird/)[What is com.docker.docker?Docker Desktop](/folders/com-docker-docker/)

Share:[X](https://x.com/intent/post?text=What%20is%20the%20%2Fprivate%2Fvar%2Fvm%20\(swap%20and%20sleep%20image\)%20folder%20on%20my%20Mac%3F&url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fprivate-var-vm%2F)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fprivate-var-vm%2F&title=What%20is%20the%20%2Fprivate%2Fvar%2Fvm%20\(swap%20and%20sleep%20image\)%20folder%20on%20my%20Mac%3F)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Ftidymac.space%2Ffolders%2Fprivate-var-vm%2F&t=What%20is%20the%20%2Fprivate%2Fvar%2Fvm%20\(swap%20and%20sleep%20image\)%20folder%20on%20my%20Mac%3F)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fprivate-var-vm%2F)

#### On this page

[What’s inside](#whats-inside)[What actually helps](#what-actually-helps)[FAQ](#faq)

**Tidy Mac**

See this on your own Mac in under a minute. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg)
