Install macOS on a PC: Step-by-Step Guide
In this article
Yes, you can install macOS on a standard PC, but it requires a bootloader like OpenCore and compatible hardware. This guide walks you through creating a USB installer, configuring OpenCore, and installing macOS on a supported PC. You'll need a real Mac (or a working macOS VM) to create the installer, a 16GB USB drive, and a PC with Intel CPU (or certain AMD) and supported graphics. This process is often called a 'Hackintosh' and is not officially supported by Apple.
What You'll Need
- A PC with compatible hardware (Intel CPU recommended, supported GPU, and at least 8GB RAM).
- A 16GB or larger USB flash drive (will be erased).
- A working Mac (or a macOS virtual machine) to download macOS and create the installer.
- OpenCore bootloader (latest release) and proper EFI drivers/kexts for your hardware.
- Internet connection and a copy of the macOS installer (from the App Store).
- Patience and time (2-4 hours).
Step-by-Step
- Check hardware compatibility. Visit the OpenCore guide (Dortania's guide) and verify your CPU, motherboard, GPU, and Wi-Fi chip are supported. Intel Core 2 through 10th gen are common; AMD works but requires extra patches. NVIDIA GPUs are not supported in recent macOS versions.
- Download macOS installer on a Mac. Open the App Store, search for the macOS version you want (e.g., Monterey), and click Get. The installer will download to your Applications folder. Do not run it yet.
- Format the USB drive. Connect the USB drive to the Mac. Open Disk Utility, select the drive, choose Erase, set Name to 'MyVolume', Format to 'Mac OS Extended (Journaled)', Scheme to 'GUID Partition Map', then click Erase.
- Create the bootable USB installer. Open Terminal and run the following command (replace 'MyVolume' with your USB name and 'Install macOS Monterey' with the exact installer name):
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --nointeraction
Enter your admin password. Wait 20-30 minutes until it says 'Done'. - Download OpenCore and required files. Go to the Dortania OpenCore guide, download the latest OpenCore release, and download the needed kexts (e.g., Lilu, VirtualSMC, WhateverGreen for Intel graphics, AppleALC for audio) and ACPI files (SSDTs) for your motherboard.
- Build the EFI folder. Mount the EFI partition of your USB (using a tool like MountEFI or terminal command). Copy the OpenCore EFI folder to the EFI partition. Then edit the config.plist using a plist editor (like ProperTree) to match your hardware: set ACPI patches, boot args, and device properties. Follow the OpenCore guide's 'Configuration' section carefully.
- Set up BIOS/UEFI settings. Restart your PC, enter BIOS (usually by pressing Del or F2 during boot). Enable AHCI for SATA, disable Secure Boot, enable XHCI handoff, and set the USB drive as the first boot device. Disable CSM (Compatibility Support Module) if possible.
- Boot from the USB. Save BIOS changes and restart. Select the USB drive from the boot menu (often F12 or F8). You'll see the OpenCore picker. Choose 'macOS Base System' or the installer name.
- Install macOS. The installer will load. Open Disk Utility from the menu bar, select your target internal drive, erase it as APFS (or Mac OS Extended if older), then quit Disk Utility and select 'Install macOS'. Follow the on-screen prompts. The PC will restart several times; keep booting from the USB each time.
- Post-installation setup. After installation, boot into macOS. Then, copy the EFI folder from the USB to the internal drive's EFI partition (using a tool like MountEFI). This allows booting without the USB. Install kexts and run a tool like Hackintool to verify everything works.
Common Mistakes
- Using an unsupported GPU (e.g., NVIDIA Pascal/Turing) – macOS won't show graphics.
- Forgetting to disable Secure Boot in BIOS – boot will fail.
- Using the wrong SMBIOS (system model) – causes boot loops or kernel panics.
- Not editing config.plist correctly – the most common cause of boot failures.
- Booting from the internal drive before copying EFI – you'll get 'No bootable device'.
Tips
- Follow the OpenCore guide (Dortania) meticulously – it's the gold standard.
- Start with a spare hard drive to avoid losing your existing OS.
- Use an Intel iGPU (like HD 630) for the least trouble – discrete GPUs often need more patches.
- Back up your current OS before starting.
- Join Hackintosh communities (like r/hackintosh) for help with specific hardware.
Troubleshooting
- Boot loop or kernel panic: Re-edit config.plist, check for missing kexts or incorrect ACPI patches. Double-check your SMBIOS.
- Stuck at Apple logo: Boot with verbose mode (add -v to boot args) to see the error. Common fixes: add 'npci=0x2000' or 'darkwake=0'.
- No graphics acceleration: Ensure WhateverGreen kext is installed and your GPU is supported. For Intel, set the correct ig-platform-id in DeviceProperties.
- Wi-Fi not working: Most PC Wi-Fi chips are unsupported. Use a USB Wi-Fi dongle with a supported chipset (like Realtek RTL8811AU) or an Ethernet cable.
- Audio not working: Install AppleALC kext and set the correct layout-id in config.plist (check your motherboard's codec).
- If all else fails: Reset your BIOS to defaults, re-download the OpenCore guide's sample config, and start over. Many issues are caused by a single wrong setting.
Frequently Asked Questions
Is it legal to install macOS on a PC?
It violates Apple's End User License Agreement (EULA). It's not illegal in most places, but Apple may refuse support, and updates can break the system.
Can I use an AMD processor?
Yes, but it requires additional kernel patches (e.g., AMD kernel patches) and some software may not work due to CPU differences. Intel is much easier.
Will macOS get updates normally?
You can update through System Preferences, but each macOS update may require you to update OpenCore and kexts. Major updates often break the bootloader.
Can I dual-boot with Windows?
Yes, you can install macOS alongside Windows. Use separate drives or partitions, and use OpenCore to boot both. Be careful with disk formatting.
Do I need a Mac to create the installer?
Yes, the createinstallmedia tool is only available on macOS. You can also use a virtual machine (VM) on Windows, but it's more complex.
Will all my hardware work?
Not necessarily. Common issues: Wi-Fi, Bluetooth, and some audio chips. Check the Dortania hardware compatibility list before starting.