What Is ESXi USB Passthrough and How Connect USB to ESXi VM?

USB passthrough in ESXi allows physical USB devices to connect directly to virtual machines, enabling functionalities like using USB printers or storage devices within VMs. This guide provides a comprehensive guide to let you smoothly configure it.

download-icon
Free Download
for VM, OS, DB, File, NAS, etc.
nick-zhao

Updated by Nick Zhao on 2025/03/14

Table of contents
  • What is ESXi USB passthrough?

  • How ESXi USB passthrough Works?

  • ESXi requirements and limitations for USB passthrough

  • How to connecting a USB device to an ESXi VM?

  • How to fix USB Passthrough not working on ESXi?

  • USB passthrough not working on ESXi troubleshooting examples

  • How to disable passthrough for specific USB Devices?

  • How to backup ESXi VMs with Vinchin?

  • ESXi USB Passthrough FAQs

  • Conclusion

ESXi USB passthrough lets you attach a physical USB device to a virtual machine. This simple feature helps when you need to use a USB printer, flash drive, or even a licensing dongle with your VM. In today’s virtual world, physical devices still matter. This guide shows you how to set up USB passthrough on ESXi, troubleshoot common issues, and protect your virtual machines with Vinchin.

What is ESXi USB passthrough?

ESXi uses USB passthrough to make a physical device available to a guest operating system. The hypervisor creates virtual controllers, disks, and other devices for each VM. When you use USB passthrough, the physical USB device connects directly to the VM.

Three key components make this work:

• Arbitrator: A built-in service that scans and routes USB traffic.

• Physical USB Controller: The hardware that handles the USB port on the host.

• Virtual USB Controller: An emulated controller added to the VM.

It lets you run tasks like file transfers or licensing on a VM as if the USB device were plugged directly into it.

TIPS
If you would like to backup ESXi VM to USB, you should connect the USB drive to local machine and then copy the VM data via vCenter.

How ESXi USB passthrough Works?

The process is straightforward. The USB arbitrator scans for devices on the ESXi host. When a device is connected, it assigns it to a specific VM. Note that only one VM can use a USB device at any time. The virtual machine must have a USB controller in its configuration. The ESXi host supports up to 20 USB devices per VM and up to 15 controllers in vSphere 7.0.

When you plug in a USB device, you can check its status with the command:

lsusb

If the device appears, the arbitrator routes its data to the VM. Otherwise, you may have to troubleshoot.

ESXi requirements and limitations for USB passthrough

You need a recent version of ESXi. USB passthrough is supported from ESXi 4.1 onward. For USB 3.0 devices, use ESXi 5.5 patch 3 or later. In the VM, hardware must be set to version 8 or higher to use USB 3.0 (xHCI). Some devices are not supported. For example, USB storage devices cannot be used as boot drives. Also, some smart cards or hubs might need extra configuration. Always verify that the USB arbitrator service is running. Use this command to check:

chkconfig usbarbitrator --list

And start it if needed:

/etc/init.d/usbarbitrator start

How to connecting a USB device to an ESXi VM?

To add a USB device to a VM, follow these simple steps. Make sure your VM is powered off before you begin.

1. Insert the USB Device

Plug the device into a USB port on your ESXi host.

2. Verify Connection

Use the command:

lsusb

Check that your device appears.

3. Open vSphere Client

Log in to your ESXi or vCenter server using the vSphere Web Client.

4. Edit VM Settings

Select the target VM, right-click, and choose Edit settings.

5. Add USB Controller

If the VM lacks a USB controller, click Add New Device and choose USB Controller. Select the type, USB 2.0 or USB 3.0.

6. Add Host USB Device

Click Add New Device and then choose Host USB Device. From the list, select your USB device.

TIPS
If you plan to use vMotion, check the option Support vMotion while device is connected.

7. Save and Power On

Click OK to save changes. Then, power on the VM.

Once the VM boots, check the guest operating system. In Windows, open Device Manager to verify that the USB device is recognized. If the device is a storage device, use Disk Management to ensure it has a drive letter.

How to fix USB Passthrough not working on ESXi?

Sometimes, ESXi does not show your USB device. Here are some reasons and solutions you can check and use:

1. Device not listed

Run the command below in the ESXi shell.

esxcli hardware usb passthrough device list

If nothing appears, verify that your device works on another machine.

2. Service issues

Ensure the USB arbitrator service is running. Restart it if needed.

3. Hardware incompatibility

Some devices, such as certain USB 3.0 controllers, may need extra drivers. If a device is not recognized, consider using a USB 2.0 hub or testing a different USB port.

4. vMotion limitations

If you plan to use vMotion with USB passthrough, remember that suspending or powering off the VM disconnects the device. Make sure to configure vMotion properly before migration.

User reports have shown that simply adding a USB device (and not the entire USB controller) is enough for most cases. In ESXi 6.5 and later, pass through the USB device directly. One user noted that removing PCI passthrough configuration fixed his issue.

USB passthrough not working on ESXi troubleshooting examples

Many users have encountered issues where the ESXi host does not detect USB devices.

1. A user running ESXi 8 on a Dell PowerEdge R450 found that only the onboard controllers appeared. After updating ESXi and checking the BIOS settings, the device was finally recognized.

2. A user on a C240 M4 with ESXi 6.7 managed to pass through one USB port but had trouble with the second port. The issue was linked to hardware limitations on that controller.

3. When a user inadvertently passes the entire USB controller to a VM. In most cases, it is best to pass through the USB device alone. As one expert noted, there is no need to pass the PCI device if you can add the USB device directly.

How to disable passthrough for specific USB Devices?

Sometimes, you may want to use a USB device as a datastore on ESXi without passing it through to a VM. In these cases, you need to exclude the device from passthrough. There are two methods:

Method 1. ESXCLI Command

1. Run the command below:

esxcli hardware usb passthrough device list

Identify the device by its VendorId and ProductId.

2. Disable passthrough:

esxcli hardware usb passthrough device disable -d Bus:Dev:VendorId:ProductId

3. Reboot the host.

Method 2. Using USB Quirks

1. List USB devices with the command below:

lsusb

Note the VendorId:ProductId of the device.

2. Set the quirk:

esxcli system settings advanced set -o /USB/quirks -s 0xVendorId:0xProductId:0:0xffff:UQ_MSC_NO_UNCLAIM

3. Reboot the host.

These methods allow you to use the device for an ESXi datastore while still passing through other USB devices to VMs.

How to backup ESXi VMs with Vinchin?

Data backup for ESXi is always important. Vinchin is a powerful software that specializes in virtual machine backup and migration. It is designed to work seamlessly with VMware ESXi and other mainstream virtualization platforms like Hyper-V, Proxmox, oVirt, OLVM, XCP-ng, etc.

It offers features like scheduled incremental backup to automatically create data backup of smaller size; changed block tracking can greatly increase the speed of incremental backup; data verification can make sure the recovered VM can boot successfully; data retention strategies can easily control the data size of the backup chain.

The web console is simple and easy to use. Here’s how you can backup your ESXi VMs with Vinchin:

1. Select the ESXi VMs to backup

Select ESXi VMs

2. Select backup storage

Select backup storage

3. Select backup strategies

Select backup strategies

4. Submit the job

Submit the job

Vinchin supports a wide range of workloads. If you are using ESXi, Vinchin can help you secure and manage your data. Our customers around the globe praise the simplicity and efficiency of Vinchin. With a 60-day full-featured free trial, you can test our software with no risk. Click the  button on our website to start your trial and protect your virtual environment today.

ESXi USB Passthrough FAQs

Q1. Can I use a USB device as a boot drive for a VM?

No, ESXi does not support using USB devices as boot drives.

Q2. What if my USB device is not detected?

Check the USB arbitrator service and verify the device with the lsusb command.

Conclusion

ESXi USB passthrough is a useful feature for connecting physical devices to your virtual machines. It makes it possible to use USB storage, printers, or dongles directly within a VM. However, you must meet the system requirements and be aware of its limitations. Troubleshooting may involve checking the arbitrator service or updating your ESXi version.

Vinchin offers an all-in-one solution to protect your virtual environment. With our simple, efficient, and reliable backup and migration features, you can ensure that your data is safe and your VMs are quickly recoverable. Don't miss out on the free trial.

Share on:

Categories: VM Tips