VirtualBox Nested VT-x/AMD-V Greyed Out: Fix It
In this article
The short answer: the "Enable Nested VT-x/AMD-V" checkbox is greyed out because your host CPU's virtualization extensions are not being passed through to the guest, or because the VM is still running or was not fully shut down. You can often fix it by powering off the VM completely, then running a single command in the host terminal to force the setting on. If your host is an AMD system, the option may not appear at all until you enable the right CPU feature in the VM's system settings. This guide walks through the real, current VirtualBox behavior on Windows, macOS and Linux hosts, with the exact menu paths and commands.
What You'll Need
- Oracle VirtualBox installed on the host (version 6.1 or newer recommended; the exact menu labels can differ slightly by version and host OS).
- A VM that is fully powered off, not saved and not paused.
- Administrator or sudo access on the host to run the VirtualBox command-line tool (VBoxManage).
- Hardware virtualization (VT-x on Intel, AMD-V on AMD) enabled in the host BIOS/UEFI. This is required for nested virtualization to work at all.
Step-by-Step
- Shut the VM down completely. In the VirtualBox Manager, select the VM and choose Machine > ACPI Shutdown, or close the guest OS normally. Do not use Save State. The nested virtualization setting cannot be changed while the VM is running or saved.
- Check the host CPU virtualization setting. On Windows, open Task Manager > Performance > CPU and look for "Virtualization: Enabled". On Linux, run
egrep -c '(vmx|svm)' /proc/cpuinfoin a terminal; a result above zero means virtualization is exposed. On macOS, virtualization is handled by the hypervisor framework and is generally available on Intel Macs; Apple Silicon Macs do not support x86 VirtualBox guests. - Open the VM's System settings. With the VM selected, click Settings > System > Processor tab. Look for the "Enable Nested VT-x/AMD-V" checkbox. If it is greyed out, continue to the next step.
- Force the setting with VBoxManage. Close VirtualBox Manager completely, then open a terminal or Command Prompt as administrator. Run:
VBoxManage modifyvm "YourVMName" --nested-hw-virt on
Replace YourVMName with the exact name shown in the VirtualBox Manager list. If the command returns an error about the VM being locked, another VirtualBox process is still running; close it and retry. - Reopen VirtualBox and verify. Launch the VirtualBox Manager, select the VM, open Settings > System > Processor, and confirm the nested virtualization checkbox is now checked and no longer greyed out.
- Start the VM and test inside the guest. Boot the guest OS and check whether it reports virtualization support. On a Linux guest, run
egrep -c '(vmx|svm)' /proc/cpuinfo; a non-zero result means nested virtualization is active. On a Windows guest, Task Manager > Performance > CPU should show "Virtualization: Enabled". - For AMD hosts, confirm the CPU profile. If the checkbox is missing entirely rather than greyed out, your host may be exposing an AMD CPU profile that does not pass through SVM. In Settings > System > Processor, check the CPU profile dropdown and select a profile that matches your host CPU family. Then repeat the VBoxManage command above.
Common Mistakes
- Leaving the VM in a saved state. The setting is locked while the VM is saved or paused. Always shut down fully first.
- Using the wrong VM name in VBoxManage. The name is case-sensitive and must match exactly. Run
VBoxManage list vmsto see the exact names. - Running VBoxManage without admin rights. On Windows, open Command Prompt as Administrator. On Linux, prefix with
sudo. - Assuming the greyed-out box means the feature is unavailable. In many cases it is simply locked by the VM state or by the host's BIOS setting, not by VirtualBox itself.
- Forgetting to enable virtualization in the host BIOS/UEFI. If the host CPU feature is disabled, nested virtualization cannot work regardless of the checkbox.
Tips
- Run
VBoxManage showvminfo "YourVMName"and look for the line about nested hardware virtualization to confirm the current state without opening the GUI. - If you use multiple VMs, script the VBoxManage command per VM name rather than clicking through the GUI each time.
- Keep VirtualBox and the Extension Pack matched in version; mismatched versions can cause settings to behave unexpectedly.
- Nested virtualization adds overhead. Give the VM at least two CPU cores and enough RAM for both the guest and any hypervisor you run inside it.
Troubleshooting
If the checkbox is still greyed out after the VBoxManage command, work through these checks in order:
- Restart the host. A pending BIOS change or a stuck VirtualBox background process can keep the setting locked.
- Confirm the host virtualization is enabled. Reboot into BIOS/UEFI and verify VT-x or AMD-V (sometimes labeled SVM) is enabled. Save and exit.
- Check for a VirtualBox version mismatch. Update VirtualBox to the latest stable release from the official website, then retry the command.
- Look at the VM's chipset and CPU profile. In Settings > System > Motherboard, try the other chipset option. In the Processor tab, change the CPU profile to match your host.
- Test with a fresh VM. Create a new VM with the same guest OS and see whether the checkbox is available there. If it is, the original VM's configuration file may be corrupted; recreating the VM is often faster than repairing it.
- Check host hypervisor conflicts. On Windows, features like Hyper-V, Windows Sandbox or Memory Integrity can take control of virtualization. Disabling them temporarily (with the understanding that other features will stop working) can free VT-x for VirtualBox.
Frequently Asked Questions
Why is the nested virtualization checkbox greyed out?
Most often because the VM is running, saved or paused, or because the host has not exposed hardware virtualization to VirtualBox. Fully power off the VM and run the VBoxManage command to force the setting.
Does this work on AMD hosts?
Yes, but the option is labeled VT-x/AMD-V. On AMD hosts, ensure SVM is enabled in the BIOS and that the VM's CPU profile matches the host CPU family.
Can I enable nested virtualization while the VM is running?
No. The setting is locked until the VM is fully shut down. Save State and Pause are not enough.
What does the VBoxManage command actually change?
It sets the VM's nested hardware virtualization flag in its configuration, which is the same flag the greyed-out checkbox controls. It does not change host BIOS settings.
Will nested virtualization slow down my VM?
Yes, there is overhead because the guest hypervisor has to translate hardware instructions. Expect reduced performance compared with running the same workload directly on the host.
Is nested virtualization supported on Apple Silicon Macs?
VirtualBox on Apple Silicon runs ARM guests, not x86 ones, and nested virtualization support is limited. For x86 guests, use an Intel-based host.