Is it safe to delete UTM virtual machines (.utm)?
- Yes, when you no longer need the guest. Each VM is a
.utmpackage that holds its drives, so deleting it deletes the guest system and every file in it. Do it from UTM: its Remove action also deletes the data of VMs stored in UTM’s default place. - What it costs you: the whole guest, with no undo. Installer ISOs attached as removable drives aren’t inside the package, so they stay.
- Does it come back? No. Export or clone a VM first if you might want it later.
- SiftMac’s verdict: You decide
1. What it is
UTM runs virtual machines on a Mac with either Apple’s virtualization backend or QEMU. Each VM is a .utm package: Finder shows one file, but inside are the VM’s configuration and its drives.
- Non-removable drives are stored in the package. QEMU drives are usually QCOW2 images, which grow as the guest writes; raw images on an APFS disk are created sparse, so their empty space takes nothing.
- Removable drives, the ones used for installer ISOs, store only a bookmark to an image elsewhere.
- Snapshots hold the contents of the VM’s drives at a moment in time, and, when taken from a running QEMU VM, its running state too.
- A suspended state, if you paused the VM instead of shutting it down.
2. Where it is
~/Library/Containers/com.utmapp.UTM/Data/Documents
UTM keeps the VMs it creates in its own container, so they don’t appear in your Documents folder. A VM you moved, for example to an external drive with UTM’s Move action, is wherever you put it. To see where any VM really is, secondary-click it in UTM’s list and choose the Finder option in its action menu.
3. How big it gets
A QCOW2 drive takes the space the guest has written to it, and doesn’t hand space back to your Mac when the guest deletes files. Snapshots add to that. For each VM’s size on disk:
du -sh ~/Library/Containers/com.utmapp.UTM/Data/Documents/*.utm
4. How to delete it safely
- Shut the VM down and copy out any files you want from inside it.
- In UTM, secondary-click the VM in the list to open its action menu.
- Choose Remove. If the VM is stored in UTM’s default place and hasn’t been moved, its data is deleted too. A VM stored elsewhere is only taken off the list, and its
.utmpackage stays where it is.
From Terminal, UTM’s utmctl tool deletes a VM by name or UUID, and UTM’s documentation notes there’s no confirmation:
/Applications/UTM.app/Contents/MacOS/utmctl list
/Applications/UTM.app/Contents/MacOS/utmctl delete "<VM name>"
To keep a VM but use less space, delete snapshots you don’t need in its Snapshots tab, and discard a suspended state you don’t need with Delete under Current State. Then, for QEMU drives, the drive’s settings offer Reclaim Space and Compress, which rewrite the image without the zeroed space. UTM calls both experimental, says to back up the VM first, converts raw images to QCOW2 when you use them, and can’t reclaim space while snapshots or a suspended state exist.
Running TRIM inside the guest first, such as fstrim on Linux, and then shutting the VM down, lets Reclaim Space free more.
5. What happens afterwards
- A removed VM disappears from UTM. If it was in UTM’s default place, its drives and snapshots are deleted; check Finder for one you’d moved, which stays put.
- ISOs and other removable drive images stay where they were, outside the package.
- After deleting snapshots or reclaiming space, the VM starts as before. Deleted snapshots can’t be restored, and compression is one-time: data the guest writes later isn’t compressed.
Questions
Does Remove in UTM delete the VM’s files?
For VMs in UTM’s default folder, yes. For a VM you moved or opened from elsewhere, it only removes it from the list and leaves the .utm package on disk.
Why don’t my UTM VMs show up in Documents?
UTM keeps them in its own container, inside ~/Library/Containers/com.utmapp.UTM. The Finder option in a VM’s action menu opens the right folder.
Can I move a UTM VM to an external drive?
Yes. The Move action in a VM’s action menu moves it to another path, such as an external drive.
Is Reclaim Space safe to use?
UTM marks Reclaim Space and Compress as experimental and says to back up the VM first. They also convert raw images to QCOW2.
How SiftMac handles it. SiftMac doesn’t list or remove UTM virtual machines. They sit in UTM’s container in ~/Library/Containers, which SiftMac’s space map shows as private rather than reading, so check their size with du or in Finder, and remove them in UTM.
Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works