sleepimage

sleepimage is a macOS virtual memory file used to store system sleep data so the Mac can restore its previous state after deep sleep or power loss.

What is sleepimage?

sleepimage is a system file created by macOS in /var/vm to support safe sleep and hibernation. It stores the contents needed to restore your Mac’s previous session when the system enters deeper sleep states or loses power while asleep. Users most often encounter it when checking disk usage, troubleshooting low free space, or reviewing large system files. This file is part of normal operating system behavior rather than a document, cache, or app download. Its size can be substantial because it is tied to memory usage, and macOS may recreate it automatically when needed.

Review files before deleting with diCleaner

Inspect caches, support files, folders, and related data before deleting items on Mac.

Download diCleaner

Safety overview

Status: Mostly safe

This is a legitimate macOS system file, but deleting it is not routine cleanup. Removing it can interfere with sleep and resume behavior until the system recreates it, and on some setups it may affect how the Mac recovers from deep sleep or unexpected power loss. If disk space is tight, treat it as system-managed data rather than personal clutter.

Recommendation: Keep sleepimage in place during normal use. If you are troubleshooting storage or power-management behavior, use macOS system settings or trusted maintenance steps instead of manually deleting system sleep files, since the file may return and its removal can reduce sleep recovery protection.

File path

  • /var/vm/sleepimage

Share your experience

Be the first to share your experience.

Share your experience with this file or folder