Can You Delete .dmg Files on a Mac? Yes, Here's How
In short: That pile of installer files in your Downloads folder is probably taking up more space than you think. Yes, you can delete .dmg files on a Mac once you've installed the app. Here's what a .dmg actually is and how to clear them out safely.
If your Downloads folder is full of files ending in .dmg, you're not alone. Every time you download an app from a developer's website, you usually get one of these. They add up fast, and a single one can be hundreds of megabytes or more. So the natural question is: can you delete .dmg files on a Mac? The short answer is yes, in almost every case, and this guide explains what a .dmg is and how to clear them out without breaking anything.
What Is a .dmg File, Exactly?
A .dmg is a disk image. Think of it as a virtual, read-only disk that macOS can mount, exactly like plugging in a USB drive. Developers use them to package apps for download. When you double-click a .dmg, macOS mounts it and a window opens, often showing an app icon and an arrow pointing at an Applications shortcut. You drag the app across, and that copies the real application onto your Mac.
Here's the key point: the .dmg is just the delivery container. Once you've dragged the app into your Applications folder, the actual app lives there independently. The .dmg has done its job. It's a bit like the cardboard box a new gadget ships in — useful for getting the thing to you, but you don't need to keep the box in your living room forever.
So Can You Delete .dmg Files on a Mac?
Yes. After you've installed the app, the .dmg is safe to remove. Deleting it does not uninstall the app or affect how it runs, because the app is already copied elsewhere. You can confirm this before deleting: open your Applications folder (in Finder, press Shift-Command-A) and check that the app is actually there. If it is, the installer has served its purpose.
There are a couple of sensible exceptions. Keep a .dmg if it's for an app you paid for or a specific version you might need to reinstall later, and the developer doesn't offer an easy re-download. And if a .dmg is still mounted — showing as a small white drive icon on your desktop or in the Finder sidebar — eject it first by dragging it to the Trash or clicking the eject arrow next to it, then delete the file.
How to Find and Delete .dmg Files
The fastest way to round them all up is with Finder's search:
- Open a Finder window.
- Press Command-F to start a search, or click the search box in the top-right corner.
- Type dmg in the search field.
- Under the search bar, set the filter to Kind is Disk Image, and set the location to This Mac so you catch strays outside Downloads.
- Review the results, select the ones you no longer need, and press Command-Delete to move them to the Trash.
Most of your .dmg files will be sitting in ~/Downloads, so that folder alone is often worth a quick cleanup. Sort it by size (in a Finder window, choose View then Show View Options, or use the size column in list view) to spot the biggest offenders first.
A Quick Reminder About Reversibility
Notice that every step above sends files to the Trash rather than erasing them outright. That's on purpose. Moving something to the Trash is reversible — if you delete a .dmg and realize an hour later you wanted it, you can open the Trash and put it back. Nothing is permanently gone until you choose Empty Trash. This is the safe way to clean: remove, review, and only then commit. Avoid tools or terminal commands that permanently delete files in one step, since there's no undo if you make a mistake.
Doing This Automatically (Safely)
Clearing installers by hand is fine, but if you'd rather a cleaner surface old .dmg files and other user-level junk for you, look for one that shows you a preview first, only touches user-level files by default, and sends removals to the Trash so they stay reversible. A cleaner also has no reason to phone home — you can verify that yourself with a firewall like Little Snitch and watch for unexpected network traffic.
On those terms, our top free pick is CoreSweep — free forever, with an optional one-time Pro at $49 (no subscription), zero telemetry, and reversible Trash-based deletes. The best-value runner-up is SkoonMac, which is free with a one-time $19 Pro. Either way, whether you clean by hand or with a tool, the principle is the same: once an app is installed, its .dmg is fair game, and sending it to the Trash means you can always change your mind.
Frequently asked questions
Does deleting a .dmg file uninstall the app?
No. A .dmg is just the delivery container. Once you've dragged the app into your Applications folder, the app lives there independently, so deleting the installer doesn't remove the app or affect how it runs. You can confirm the app is installed by opening the Applications folder (Shift-Command-A) before you delete the .dmg.
Where are .dmg files stored on a Mac?
Most .dmg files end up in your Downloads folder (~/Downloads), since that's where apps land when you download them. Some can stray elsewhere, though. To catch them all, search in Finder with the location set to "This Mac" and the Kind filter set to Disk Image.
Are there any .dmg files I should keep?
A couple of sensible exceptions. Keep a .dmg if it's for an app you paid for, or a specific version you might need to reinstall later, and the developer doesn't offer an easy re-download. Otherwise, once the app is installed, the installer has served its purpose and is safe to remove.
The easy way to do this safely
If you'd rather not do it by hand, the two cleaners we rate highest run with a preview first and the Trash as a safety net — and neither sends any data off your Mac.
CoreSweep (free to use; Pro a one-time $49) is our top pick. SkoonMac (free; Pro $19 once) is the best-value runner-up. See the full comparison.