How to install windows 11 on MacBook using VirtualBox?

windows 11 on Mac using VirtualBox
Installing Windows 11 on a Mac using the free version of Oracle VirtualBox is a cost-effective way to run Windows in a virtual machine (VM) alongside macOS.
VirtualBox is open-source and supports both Intel-based and Apple Silicon (M1/M2) Macs, though Apple Silicon has some limitations due to its ARM architecture.
Below is a step-by-step guide to set this up using VirtualBox, tailored for a macOS host.
Prerequisites
- Mac: Intel-based or Apple Silicon (M1/M2/M3/M4). Intel is preferred for full compatibility; Apple Silicon requires a Windows 11 ARM ISO.
- VirtualBox: Free version (7.0.x recommended). Download from
virtualbox.org
. - Windows 11 ISO:
- Intel Macs: Standard x64 ISO from
microsoft.com/software-download/windows11
. - Apple Silicon: Windows 11 ARM ISO (e.g., from
uupdump.net
or Microsoft Insider Preview). - Space: 50GB+ free (SSD recommended; 64GB+ ideal).
- RAM: 8GB+ on your Mac (4GB minimum for the VM).
- Internet: For downloads and setup.
Step-by-Step Instructions to install windows 11 on MacBook using VirtualBox
Step 1: Install VirtualBox
- Download VirtualBox:
- Go to
virtualbox.org/wiki/Downloads
. - Select “macOS hosts” > Download the latest
.dmg
(e.g.,VirtualBox-7.0.14-xxx-OSX.dmg
). - Install:
- Open the
.dmg
, double-clickVirtualBox.pkg
, and follow prompts. - If blocked by Gatekeeper:
System Settings
>Privacy & Security
>Open Anyway
.- Or Terminal:
sudo spctl --master-disable
, install, thensudo spctl --master-enable
.
- Verify:
- Launch VirtualBox from
/Applications
or Spotlight (Command + Space
, type “VirtualBox”).
Step 2: Download Windows 11 ISO
- Intel Macs:
- Visit
microsoft.com/en-us/software-download/windows11
. - Select “Windows 11 (multi-edition ISO)” > Download the x64 ISO (e.g.,
Win11_23H2_English_x64.iso
, ~5-6GB). - Save to a folder (e.g.,
~/Downloads
). - Apple Silicon Macs:
- Windows 11 ARM isn’t publicly available as a single ISO from Microsoft. Use:
- Microsoft Insider Preview: Sign up at
insider.windows.com
, download a Windows 11 ARM64.iso
(e.g., build 22631). - UUP Dump: Go to
uupdump.net
, select “Windows 11 ARM64,” choose a build (e.g., 23H2), download, and convert to ISO using the provided script (run on Windows or a Mac with extra steps).
- Microsoft Insider Preview: Sign up at
- Save the
.iso
(e.g.,Win11_23H2_ARM64.iso
).
Step 3: Create a New Virtual Machine
- Launch VirtualBox:
- Open VirtualBox.
- New VM:
- Click
New
(orMachine
>New
). - Settings:
- Name: “Windows 11 VM” (or any name).
- Type:
Microsoft Windows
. - Version:
- Intel:
Windows 11 (64-bit)
. - Apple Silicon:
Windows 11 (64-bit)
(ARM isn’t listed—use this as a workaround).
- Intel:
- Click
Next
. - Memory:
- Set to 4096 MB (4GB; 8GB if your Mac has 16GB+ RAM) >
Next
. - Hard Disk:
- Choose
Create a virtual hard disk now
>Next
. - Type:
VDI (VirtualBox Disk Image)
>Next
. - Storage:
Dynamically allocated
>Next
. - Size: 64GB (80GB+ recommended) >
Create
.
Step 4: Configure the VM
- Select VM:
- In VirtualBox, highlight “Windows 11 VM” > Click
Settings
. - General:
- Advanced tab: Set
Shared Clipboard
andDrag’n’Drop
toBidirectional
(optional). - System:
- Motherboard: Enable
EFI
(check the box). - Processor: Set to 2 CPUs (4 if your Mac has 8+ cores).
- Check
Enable PAE/NX
. - Display:
- Video Memory: 128MB (max for better graphics).
- Check
Enable 3D Acceleration
(Intel only; optional). - Storage:
- Under “Controller: SATA,” click the CD icon >
Choose a disk file
. - Select your Windows 11 ISO (e.g.,
~/Downloads/Win11_23H2_English_x64.iso
) >OK
. - Network:
- Enable Adapter 1, set to
NAT
for internet >OK
.
Step 5: Install Windows 11
- Start the VM:
- Select “Windows 11 VM” > Click
Start
. - Boot:
- The VM boots from the ISO. Press any key if prompted to boot from CD/DVD.
- Windows Setup:
- Language/Time: Choose your preferences >
Next
. - Click
Install Now
. - Product Key: Enter one if you have it, or click
I don’t have a product key
(activates later). - Edition: Select Windows 11 Pro/Home >
Next
. - Agree to terms >
Next
. - Install Type:
- Choose
Custom: Install Windows only (advanced)
. - Select the unallocated space (your 64GB VDI) >
Next
. - Installation:
- Windows copies files, restarts (let VirtualBox handle reboots—don’t remove ISO yet). Takes 15-30 minutes.
- Setup:
- After install, configure Windows (region, network, account). Reach the desktop.
Step 6: Install VirtualBox Guest Additions (Optional)
- Why: Improves graphics, clipboard sharing, etc.
- How:
- In VirtualBox:
Devices
>Insert Guest Additions CD Image
. - In Windows VM: Open the mounted CD (e.g.,
D:
) > RunVBox_GAs_setup.exe
. - Follow prompts, restart the VM.
Step 7: Remove ISO and Finalize
- Eject ISO:
- VM Settings >
Storage
> Remove the ISO from Controller: SATA >OK
. - Boot Windows:
- Restart the VM (
Machine
>Reset
)—it should boot to Windows 11.
Troubleshooting
- Black Screen/Boot Failure:
- Intel: Ensure EFI is enabled. Add RAM/CPU.
- Apple Silicon: Confirm ARM ISO; VirtualBox ARM support is experimental—may need Parallels instead.
- “No TPM” Error:
- Windows 11 requires TPM 2.0. VirtualBox doesn’t emulate TPM natively:
- Edit VM settings > Add
-noTPM
in boot args (advanced), or use a Windows 11 ISO patched to skip TPM checks (e.g., from Rufus).
- Edit VM settings > Add
- Slow Performance:
- Increase RAM to 8GB, CPUs to 4. Use an SSD.
- No Sound/Network:
- Check
Audio
(set to Intel HD Audio) andNetwork
(NAT) in Settings.
Notes
- Intel vs. Apple Silicon:
- Intel: Full x64 Windows 11 support—easiest setup.
- Apple Silicon: Requires ARM ISO; VirtualBox ARM support is less mature (Parallels or UTM may be better).
- Free: VirtualBox is free, unlike Parallels. No licensing cost unless you buy Windows 11 (Insider Preview is free).