DMG File
macOS Disk Image (.dmg)
What is a DMG file?
A DMG file is a macOS disk image. When you open it on a Mac, it “mounts” like a virtual drive and usually contains an app installer (often an .app you drag into Applications) or a set of files.
Common uses
- Distributing Mac apps outside the App Store
- Packaging installers and resources into one file
- Read-only software distribution images
- Compressed archives for large Mac downloads
- Backup or disk-image style packaging
How to open a DMG file
- macOS: Double-click to mount, then open the contents
- Install: Commonly drag the .app into Applications
- Windows: Not native (requires a DMG extraction tool)
- Tip: If macOS blocks it, check Gatekeeper prompts and the source
Common problems
- App blocked because it’s from an unidentified developer
- Mount fails due to corruption or incomplete download
- App won’t run on your macOS version (compatibility)
- You forgot to eject the mounted image after install
- Security risk if DMG is from an untrusted source
History
Disk images have long been used on macOS to distribute software and bundled files in a clean, mountable format. DMG became a standard for downloadable installers because it’s compressed, supports read-only images, and feels familiar to users.