DMGs are compressed disk image files used to install applications on a Mac

This wikiHow teaches you how to open a DMG file on a Mac. Since DMG files are used predominately to install applications on Macs, you cannot properly open DMG files on Windows computers.

Things You Should Know

  • This cannot be done on Windows.
  • Install DMG files by dragging them from the "Downloads" folder to your "Applications" folder on Mac.
  • Only install DMG files from sources you trust since DMG files can contain malicious software or viruses.

Steps

  1. 1
    Double-click the DMG file. This will cause your Mac to attempt to open it, resulting in a pop-up message that says "[Name] can't be opened because it was not downloaded from the App Store."
    • If you don't see this window pop up, skip to the "Review the DMG's contents" step near the end of the section.
    • Since DMG files are typically downloaded, you'll usually find them in the "Downloads" folder in the Finder.
  2. 2
    Click OK when prompted. Doing so closes the window.
    Advertisement
  3. 3
  4. 4
    Click System Preferences. It's near the top of the drop-down menu. Doing so opens the System Preferences window.
  5. 5
    Click Security & Privacy. It's near the top of the System Preferences window.
  6. 6
    Click the lock icon. You'll find this in the bottom-left corner of the window. Doing so prompts a pop-up window.
  7. 7
    Enter your password, then click Unlock. Do this in the pop-up window. Entering your password will allow you to edit items on this page.
  8. 8
    Click Open Anyway. This option is to the right of the DMG file's name at the bottom of the page.
  9. 9
    Click Open when prompted. This will open your DMG file, allowing you to view its contents and continue with the installation.
  10. 10
    Review the DMG's contents. Most of the time, you'll use DMG files to install an app. However, some DMG files contain images or text files as well.
    • Anything ending in .app is an installable app.
    • You'll most likely see an "Applications" icon in the DMG window. This is a shortcut to your Mac's Applications folder.
  11. 11
    Install the DMG's app. Locate the icon for the app you're trying to install (e.g., Firefox), then click and drag the icon onto the "Applications" icon in the window. This will prompt the DMG file's app to begin installing; once it completes, you'll be able to find in in the Launchpad menu.
    • Depending on the application you're trying to install, you may have to click through additional options before the app installs.
  12. Advertisement

Community Q&A

  • Question
    I downloaded it and I have the DMG extractor, but it is telling me "The specified file is not recognized as DMG format" - is there is any solution? What can I do?
    Community Answer
    Community Answer
    Extract the file using 7-Zip. Right click on the DMG file and select "Open with 7-Zip." Select "Open archive." Give the path and extract the file.
Advertisement

Warnings

  • Be careful about installing unsigned software on your Mac. As with any software that doesn't come from the App Store, unsigned software carries risk of infection.
    ⧼thumbs_response⧽
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 676,567 times.
How helpful is this?
Co-authors: 17
Updated: October 25, 2022
Views: 676,567
Categories: File Manipulation
Article SummaryX

1. Double-click the DMG file.
2. Click OK on the error.
3. Click the Apple menu.
4. Click System Preferences….
5. Click Security & Privacy.
6. Click the lock.
7. Enter your password and click Unlock.
8. Click Open Anyway and then Open.
9. Drag the app to the Applications folder.

Did this summary help you?
Advertisement