sodcalculator

10 Tech How-To

USB Legacy Support in BIOS: What It Does & How to Enable It

Guide 10-60192 · Updated · Step by step

USB Legacy Support in BIOS is a setting that makes USB keyboards, mice, and other devices work before the operating system loads, such as during BIOS setup, boot menus, or DOS. It also enables booting from USB drives. You enable it by entering the BIOS/UEFI setup (usually by pressing Del, F2, or F10 during startup), finding the option under ‘Advanced,’ ‘USB Configuration,’ or ‘Integrated Peripherals,’ and setting it to ‘Enabled.’

Background: Why Legacy Support Exists

Modern computers rely on the operating system to manage USB devices through drivers. But during the early boot phase—before Windows, Linux, or macOS loads—there is no OS and no driver stack. The BIOS or UEFI firmware must handle input and storage devices itself. Originally, PCs used PS/2 ports for keyboards and mice, which the firmware could control directly. When USB became standard in the late 1990s, the firmware needed a way to recognize and use USB peripherals in this pre-boot environment. That capability is called USB Legacy Support.

Without it, a USB keyboard would be useless for pressing Del to enter setup, and a USB flash drive would not appear as a boot option. The term ‘legacy’ is somewhat misleading—it does not mean outdated; it refers to the legacy boot process (BIOS/MBR) as opposed to modern UEFI boot. Many UEFI systems still include the option for compatibility with older operating systems and tools.

How USB Legacy Support Works

When enabled, the firmware initializes a minimal USB host controller and driver stack during POST (Power-On Self-Test). This stack emulates a standard PS/2 keyboard or mouse for input devices, so the OS later sees them as normal USB devices once its own drivers load. For storage, the firmware scans USB mass storage devices and exposes them to the boot manager, allowing you to select a flash drive or external HDD as the boot source.

The implementation varies by motherboard manufacturer. Some BIOS versions use the Intel EHCI (USB 2.0) or xHCI (USB 3.x) controller in a compatibility mode. This is why you might see options like ‘Legacy USB Support’ or ‘XHCI Hand-off.’ The latter is a related setting that tells the firmware to hand over control of the USB controller to the OS driver, which can prevent issues after boot.

How to Enable USB Legacy Support (Step-by-Step)

  1. Restart your computer and press the BIOS/UEFI access key during the logo screen—commonly Del, F2, F10, or Esc. Check your motherboard manual if unsure.
  2. Once in setup, navigate using arrow keys (or mouse if already supported). Look for a menu named ‘Advanced,’ ‘USB Configuration,’ ‘Integrated Peripherals,’ or ‘Devices.’
  3. Find the setting labeled ‘USB Legacy Support,’ ‘Legacy USB Storage Detect,’ or ‘USB Keyboard/Mouse Support.’ It may be a toggle or a submenu with separate options for keyboard, mouse, and storage.
  4. Set it to ‘Enabled’ (or ‘Auto’ if available). Some systems have ‘Disabled’ as default for security reasons.
  5. Press F10 to save and exit, then confirm. The system will reboot with the new setting active.

If you cannot find the option, it might be hidden under a ‘South Bridge’ or ‘Chipset’ section. On newer UEFI systems, the option may be called ‘USB Support’ under ‘Boot’ or ‘Peripherals.’

Common Problems and Misconceptions

A frequent issue is that enabling USB Legacy Support causes the keyboard or mouse to stop working in Windows. This usually happens because the firmware’s emulation conflicts with the OS driver. The fix is to also enable ‘XHCI Hand-off’ or ‘USB Hand-off’ in the same menu. Alternatively, disable legacy support after installing the OS—you only need it during installation or for booting from USB.

Another misconception is that disabling USB Legacy Support improves security. In theory, it reduces the risk of a malicious USB device being recognized during boot, but the OS still loads USB drivers later. The real security concern is ‘USB HID attacks’ (like a BadUSB), which work regardless of this setting. If you are worried about unauthorized booting from USB, set a BIOS password and disable boot from removable devices instead.

Some users report that USB 3.0 devices do not work in BIOS even with legacy support enabled. This is because some older BIOS versions only initialize USB 2.0 ports during POST. Try plugging the device into a USB 2.0 port (often black) instead of a blue USB 3.0 port.

When to Use It vs. When to Disable It

Keep USB Legacy Support enabled if you:

  • Use a USB keyboard or mouse and need to access BIOS setup or a boot menu.
  • Boot from a USB flash drive to install an OS, run a live Linux distribution, or use recovery tools.
  • Use DOS-based utilities or older hardware diagnostics that rely on BIOS interrupt calls for USB.

Disable it if you:

  • Use only PS/2 peripherals and never boot from USB.
  • Experience boot hangs or device conflicts after the OS loads—though try the hand-off option first.
  • Run a server or kiosk where no one should interact with the firmware or boot from external media.

For most desktop users, leaving it enabled is harmless and convenient. The performance impact after boot is negligible because the firmware hands off control to the OS.

Comparison with UEFI and Modern Alternatives

UEFI (Unified Extensible Firmware Interface) replaces the traditional BIOS and natively supports USB without the need for legacy emulation. In UEFI mode, the firmware has its own USB drivers, and booting from USB is a standard feature. The ‘Legacy Support’ option on UEFI systems is often labeled ‘CSM’ (Compatibility Support Module), which allows booting in legacy BIOS mode for older operating systems like Windows 7 or 32-bit Linux.

When CSM is enabled, USB Legacy Support may still be required for the legacy boot path. If you run a modern 64-bit OS in UEFI mode, you can often disable CSM and legacy USB support entirely. However, some motherboards still require it for the setup interface itself, so check your manual.

There is no performance benefit to disabling legacy support in UEFI mode—the firmware’s USB stack is already native. The only reason to disable is to reduce the attack surface or to troubleshoot a rare compatibility issue.

Safety and Security Considerations

USB Legacy Support itself is not a security vulnerability, but it does allow the firmware to interact with USB devices. If you are concerned about ‘Evil Maid’ attacks (someone with physical access inserting a malicious USB device), you can disable it and set a BIOS password. However, the OS will still mount USB drives after boot, so this only protects the pre-boot environment.

For corporate or high-security environments, some BIOS versions offer ‘USB Legacy Support’ with sub-options like ‘Auto,’ ‘Disabled,’ and ‘Enabled.’ Setting it to ‘Auto’ lets the firmware decide based on whether a USB device is present. This is a reasonable middle ground.

Always ensure you have a fallback input method (like a PS/2 keyboard) if you disable legacy support and later need to re-enable it. Otherwise, you might be locked out of BIOS setup.

Frequently Asked Questions

Will enabling USB Legacy Support slow down my computer?

No. The setting only affects the pre-boot environment. Once the OS loads, it takes over USB management with its own drivers. You will not notice any difference in everyday performance.

Why is my USB keyboard not working in BIOS even with Legacy Support enabled?

Try a different USB port, especially a USB 2.0 port. Some BIOS versions do not initialize USB 3.0 ports during POST. Also, check if there is a separate option for ‘USB Keyboard Support’ and enable it. If the keyboard has a built-in hub, try a direct connection.

Can I boot from a USB drive with Legacy Support disabled?

No, not in legacy BIOS mode. In UEFI mode, booting from USB is native and does not require the legacy setting. If you use UEFI, ensure ‘USB Boot’ or ‘Boot from Removable Devices’ is enabled in the boot priority list.

What is the difference between USB Legacy Support and XHCI Hand-off?

USB Legacy Support enables the firmware to use USB devices during boot. XHCI Hand-off tells the firmware to give control of the USB 3.0 controller to the OS driver. They are complementary; enabling both often solves issues where a USB device works in BIOS but not in Windows, or vice versa.

Is it safe to disable USB Legacy Support?

Yes, if you do not need USB devices before the OS loads. Just make sure you have a PS/2 keyboard and mouse if you ever need to change BIOS settings again. Disabling it can slightly reduce the risk of firmware-level USB attacks, but it is not a substitute for proper security practices.

Why does my USB mouse stop working after Windows loads when Legacy Support is on?

This is usually a driver conflict. The firmware’s emulation may confuse the OS. Try enabling ‘XHCI Hand-off’ or ‘USB Hand-off’ in the BIOS. Alternatively, update your chipset drivers. If the problem persists, disable Legacy Support after installation—the OS has its own USB drivers.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →