All posts

Is It Safe to Delete DMG Files on Mac After Installing?

Yes, once the app is in Applications the DMG is just packaging. Here is the one check to do first, which installers are worth keeping, and how to find and clear every disk image on your Mac.

8 min readis it safe to delete dmg files after installing mac · delete dmg files mac · can i delete dmg files
Is It Safe to Delete DMG Files on Mac After Installing?

Is It Safe to Delete DMG Files on Mac After Installing?

Yes. Once the app is in your Applications folder, the DMG file it came in is packaging, and deleting it doesn't touch the app. Do one quick check first, and hang on to the handful of installers you can't download again. Everything else in that pile of .dmg files can go.

That pile is usually bigger than people expect. A browser installer runs 100 MB or more, an office suite or a game launcher can be several gigabytes, and most Downloads folders have a dozen of them nobody has opened since the day they arrived.

What a DMG Actually Is

A .dmg is a disk image. Double-click it and your Mac mounts it like a USB stick: a new item shows up in the Finder sidebar under Locations, and a window opens with the app icon and, usually, an arrow pointing at Applications.

Installing means dragging the app onto that arrow. That copies the app to your own disk. From then on the app runs from Applications and never looks at the disk image again, so the DMG in Downloads is the box the app was delivered in.

The One Check Before You Delete

Make sure the app really is in Applications.

A surprising number of people open an app straight from the mounted disk image and never copy it over. It works, so you don't notice. Then you eject the image, or delete the DMG, and the app is "gone". The next time you click its Dock icon you get a question mark.

So open Finder, press Shift-Command-A to jump to Applications, and look for the app by name. If it's there, the DMG can go. If it isn't, mount the DMG once more, drag the app into Applications, and then delete the DMG.

When It's Worth Keeping One

Most DMGs can be downloaded again in under a minute, which is the whole argument for deleting them. Keep the ones that can't:

  • An older version you depend on. If the new release dropped a feature, broke a plugin or needs a paid upgrade, that old installer may be your only copy.
  • Software from a developer who has disappeared. Small apps get abandoned. When the website goes, the installer goes with it.
  • Drivers for specific hardware, like a printer, scanner or audio interface, where the vendor's support page is a maze.
  • Anything tied to a license or a one-time download link you can't regenerate.

Don't leave the keepers in Downloads. Make a folder such as Documents/Installers and move them there, so the next cleanup doesn't sweep them up by accident. Four or five files is normal. If you end up keeping twenty, be honest about whether you'll ever reinstall them.

How to Delete a DMG Safely

  1. Eject it if it's mounted. Look in the Finder sidebar under Locations. If the disk image is listed there, click the eject button next to it. Dragging a mounted disk icon from the desktop to the Trash ejects it too.
  2. Move the DMG file to the Trash. Select it in Downloads and press Command-Delete.
  3. Empty the Trash when you're ready.

If emptying the Trash fails because the file is "in use", the image is still mounted somewhere. Eject it and try again.

You can also skip step 3 for good. In System Settings > General > Storage, turn on Empty Trash Automatically, and your Mac removes anything that has sat in the Trash for more than 30 days. The same option lives in Finder > Settings > Advanced as "Remove items from the Trash after 30 days". You get a month to change your mind about an installer, then it's gone without you thinking about it.

Finding Every DMG on Your Mac

Downloads holds most of them, though not all. Old installers end up on the Desktop, in Documents, and in folders you made once and forgot.

In Finder. Open Downloads, switch to List view (Command-2) and click the Kind column header. Disk images group together, so you can click the first one, Shift-click the last, and review the whole block at once. Then click the Size column to see which ones are worth the trouble.

For the rest of the Mac, press Command-F in any Finder window, choose This Mac, and search for .dmg with the filter set to Name.

In Storage settings. Go to System Settings > General > Storage and click the info button next to Documents. The Large Files and Downloads buttons list files by size, which makes the 3 GB installer from two years ago easy to spot.

In Terminal. This lists every DMG in your home folder:

mdfind -onlyin ~ -name .dmg

Work from the biggest file down. A few old Xcode, Office or game installers can add up to tens of gigabytes, and those are the ones worth ten minutes of your time. A 2 MB utility installer isn't.

What About .pkg Files?

Same answer. A .pkg is an installer package: you double-click it, click through the Installer app, and it puts the software where it belongs. Once that's done and the software works, the .pkg file in Downloads has done its job.

macOS keeps its own record of what a package installed, separate from the file you downloaded. If you're curious, pkgutil --pkgs in Terminal lists those receipts. Deleting the .pkg doesn't remove the receipt, and it doesn't uninstall anything.

The same exception applies, though. Keep the package if you can't get it again.

Stop Installers Piling Up in Downloads

DMGs pile up for a boring reason. By the time the install finishes you're already using the new app, and the installer is the last thing on your mind. "Eject, trash, done" is a good habit. Most of us don't keep it.

What we do instead is use Ornix, our menu bar app for Mac. Ornix watches a folder you pick, like Downloads, and moves each new file into a subfolder by type the moment it lands: Image, Video, Audio, Document, Compressed, Installer and Other. It ignores files that are still downloading (.crdownload, .part, .download), so a half-finished installer never gets moved.

One setting matters for this. Installer is the one category Ornix leaves off when you add a folder, so out of the box your DMGs and PKGs stay right where they downloaded. That suits anyone who opens an installer the moment it finishes. If you'd rather have installers filed away too, open Ornix Settings, go to Folders, select Downloads, and under Advanced Settings > Categorization turn on Installer in Category filters.

From then on every new .dmg and .pkg goes to Downloads/Installer. Once a month, open that folder, sort by Date Added, pull out the one or two you want to keep, and trash the rest. It's quick, because nothing else is mixed in.

Ornix stops there, though. It never deletes anything, and it doesn't decide which installers are safe to throw away. You do. It puts them in one place so the decision takes a minute instead of an afternoon. Every move shows up in its history (the last 50, kept for 7 days) with Undo, and it sorts by file type with fixed rules, so the same kind of file always lands in the same folder.

The free version watches one folder, which covers Downloads. Watching more than one folder is part of Pro, a one-time $4.99 rather than a subscription. Ornix needs macOS 14 or later.

If the rest of your Downloads folder needs the same treatment, our guide to cleaning up the Downloads folder on Mac covers everything that isn't an installer.

Common Questions

Does deleting a DMG uninstall the app?

No. The app lives in Applications, not in the DMG. To uninstall, drag the app itself to the Trash, or run the uninstaller it shipped with if it has one.

Why can't I delete a DMG file?

Usually because it's still mounted. Eject the disk image from the Finder sidebar, then empty the Trash again.

Is it safe to delete DMG files I never opened?

Those are the ones to look at before you trash them. If you never installed the app, you may still want it. Open the file, install the app or decide you don't need it, and then delete.

What about .exe and .msi files in my Downloads?

Those are Windows installers and won't run on a Mac. Unless you keep them for a Windows PC or a virtual machine, they can go.

Do I need a cleaner app for this?

No. Finder search, Storage settings and the Trash cover it. A cleaner can find large files for you, but it can't tell which installer you'll want again any better than you can.

The Short Version

Check that the app is in Applications, park the few installers you couldn't download again in their own folder, and delete the rest.

If you change only one thing today, make it Empty Trash Automatically. Whatever you trash from then on clears itself out after 30 days, no second cleanup day needed.

Download Ornix free on the Mac App Store →

More from Kolee

Read next

Dec 4, 2026
How to Sort Files into Folders by Date on Mac Automatically
Dec 4, 2026
How to Auto Delete Old Files in Your Mac Downloads Folder
Dec 1, 2026
iPhone Photo Composition: The One Fix Each Shot Needs