Skip to content
86% off$349 $48.86code BF2026

Guides

How to Run a Virtual Machine on a Mac (Apple Silicon & Intel)

What your Mac can run in a virtual machine, how much memory and CPU to give one, and step-by-step setup for your first macOS or Linux VM on a Mac.

GuideUpdated 12 min read

On this page

To run a virtual machine (VM) on a Mac, you install a VM app (macOS doesn't include one), create a VM from an installer or disk image, and start it in a window. On an Apple silicon Mac, a VM runs ARM (arm64) systems: macOS (up to two VMs at once), ARM Linux, and Windows 11 on Arm in apps that support Windows. As a starting point, give a VM at most half your Mac's memory and one fewer core than your Mac has.

What a virtual machine is, and what a Mac can run in one

A virtual machine is a complete computer simulated in software. It runs its own operating system (the "guest") on your Mac (the "host"). Its disk is a large file or package on your Mac, and it gets the share of memory and processor cores that you choose. The guest can't see your Mac's files unless you share a folder with it. A crash or bad update inside the guest doesn't touch macOS on your Mac.

People usually run a VM for one of these jobs:

macOS has no built-in VM app. It does include Apple's Virtualization framework, which apps such as Hermitbox and UTM use to run VMs. Apple's Virtualization Framework, Explained covers how that layer works.

Apple silicon vs Intel: which systems work

Your Mac's processor decides what a VM can run. To check which one you have, choose Apple menu ▸ About This Mac. A Chip line (Apple M1, M2 and so on) means Apple silicon. A Processor line that names Intel means an Intel Mac.

Guest systemApple silicon MacIntel Mac
macOSYes, up to two macOS VMs at a timeNot with Apple's Virtualization framework
ARM (arm64) LinuxYesOnly by emulation
Intel (x86-64) LinuxOnly by emulation, which is slower. Single x86-64 programs can run inside an ARM Linux VM with RosettaYes
WindowsWindows 11 on Arm, in apps that support Windowsx86-64 Windows, in apps that support it

What this means in practice:

How much memory, CPU and disk to give a VM

Hermitbox uses these rules to size a new VM. They make a sensible starting point in any VM app:

  • Memory: at most half your Mac's RAM, and always leave at least 2 GB for macOS.
  • Cores: at most one fewer than your Mac has. A VM on an 8-core Mac should get 7 at most.
  • Disk: no more than your free space minus 10 GB.
Your Mac's memoryMost a VM should getmacOS VMLinux VM
8 GB4 GB4 GB (the minimum)4 GB
16 GB8 GB8 GB4 GB
32 GB16 GB8 GB, more for heavy work4 GB

Minimums and suggested sizes:

GuestMinimum memoryMinimum diskSuggested
macOS4 GB64 GB4 cores, 8 GB, 80 GB
Linux1 GB16 GB2 cores, 4 GB, 32 GB

If you run two VMs at once, add their memory together and keep the total within what your Mac can spare.

A large disk number doesn't mean that much space is used right away. Hermitbox disks are sparse, so an 80 GB disk only uses as much space as the guest has written. You still need extra room beyond that. Hermitbox keeps downloaded macOS restore images and Linux installers for reuse, and suspending a VM needs free space of about its memory plus 2 GB.

You can change cores, memory and disk later in VM Settings ▸ Hardware while the VM is shut down. Disks can only grow. After you grow one, extend the partition inside the VM to use the new space.

Which virtual machine app to use on a Mac

We make Hermitbox, so weigh our view accordingly; we've tried to be fair to every app here. Prices and details are as of November 2026.

AppStrongest atPrice modelMain trade-off
Parallels DesktopWindows 11 on Apple silicon, Coherence mode, drag and drop between Mac and VMYearly subscription (Standard, Pro, Business)Standard edition is capped at 8 GB of VM memory and 4 virtual CPUs
UTMWindows, Linux, macOS and older systems, including emulated onesFree (the paid Mac App Store copy supports the project)Emulated systems are slower. On the Apple Virtualization backend, snapshots and disposable runs need macOS 27
HermitboxmacOS test machines and Linux, with snapshots, clones, throwaway runs, a CLI and ShortcutsPart of MacSuite, $349 one-timeWindows 11 on Arm only, no USB device passthrough, NAT networking only

How to choose:

  • Pick Parallels Desktop if you need Windows apps every day. Parallels describes itself as the only Microsoft-authorized way to run Windows 11 on Apple silicon. It also routes USB devices to the VM and supports DirectX 11. The Pro edition adds the prlctl command-line tool and developer features such as Vagrant support.
  • Pick UTM if you want a free app, or you need Windows, Intel or older systems through emulation. It also has a utmctl CLI, AppleScript support, USB passthrough and a gallery of prebuilt VMs.
  • Pick Hermitbox if you mainly run macOS versions and Linux on Apple silicon. You get APFS snapshots, Linux servers ready in about a minute, automation, and a menu bar item for VMs running in the background. It's a one-time purchase, with no 4-core or 8 GB cap.

VMware Fusion is another Mac VM app. As of November 2026 we couldn't confirm its pricing or license terms from an official source, so check Broadcom's VMware site before you choose it. VMware Fusion Alternatives and UTM vs Parallels compare the apps in more depth.

The steps below use Hermitbox, which needs macOS 14 Sonoma or later on your Mac.

Create a macOS VM step by step

Before you start, check two things:

  • You have an Apple silicon Mac.
  • Fewer than two macOS VMs are running.

Hermitbox runs macOS 13 and later as guests.

  1. In Hermitbox, choose File ▸ New VM… (⌘N, Command-N), or click + in the toolbar.
  2. Select the macOS card and click Continue.
  3. Under How would you like to install macOS?, choose one option:
    • Latest macOS (marked Recommended) gets the newest version your Mac supports from Apple.
    • Choose a Version… lists older releases, with the newest build of each major version.
    • Use an IPSW File… uses a restore image you already have. You can also drop an .ipsw file on the sheet.
  4. Click Continue.
  5. On Name and Size, type a Name and check the Cores, Memory and Disk sliders. If you moved a slider, Use Recommended restores the size fitted to your Mac.
  6. Click Create. Hermitbox downloads the image, checks it and installs macOS.
  7. When the VM starts in macOS Setup Assistant, complete it in the VM window as you would on a new Mac.
  8. In the VM, double-click the Hermitbox Guest disk on the desktop and click Install. Hermitbox Guest shares the clipboard with your Mac and follows your Mac's Light or Dark appearance.
Hermitbox New VM step 2 for macOS with Latest macOS selected, Choose a Version… and Use an IPSW File…
Three ways to install macOS.

Hermitbox's own estimate is about 10 minutes for a macOS VM. The download is most of that time.

If the download is interrupted, it resumes after you quit and reopen Hermitbox. If the install fails, Hermitbox keeps the downloaded image, so Try Again doesn't download it again.

You may see "Needs a newer macOS on this Mac or Apple's device support files." That means the version is newer than your Mac's macOS. Pick an older version, or update your Mac first.

To type in the VM, click inside it. While the VM has the keyboard, ⌘ shortcuts and ⌘Tab go to the guest. To give the keyboard back to your Mac, press and release ⌃⌥ (Control-Option).

For more on versions and the download cache, see Create a macOS virtual machine and How to Create a macOS Virtual Machine on Your Mac.

Create a Linux VM in about a minute

The fastest route skips the installer. Hermitbox's Ready in a Minute option downloads the vendor's ARM cloud image and verifies its checksum. On first boot it sets up your user, password and SSH keys.

  1. Choose File ▸ New VM… (⌘N), select Linux and click Continue.
  2. Under Ready in a Minute, pick Ubuntu Server 26.04 LTS, Debian 13 or Fedora Cloud 45, then click Continue.
  3. On Name and Size, check the name and sizes. User defaults to your Mac's short user name.
  4. Set a Password. It's optional if you have SSH public keys in ~/.ssh (files named id_*.pub). Otherwise it's required.
  5. Turn on Allow SSH with this Mac's key(s) if you want to log in with your SSH key.
  6. Turn on Add a desktop only if you want a graphical desktop. It installs on first start, so that first start takes a few minutes longer.
  7. Click Create.
  8. Start the VM: double-click its box, or select it and press ⌘R (Command-R).
  9. Wait until the inspector's Connect section shows an IP Address.
  10. Choose Open SSH ▸ Open in Terminal. To paste the command yourself instead, choose Copy SSH Command.

You can also install Linux from an installer ISO. The Installers gallery on the same screen offers these arm64 distributions:

  • Ubuntu Desktop
  • Ubuntu Server
  • Fedora Workstation
  • Debian
  • Kali
  • Alpine
  • Rocky Linux
  • openSUSE

Hermitbox checks gallery downloads against the vendor's checksum list. Other ISO File… and From URL… take any other arm64 ISO, but Hermitbox doesn't checksum those.

When setup finishes and the VM reboots, Hermitbox asks Finished Installing?. Click Eject and Start so the VM starts from its own disk.

If Rosetta is installed on your Mac, Hermitbox turns it on for new Linux VMs so they can run x86-64 Linux programs. Ready in a Minute VMs are set up for Rosetta automatically. ISO installs need a few commands inside Linux, which the inspector shows under Set Up in Linux.

Linux ready in a minute and How to Run Linux on a Mac cover Linux VMs in more detail.

Share files and the clipboard with the VM

Hermitbox doesn't support dragging files between Finder and a VM window. Use shared folders to move files, and clipboard sharing for quick copies.

Shared folders

  1. Select the VM. In the inspector, open Shared Folders, or click Sharing in the VM window's toolbar.
  2. Click Add Folder…, or drop a folder from Finder onto the list.
  3. If the VM shouldn't be able to change the folder, tick Read only.

Where the folders show up depends on the guest:

  • macOS guests: shared folders appear in My Shared Files (needs macOS 13 or later in the VM).
  • Ready in a Minute Linux VMs: they're already mounted under /mnt/mac.
  • Linux VMs installed from an ISO: run this command inside Linux to mount them:
bash
sudo mkdir -p /mnt/mac && sudo mount -t virtiofs hermitbox /mnt/mac

This creates /mnt/mac and mounts your shared folders there until the VM shuts down. To unmount them, run sudo umount /mnt/mac. To mount them at every start, use the copyable "Mount at every start" command in Hermitbox, which adds the mount to /etc/fstab.

If the VM started with no shared folders, any folder you add applies the next time it starts.

Clipboard

Clipboard sharing is on by default for new macOS and Linux VMs.

  • macOS guests need Hermitbox Guest installed. Text, rich text, images and copied files (not folders) go both ways, up to about 48 MB. Copying from the VM to your Mac works only while that VM's window is the active window. Items that password managers mark as concealed are never shared.
  • Linux guests need spice-vdagent. Most desktop installs already include it. For others, Hermitbox shows the install command for your distribution under Set Up in Linux. After you install it, restart the VM.

If paste still fails, see Copy and Paste Not Working in a Mac VM.

Use snapshots to undo mistakes

A snapshot saves the VM's state, so you can roll back after a bad update or a risky install.

In Hermitbox, snapshots are APFS clones. They're instant and take no space until the VM changes. On a disk that isn't APFS they're full copies, and Hermitbox asks before taking one. The default library folder is on your startup disk, which uses APFS.

To take a snapshot and roll back:

  1. Select the VM and choose Machine ▸ Take Snapshot (⇧⌘S, Shift-Command-S), or click Take Snapshot in the VM window. If the VM is running, it pauses briefly.
  2. To roll back, open the inspector's Snapshots tab, click the snapshot's ⋯ menu and choose Restore….
  3. Leave Snapshot the current state first on, so you can return to where you were.

To take snapshots automatically, tick Before each start in the Snapshots tab and choose how many to keep (1 to 20; the default is 3). This needs an APFS disk.

For one-off experiments, choose Machine ▸ Run Without Saving Changes (⌥⌘R, Option-Command-R). The VM runs as a throwaway copy with a "Disposable" badge. Everything that changed is discarded when it stops. Snapshots, clones, templates and throwaway runs covers these options in more detail.

If it doesn't work

What you seeWhyFix
"Two macOS VMs Are Already Running"Apple allows two macOS VMs at a time, and throwaway runs countShut one down with Machine ▸ Shut Down (⌘., Command-Period), then try again. Linux VMs don't count.
"This macOS Can't Run Here Yet"The restore image is newer than your Mac's macOSUpdate your Mac, or pick an older release under Choose a Version….
"These Settings Won't Work"The VM asks for more cores or memory than this Mac can giveShut the VM down. Open VM Settings… (⌥⌘,) ▸ Hardware and lower Cores or Memory.
"Disk Full" or "Not Enough Space to Suspend"The disk that holds your VMs is nearly fullFree up space. Or open Downloads in the sidebar and click Remove Unused… to delete images no VM uses.
Mac shortcuts do nothingThe VM has the keyboardPress and release ⌃⌥ (Control-Option).
Copy and paste doesn't work between Mac and VMHermitbox Guest isn't installed (macOS), spice-vdagent is missing (Linux), or clipboard sharing is offInstall the missing piece in the VM, check the Clipboard switch under Sharing, then restart a Linux VM.

Troubleshooting lists every message Hermitbox can show.

FAQ

Can I run Windows in a VM on an Apple silicon Mac? Yes, in an app that supports Windows. Parallels Desktop runs Windows 11 on Apple silicon, and UTM also runs Windows. Hermitbox runs Windows 11 on Arm from your own ISO, since version 1.2.0.

Does a running VM slow down my Mac? A running VM can use up to the cores and memory you gave it. Pause (⌘P, Command-P) freezes it in memory. Suspend saves its state to disk and stops it, and the next start picks up where you left off. In Hermitbox, the When Idle setting in the inspector can pause or suspend a VM automatically. Running VMs also pause when your Mac sleeps.

Is a VM a safe place to test risky software? A VM can't read your Mac's files unless you share a folder, so turn off shared folders and clipboard sharing before you test untrusted software. The VM still reaches the internet through your Mac's network. Use a throwaway run or a snapshot so you can discard whatever the software changed.

Hermitbox is part of MacSuite; you can try it free for 7 days.

Every app.
One purchase.