Can You Delete DMG Files After Installing on Mac?
Yes. Once the app is in your Applications folder and opens from there, the DMG has done its job and is safe to delete. Eject the installer disk first, then move the DMG to the Trash. AutoShelf can do this for you every time.
Download for MacPublished · Updated
How to delete a DMG file safely
A DMG is a disk image, a container that holds the app while you install it. Deleting it does not touch the installed app.
Check the app is installed
Open Applications and launch the app from there. If it opens, the copy you need is installed.
Eject the installer disk
In the Finder sidebar, click the eject button next to the app's disk. A mounted DMG is still in use, so the Trash may refuse to empty.
Trash the DMG
Drag the .dmg file from Downloads to the Trash, then empty the Trash to get the disk space back.
When to keep a DMG file
Deleting is safe for almost everyone. These are the exceptions.
The app runs from the disk image
If you opened the app straight from the mounted disk and never copied it to Applications, the DMG is the app. Copy it to Applications first.
You need this exact version
Keep the DMG if the developer no longer offers that version for download, or you need to reinstall without an internet connection.
PKG installers are the same
A .pkg or .mpkg file installs the app and then has nothing left to do. Delete it once the install finishes.
Finding every old DMG
Open Downloads, choose View, then as List, and sort by Kind. Every Disk Image sits together, ready to review and trash.
Installer files pile up fast
- You download an app, drag it to Applications, and forget about the DMG. Weeks later there are dozens of them.
- PKG and MPKG installers stick around long after the installation is done, eating disk space for no reason.
- Installer files can range from a few MB to over a GB. Over time they waste significant storage.
Delete DMG files automatically
AutoShelf includes ready-made templates for installer cleanup. Pick one, choose your folder, and you never clean up an installer again.
Go beyond the basics
Delay before action
Set a delay so files are only trashed after a few minutes. Useful because you need to open the DMG before it disappears.
Confirm before trashing
Enable confirmation to review each file before it gets sent to the Trash. You stay in control while AutoShelf handles the routine.
Move instead of trash
Prefer to keep installer files? Create a rule that moves them to an archive folder instead of deleting them.
Custom file extensions
Create rules for any extension: .zip, .rar, .7z, or anything else. AutoShelf matches by extension, not just templates.
Frequently asked questions
-
What is a DMG file?
A DMG (Apple Disk Image) is the file most Mac apps are downloaded as. Opening it mounts a virtual disk in Finder, and you drag the app from that disk into Applications to install it.
-
Is it safe to delete DMG files?
Yes, once the app is installed in Applications. The DMG is only the installer. Deleting it does not remove or damage the app.
-
What happens if I delete a DMG file?
The installer is gone and you get the disk space back. The installed app keeps working. If you ever need to reinstall, download it again from the developer.
-
Why can't I delete a DMG file?
The disk image is probably still mounted. Eject it from the Finder sidebar, quit any app running from it, then try again.
-
Can I delete PKG and MPKG files after installing?
Yes. Once the installer finishes, the package has nothing left to do. AutoShelf's Auto-trash Installers template removes .dmg, .pkg, and .mpkg files automatically.