I need to enable VT-x on my MacBook Pro, but I don't know whether it's enabled or not. Are there commands for checking the status of, enabling, or disabling VT-x?

Those are my device specifications:

MacBook Pro (Retina, 13-inch, Early 2015)

OS: OS X El Capitan 10.11.2
CPU: 2.7 GHz Intel Core i5
RAM: 8 GB 1867 MHz DDR3


According to Intel® Core™ i5-5257U Processor, it supports Intel Virtualization Technology (VT-x).

You can also from Terminal use the following command:

sysctl -a | grep machdep.cpu.features

If you see VMX in the output, then the CPU supports the Intel VT-x feature.

If you don't want to have to read through the output of CPU features and just see if VMX is there, then use: sysctl -a | grep -o VMX

From Intel-based Macs: Using VT-x virtualization technology:

Intel VT-x technology is enabled on Intel-based Macs. Make sure your Intel-based Mac has all available EFI updates installed; also update any third-party virtualization software.

Therefore there is no reason to check the status.

As to enabling/disabling, there is no direct user interface for that. Since it is enabled by default, the only way I can think of to disable it would be to hack the EFI Firmware. Which is not something I'd recommend doing!

  • This link indicates it is possible for virtualization to be disabled: support.apple.com/en-us/HT203296 – zundi Apr 7 '17 at 15:24
  • 2
    I see VMX in my output, but still get errors from Android Studio saying /dev/kvm is not found – IgorGanapolsky Jul 6 '17 at 13:19
  • @zundi, the linked Apple document was modified after I wrote this answer, and is one reason why quoting of relevant parts should be included in an answer. While the latest version of the document contradicts what it once said I think the relevance here is the latest system in that document an Xserve (Early 2009) and 7 years later when this answer was written the then current Macs did not have the issue and in particular the one mentioned in the OP, MacBook Pro (Retina, 13-inch, Early 2015). The document now states in red text "This article has been archived and is no longer updated by Apple." – user3439894 Mar 15 at 22:49
  • @IgorGanapolsky, I fail to see the relevance between "Android Studio saying /dev/kvm is not found" and whether of not VT-x is enabled. That said, without knowing the model and CPU I can only say the issue lies with Android Studio. – user3439894 Mar 15 at 22:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .