Seeing Graphics Device Driver Error Code 22 in Windows can be confusing, especially when your graphics card suddenly stops working. This guide explains what the error means, the common reasons behind it, and how you can prevent it from returning.
What is Graphics Device Driver Error Code 22?

Error Code 22 is a message you find in Device Manager when Windows has disabled your graphics device. It usually comes with a yellow warning sign and the message: “This device is disabled. (Code 22).”
This means the operating system is no longer letting your GPU run, which can affect everything from gaming and video playback to general display performance. Whether you are using NVIDIA, AMD, or Intel graphics, Code 22 tells you that Windows has blocked the driver or the hardware from functioning.
Common Causes of Graphics Device Driver Error Code 22
This error can appear for a mix of software and hardware reasons. Below are the most common causes:
- The graphics device was manually disabled inside Device Manager.
- The GPU driver is outdated, corrupted, or missing.
- A recent Windows Update created conflicts with the graphics driver.
- The graphics card is loose in the PCIe slot or has hardware faults.
- The device was disabled in the BIOS/UEFI settings.
- Power supply problems or overheating triggered Windows to disable the GPU.
- The installed driver version is not compatible with the current Windows build.
How to Fix Graphics Device Driver Error Code 22?
When Windows shows Code 22 for your graphics device, it means the GPU has been disabled in Device Manager. Sometimes it’s a simple toggle, other times it’s a driver or hardware issue. Below are the most reliable fixes.
Fix #1. Enable the Graphics Device in Device Manager
The most common reason for Code 22 is that the device was manually disabled. Enabling it usually clears the error right away.
Here are the steps you can follow:
- Press Windows Key + X and select Device Manager.
- Expand Display adapters.
- Right-click your graphics card (NVIDIA, AMD, or Intel).
- Select Enable device.
- Wait a few seconds and check if the yellow warning icon disappears.
- Restart your PC to confirm the device is active.
Fix #2. Update the Graphics Driver
Outdated or corrupted drivers often cause Code 22. Updating ensures Windows and your GPU are in sync.
Here are the steps you can follow:
- Open Device Manager again.
- Right-click your graphics card under Display adapters.
- Choose Update driver.
- Select Search automatically for drivers.
- If Windows doesn’t find one, visit NVIDIA, AMD, or Intel’s website.
- Download and install the latest driver for your model.
- Restart your PC to apply changes.
Fix #3. Reinstall the GPU Driver
If updating doesn’t help, the driver may be corrupted. Reinstalling gives you a fresh start.
Here are the steps you can follow:
- In Device Manager, right-click your graphics card.
- Select Uninstall device.
- Tick the box that says Delete the driver software for this device.
- Restart your PC.
- Windows will try to install a default driver.
- If it doesn’t, download the latest driver manually from the GPU manufacturer.
Fix #4. Roll Back to a Previous Driver
Sometimes a new driver update introduces problems. Rolling back to a stable version may solve Code 22.
Here are the steps you can follow:
- Open Device Manager.
- Right-click your graphics card and select Properties.
- Go to the Driver tab.
- Click Roll Back Driver if the option is available.
- Choose a reason and confirm.
- Restart your PC and check if the error is gone.
Fix #5. Install Pending Windows Updates
Microsoft often releases patches that improve driver compatibility. Installing updates may resolve Code 22.
Here are the steps you can follow:
- Press Windows Key + I to open Settings.
- Go to Update & Security (or Windows Update on Windows 11).
- Click Check for updates.
- Download and install all available updates.
- Restart your PC once the updates finish.
Fix #6. Reset BIOS/UEFI Settings
Sometimes, the graphics card is disabled from BIOS/UEFI, which can lead to Code 22. Resetting to default often fixes it.
To do this, restart your computer, press the required key (like F2, F10, DEL, or ESC) to enter BIOS, and look for an option to Load default settings. Save and exit. After rebooting, check if the GPU is enabled.
Fix #7. Check and Reseat the GPU Hardware
If you’re using a dedicated graphics card, a loose PCIe connection may trigger the error. Shutting down the PC, removing the GPU, and reseating it firmly in the slot often clears the issue. For laptops with integrated graphics, this step doesn’t apply.
Fix #8. Replace a Failing GPU
If none of the above works, your GPU may be faulty. Signs include frequent crashes, artifacts on screen, or repeated disabling in Device Manager. In that case, replacement is the only solution. Test the GPU in another PC if possible, or contact your manufacturer if it’s under warranty.
Prevention Tips to Avoid Graphics Device Driver Error Code 22
While you can’t always stop errors, building safe habits reduces the chance of seeing Code 22 again. Here are some simple prevention tips:
- Keep graphics drivers updated to the latest stable release.
- Download drivers directly from NVIDIA, AMD, or Intel official sites.
- Install WHQL-certified drivers when available for better stability.
- After a Windows upgrade, perform a clean install of GPU drivers.
- Make sure your GPU stays cool with proper airflow and regular cleaning.
- Use a reliable power supply unit (PSU) that matches your graphics card needs.
- Update BIOS and chipset drivers to maintain hardware compatibility.
Conclusion
Graphics Device Driver Error Code 22 means Windows has disabled your GPU, usually because of a driver issue or system setting. While it looks serious, the error itself is more about the device being turned off rather than fully broken.
With updated drivers, stable hardware, and a bit of regular care, you can avoid most cases of this error and keep your graphics card working smoothly. Share this guide with anyone facing the same issue, and let them know it’s fixable.