Device Manager Code 31 — Windows Cannot Load the Drivers

Short answer: This device is not working properly because Windows cannot load the drivers required for it — the driver load itself is failing.
CodeCode 31
Applies toWindows device (any brand)
SeverityTry fixes, then service
Most common causeThe driver is missing, corrupted, or the wrong version for this Windows build

What this code means

Code 31: 'This device is not working properly because Windows cannot load the drivers required for this device.' Unlike Code 28 (no driver exists), here a driver is present or expected — Windows just cannot get it loaded. The driver may be corrupt, mismatched to this Windows build, missing a companion file, or blocked because a device it depends on has failed.

Microsoft groups Code 31 with the update-the-driver codes, and that is the right first move — but check the device's parent in the tree too, because Code 31 is also how a child device reports that its controller died.

Likely causes

How to fix it — step by step

  1. Update the driver

    Right-click the device → Update driver. If Windows has a better package available locally or via Windows Update, this alone can clear Code 31.

  2. Reinstall from the manufacturer

    Uninstall the device (tick 'Attempt to remove the driver'), restart, then install the manufacturer's full current package for your exact model from their official page.

  3. Check the parent device

    Expand the tree above your device in Device Manager. If the controller (for example a USB host controller or a storage controller) also shows an error, fix that device first — everything under it inherits its failure.

  4. Roll back a bad update

    If Code 31 began right after a driver update, open the device's Driver tab and use Roll Back Driver to return to the version that worked.

If the code comes back after these steps, treat it as a hardware or service fault rather than a settings problem — that is the honest end of software troubleshooting for this code.

Is it a driver problem?

Yes. Yes, in most cases. Code 31 means the driver load itself is failing — a fresh install of the manufacturer's current driver is the primary fix. The exception is when a parent device has failed; then that device is the real patient.

Get the official driver or support for your device

If a fix above points you at a driver, get it from the manufacturer only:

Microsoft Support — Update drivers manually in Windows Opens support.microsoft.com

Printer, laptop or PC drivers by brand: HP · Dell · Lenovo · Acer · ASUS · Canon · Epson · Brother · Samsung printers

Related errors

Verified 2026-11-28 against: support.microsoft.com · www.windowscentral.com. Meanings follow the manufacturers' and Microsoft's published documentation; where a code's meaning depends on the exact model, the page says so.