Sub topic 12
Time Machine local snapshots
This chapter assumes you have read the earlier chapters on purgeable space and the Storage settings pane. It also assumes you can run simple commands in Terminal and know that Time Machine is the macOS backup feature. You do not need to know APFS internals. The chapter explains the one idea you need.
What a local snapshot is
A local snapshot is a read-only record of your startup volume at one moment. Time Machine creates it on the same disk it is protecting. It is not a second copy of your files. APFS, the Mac file system, uses copy-on-write. When a snapshot exists, APFS keeps the old versions of any blocks that later change or get deleted, and it shares every unchanged block with the live volume.
A new snapshot therefore takes almost no space. Its cost grows as your files change afterward, because the old blocks have to be kept.
Local snapshots serve two purposes:
- They let Time Machine restore earlier versions of files when your backup disk is not connected, such as a laptop used away from the desk.
- They give Time Machine a stable view of the disk while a backup runs.
Snapshots are not a replacement for a real backup. They live on the same drive, so a failed drive takes them with it.
When snapshots are created and removed
When Time Machine is turned on, macOS creates snapshots roughly hourly and at the start of each backup. Snapshots are kept for about 24 hours. After that macOS thins them out, and it removes the older ones automatically. It also removes them sooner when the disk runs low on space.
If Time Machine is turned off, macOS does not create these snapshots. Other system features, such as software updates, can still create their own APFS snapshots. These are managed by macOS and are not covered here.
The lifecycle looks like this:
Why snapshots explain "I deleted files and nothing changed"
Suppose you delete a 20 GB video. If a snapshot taken earlier still references those blocks, APFS cannot free them. Free space stays the same. Within a day, or sooner if the disk fills up, macOS removes the snapshot and the space comes back.
This is also why the Storage settings pane and Finder can disagree. The space that snapshots hold is counted as purgeable. The system treats purgeable space as available when it needs room, but it does not release it until then. Some tools report purgeable space as free and some do not.
Listing local snapshots
Use tmutil, the Time Machine command-line tool, to see what exists on the startup volume:
tmutil listlocalsnapshots /Typical output looks like this:
Snapshots for volume group containing disk /:
com.apple.TimeMachine.2026-11-27-094512.local
com.apple.TimeMachine.2026-11-27-104630.local
com.apple.TimeMachine.2026-11-27-114701.localEach name contains the creation date and time in the form YYYY-MM-DD-HHMMSS. The exact header line and the .local suffix vary by macOS version. If the command prints only the header, there are no snapshots. That is normal when Time Machine is off, or when macOS has just cleared them to make room.
You can also list just the dates, which is the format the delete command expects:
tmutil listlocalsnapshotdates /Measuring the effect
You cannot read a per-snapshot size from tmutil. APFS shares blocks, so the size of one snapshot depends on what changed after it was made. Measure the effect on the volume instead. Check free space before and after a change:
df -h /System/Volumes/DataCompare this with the purgeable figure in System Settings > General > Storage. Free space in df does not include purgeable space. The Storage pane's "available" figure does.
A large snapshot-held amount usually appears after heavy file churn. Examples are building large projects, importing and deleting video, or restoring and removing virtual machine images.
Deleting snapshots
Usually you should not. macOS already removes snapshots when it needs the space, and your apps can use purgeable space in the meantime. Delete snapshots by hand only when you have a specific reason:
- You are about to install something large and want to be sure the space is free.
- An installer or app refuses to proceed because it checks free space without counting purgeable space.
- You deleted a very large amount of data and want to see the space return now.
To delete a single snapshot, pass the date from the listing. This removes one snapshot and nothing else:
sudo tmutil deletelocalsnapshots 2026-11-27-094512To ask macOS to thin snapshots by an amount, use thinlocalsnapshots. The first number is the number of bytes you want to reclaim. The second is the urgency from 1 to 4. A higher urgency makes macOS remove snapshots more aggressively.
sudo tmutil thinlocalsnapshots / 10000000000 4This asks for about 10 GB. macOS may free less than that if the snapshots hold less. After either command, run tmutil listlocalsnapshots / again to confirm the result.
Turning off snapshot creation
There is no separate switch for local snapshots in System Settings. They follow Time Machine itself. Turning Time Machine off stops new ones. macOS then removes the existing ones over time.
Doing this removes a safety net to solve what is usually a short-term space problem. In most cases the better choices are:
- Wait. macOS reclaims the space automatically, within about a day or when it is needed.
- Make sure you have a working external backup.
- Delete the snapshots by hand only if you need the space immediately.
If you turn Time Machine off for a while, turn it back on afterward so your backups keep running.
Checking APFS snapshots with diskutil
diskutil can show APFS snapshots, including ones that Time Machine did not create. This helps when tmutil shows few snapshots but purgeable space is still high:
diskutil apfs listSnapshots /System/Volumes/DataThe output lists each snapshot's name, its UUID, and whether it is purgeable. A snapshot marked purgeable can be removed by macOS when needed. Do not delete snapshots with diskutil apfs deleteSnapshot unless you know exactly why. Snapshots made by the operating system, for example during an update, belong to macOS. Removing them can cause update or recovery problems. The tmutil commands above only touch Time Machine's own snapshots.
Common errors and how to read them
| Symptom | Likely cause | What to do |
|---|---|---|
| Free space did not grow after deleting big files | A snapshot still holds the old blocks | Wait, or thin or delete snapshots as shown above |
| `tmutil listlocalsnapshots /` prints only a header | No snapshots exist, so they are not the cause | Look at caches, large files, or other System Data |
| `deletelocalsnapshots` says the snapshot cannot be found | The date was typed wrongly, or macOS already removed it | Copy the date from `listlocalsnapshotdates /` |
| `Operation not permitted` or a permission error | The command needs `sudo`, or Terminal lacks Full Disk Access | Add `sudo`, and grant Full Disk Access in Privacy & Security if the error persists |
| Purgeable space is high but no Time Machine snapshots are listed | The purgeable space comes from something else, such as iCloud-cached files | Check the Storage categories and use `diskutil apfs listSnapshots` |
| Space returns, then shrinks again | Time Machine made a new hourly snapshot and files kept changing | This is normal behavior |
A repeatable routine
When Storage settings shows less space than you expect, follow this order:
- Run
df -h /System/Volumes/Dataand note the free space. - Run
tmutil listlocalsnapshots /to see whether snapshots exist. - Confirm your external Time Machine backup is recent.
- If you need space now, thin snapshots with
thinlocalsnapshots, or delete a single old one. - Run
df -h /System/Volumes/Dataagain and compare it with step 1.
Stop as soon as you have enough space. Removing more than you need only costs you restore points.
Exercise
You delete a 30 GB folder, but df -h /System/Volumes/Data shows no gain in free space. tmutil listlocalsnapshots / lists four snapshots from today. Explain why the space did not return, name one safe way to get it back, and say what you should check first.
Show answer
The snapshots still reference the blocks of the deleted files, because APFS keeps the old versions of changed or deleted blocks while a snapshot exists. The space is counted as purgeable and returns when macOS removes the snapshots, within about 24 hours or sooner if the disk runs low. To get it back now, run sudo tmutil thinlocalsnapshots / 30000000000 4, or delete one snapshot with sudo tmutil deletelocalsnapshots <date> using a date from tmutil listlocalsnapshotdates /. Before doing either, confirm that your external Time Machine backup is recent and working, because the snapshots are the local restore points. After the command, rerun df -h /System/Volumes/Data to check the result.
Exercise
A coworker says that turning Time Machine off is the best way to stop snapshots from using disk space. Give two reasons this is a poor first choice.
Show answer
First, it removes your local restore points and stops your regular backups, which is a larger loss than the temporary space snapshots use. Second, it is usually unnecessary: macOS already removes snapshots after about 24 hours and whenever the disk needs room, so the space returns on its own. If you need space immediately, thinning or deleting snapshots with tmutil does the job without disabling backups.