Skip to main content

Want to switch from the Mole Mac site to the Windows site?

Go to the Windows site
Mole
MacWindows
Features Tested apps Testimonials Pricing FAQ Blog
EnglishEN 简体中文中 繁體中文繁 日本語日 한국어한 FrançaisFR DeutschDE ItalianoIT EspañolES PortuguêsPT NederlandsNL
Buy Download

    Help, documentation, releases, and articles.

    Blog

    Can You Delete DMG Files on Mac After Installing an App?

    StoragePublished September 28, 2026Updated November 4, 20265 min read

    Yes, you can usually delete a downloaded .dmg after the app inside has actually been copied to Applications and opens from there. A .dmg is a disk-image file: double-clicking it mounts a volume, but mounting is not installation. If you launch the app straight from that volume, deleting or ejecting the image may stop that copy from working.

    A .pkg is different: it runs an installer that can place files beyond Applications. After the installer completes and the installed software works, its downloaded package is usually disposable too. Keep either file if you need an offline reinstall or that particular older version is difficult to obtain again.

    Check where the app is running from

    1. Open the downloaded .dmg. Its mounted volume appears in Finder, often in the sidebar under Locations.
    2. If it contains an app and an Applications shortcut, drag the app to Applications and wait for the copy to finish. If it contains an installer instead, run the installer and finish its steps. Apple's installation guide covers both disk images and packages.
    3. Eject the mounted volume in Finder, then open the app from Applications. If it opens with the image ejected, the installed copy no longer depends on that mounted image.
    4. Only then move the downloaded .dmg to the Trash. Empty the Trash when you are certain you no longer need that installer; until then it remains recoverable there.

    If Finder says the disk cannot be ejected because it is in use, quit the app or close documents opened from that volume and try again. Apple gives the same guidance. Do not treat a mounted image's app icon, a Dock shortcut, or an open window as proof that a separate copy was installed.

    A downloaded DMG mounts an image containing an app. Copy the app to Applications, eject the image, and open the copied app; keep images that contain personal files.
    Verify the copy in Applications or the completed package installation before deleting the download.

    Which file is safe to remove?

    File you found What to verify before deleting it
    Downloaded app .dmg The app was copied out of the mounted image and opens from Applications after ejection
    Downloaded installer .pkg The installer finished and the software it installed opens or works as expected
    App still opening from a mounted image Copy or install it first; the mounted image is still its current location
    Old installer kept for offline use Confirm that you no longer need that exact version or can get it again
    A disk image you created for documents or an encrypted archive Inspect and back up its contents; the image itself may be your only copy of the data

    The last row is the important exception. Disk Utility can create a disk image for files and folders, including encrypted images. Its .dmg extension does not make it an expendable installer. Open it and identify what it contains before deleting it; if it holds unique documents, keep an independent backup.

    Moving a downloaded installer to the Trash also does not uninstall software that was already installed. To remove the app and its related data, use its own uninstaller when one is provided, especially for software with helpers or extensions. A package can leave files and receipts outside the app; uninstalling a .pkg app is a separate job.

    When keeping an installer makes sense

    Keep the installer if the Mac must be set up without internet, your organization needs a specific tested version, or the developer may no longer offer that release. Store it somewhere intentional rather than leaving a pile of unidentified downloads. Deleting it saves disk space but may mean downloading it again later, if that version remains available.

    For ordinary downloads, the useful test is simple: eject the image, launch the installed copy, then remove the download. If the goal is to find other large files, use macOS Storage to see disk usage, not a blanket rule that every .dmg should go.

    Mole's Clean lists old installers under Installers: .dmg, .pkg, .mpkg, .xip, .iso and ZIP archives holding an app or installer, found in Downloads and Desktop or one folder below them. A file is listed only when it is at least 14 days old, has not been opened for 14 days, carries no Finder tag, is not mounted and is not open in another app, and reading those folders needs Full Disk Access. The rows start unticked, a row reads Installed when the same version of the app is already in Applications, and anything you pick goes to the Trash, so a disk image holding your own documents can still be restored.

    FAQ

    Can I delete a .dmg while the app is open?

    First establish whether the app is running from the mounted image or from Applications. Quit it, eject the image, and reopen the installed copy. If the image cannot be ejected because it is in use, do not assume installation is complete.

    Does deleting a .dmg uninstall the app?

    No. The downloaded image and an app copied to Applications are separate files. Removing the image only removes that installer copy.

    Can I delete a .pkg after installation?

    Usually, yes, after the installer has finished and the installed software works. Keep the package if you need an offline or exact-version reinstall; deleting it does not undo the installation.

    Are all .dmg files installers?

    No. A disk image can contain personal files or be an encrypted archive. Check its contents before treating it as a downloaded app installer.

    If your Mac is running out of space, try Mole to clear out junk and find large files.

    Try Mole

    Keep reading

    • StorageHow to Clean Up Disk Space on Mac Without Losing Files7 min read
    • StorageiCloud Drive Taking Up Space on Mac: Remove Downloads Safely4 min read
    • StorageMac Trash Won't Empty? Find the Item That Stops Finder3 min read

    Mole · 鼹

    Keep your Mac clean and light.

    v1.21.0 (387) · Release notes

    Product

    Mac Cleaner App Uninstaller Mac Optimizer Disk Analyzer System Monitor

    Support

    Help Documentation Releases Blog

    Legal

    Terms of Service Privacy Policy Refund Policy

    Resources

    For Windows CLI Tool Storage Cost Affiliate Program

    More Apps

    Yado 宿 Pake 殼 MiaoYan 語 Kaku 書

    Connect

    Twitter hi@mole.fit

    Mole’s only official website mole.fit, avoid installers from unknown sources

    The CLI stays free for terminal workflows.