Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Install macOS on Windows: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Running macOS on a Windows PC is possible through a virtual machine, which lets you test the Mac operating system without buying Apple hardware. This guide walks you through creating a macOS virtual machine using free tools, covering preparation, installation, and the fixes for the problems people hit most often. Be aware that Apple's software licence permits macOS to run only on Apple-branded hardware, so this setup is best treated as a learning or testing environment rather than a permanent daily-use system.

What You'll Need

  • A Windows PC with a recent Intel or AMD processor that supports hardware virtualisation (VT-x or AMD-V), enabled in the BIOS/UEFI.
  • At least 8 GB of RAM (16 GB recommended) and 60 GB of free disk space for the virtual machine.
  • A virtualisation application such as VirtualBox (free) or VMware Workstation Player (free for personal use).
  • A macOS installer image in ISO or DMG format. You must obtain this from Apple's own download channels or from a Mac you own; do not use pirated copies.
  • A tool to convert the macOS installer into a bootable virtual disk, such as a community-built VirtualBox plugin or a script that prepares the image.
  • A USB keyboard and mouse (some setups have trouble passing through laptop trackpads).
  • Patience: the first boot and installation can take 30–60 minutes.

Step-by-Step

  1. Enable virtualisation in the BIOS/UEFI. Restart your PC and press the setup key (usually F2, F10, Del, or Esc) as it boots. Look for a setting named Intel Virtualisation Technology, VT-x, SVM, or AMD-V and set it to Enabled. Save and exit. Without this, the virtual machine will refuse to start or will run extremely slowly.
  2. Install your virtualisation software. Download VirtualBox from its official site and run the installer, accepting the default options. If you prefer VMware, install Workstation Player instead. Restart Windows after installation so the virtual network drivers load correctly.
  3. Prepare the macOS installer. If you have a DMG from Apple, convert it to an ISO or to a virtual disk format your software can boot. Community tools exist for this, but follow their documentation exactly; a malformed image is the most common cause of a black screen at boot. Keep the prepared file in a folder with a short path, such as C:\macos, to avoid path-length errors.
  4. Create a new virtual machine. In VirtualBox, click New, name it macOS, and choose Mac OS X as the type and the matching version. Allocate at least 4 GB of RAM (8 GB if your PC has 16 GB or more) and create a virtual hard disk of 60 GB or larger, stored as a VDI file. Do not enable EFI unless your guide specifically requires it.
  5. Attach the installer. Open the VM's Settings, go to Storage, and attach your prepared macOS image to the optical drive or as a hard disk, depending on the format. Set the boot order so the installer comes first.
  6. Adjust system settings. In Settings, enable PAE/NX under System > Processor, set the chipset to the option your guide recommends, and under Display give the VM at least 128 MB of video memory. Disable USB 3.0 if the installer fails to see your keyboard.
  7. Start the VM and begin installation. Click Start. When the Apple logo appears, wait; the first boot can sit on a progress bar for several minutes. Choose your language, open Disk Utility, select the virtual disk, and erase it as Mac OS Extended (Journaled) with a GUID partition map. Close Disk Utility and choose Install macOS.
  8. Complete setup. Accept the licence, select the disk you erased, and let the installer run. The VM will restart several times; leave it alone until you reach the welcome screen. Create a user account and skip signing in with an Apple ID if you only need a test environment.
  9. Install guest additions if available. These improve mouse, display, and clipboard integration. If your virtualisation software does not offer macOS guest additions, expect to use the VM in a window with limited resolution.
  10. Shut down properly. Always use the Apple menu > Shut Down inside macOS rather than closing the VM window, which can corrupt the virtual disk.

Common Mistakes

The single biggest mistake is skipping the BIOS step. Many PCs ship with virtualisation disabled, and the VM either fails to boot or crawls. Second, people allocate too little RAM; 2 GB will technically boot but macOS will be unusable. Third, using a corrupted or incomplete installer image leads to endless Apple logos or kernel panics. Fourth, resizing the virtual disk after installation without resizing the partition inside macOS leaves the extra space unusable. Finally, force-closing the VM window instead of shutting down properly damages the virtual disk and can require a full reinstall.

Tips

Keep the VM on an SSD; macOS is disk-heavy and a mechanical drive makes it painfully slow. Snapshot the VM right after installation so you can roll back if an update breaks it. Disable Windows Hyper-V if VirtualBox refuses to start, since the two hypervisors conflict. Use a wired keyboard and mouse if possible. Don't expect graphics acceleration for video editing or games; the virtual GPU is basic. And check your PC's CPU support list before starting, because some very old processors lack the instructions macOS expects.

Troubleshooting

Black screen or stuck Apple logo: the installer image is likely malformed or the VM settings are wrong. Rebuild the image and confirm the chipset and EFI settings match your guide. Virtual machine won't start: virtualisation is disabled in BIOS or Hyper-V is running; disable Hyper-V in Windows Features. Installer can't see the disk: you skipped erasing it in Disk Utility, or the disk controller type is incompatible; try the other controller option. Very slow performance: increase RAM and CPU cores, and move the VM to an SSD. Mouse or keyboard not working: disable USB 3.0 in the VM settings and use a USB 2.0 port. Kernel panic during install: reduce allocated CPU cores to two and retry; some installers are sensitive to core count.

Frequently Asked Questions

Is installing macOS on Windows legal? Apple's licence restricts macOS to Apple hardware, so a virtual machine on a PC is generally outside the licence terms. Use it for testing and learning, not as a production system.

Will it run at full speed? No. A virtual machine shares your CPU and lacks proper graphics acceleration, so macOS will feel slower than on a Mac, especially for video or 3D work.

Can I use iMessage and iCloud? Signing in may work but is unreliable in a VM and can trigger security checks. Avoid signing in with your main Apple ID.

Do I need a Mac to get the installer? Apple distributes macOS installers through its own channels, and some preparation steps are easier on a Mac. Without one, you'll rely on community tools and must source the image legitimately.

Will Windows and macOS run at the same time? Yes, the VM runs in a window alongside Windows, but both share RAM and CPU, so close heavy Windows apps while macOS is running.

Can I upgrade macOS later? Yes, through Software Update inside the VM, but take a snapshot first because updates sometimes break virtual machines.