How to Reinstall DirectX on Windows 11
In this article
You cannot reinstall DirectX as a standalone download on Windows 11 because Microsoft no longer ships a separate DirectX installer for the core runtime. Instead, you repair or reinstall the DirectX components that are already part of Windows, and you update the DirectX files that come with your games or the DirectX End-User Runtime for older titles. The quickest fix is usually to run the DirectX Diagnostic Tool, check for Windows updates, and reinstall the DirectX End-User Runtime only if a legacy game asks for it. Below is the full step-by-step process, including what to do when the usual fixes fail.
What You'll Need
- A Windows 11 PC with administrator rights.
- An internet connection for Windows Update and for downloading the official DirectX End-User Runtime if needed.
- The name of the game or app that is showing a DirectX error, so you can test after each step.
- Optional: the DirectX End-User Runtime web installer from Microsoft's official Download Center (only for older games that require it).
Step-by-Step
- Run the DirectX Diagnostic Tool. Press Windows + R, type
dxdiag, and press Enter. If a prompt asks about checking for signed drivers, choose Yes. Wait for the tool to load. On the System tab, check the DirectX Version line at the bottom. On Windows 11 it should read DirectX 12. If it shows an older version or an error, note it. This tool confirms what DirectX version Windows reports and can reveal driver problems. - Install all pending Windows updates. Open Settings > Windows Update and select Check for updates. Install everything offered, including optional updates if they include driver or feature packs. Restart when prompted. DirectX core files are delivered through Windows Update, so this is the closest thing to reinstalling DirectX on Windows 11.
- Update your graphics driver. Open Device Manager (right-click the Start button and choose Device Manager), expand Display adapters, right-click your GPU, and choose Update driver > Search automatically for drivers. For the most reliable result, download the latest driver directly from NVIDIA, AMD, or Intel's official website and run the installer. A corrupted or outdated GPU driver is a common cause of DirectX errors that look like DirectX itself is broken.
- Run the DirectX End-User Runtime installer (only if a legacy game needs it). Go to Microsoft's official Download Center and search for DirectX End-User Runtime Web Installer. Download and run it. It installs older DirectX 9, 10, and 11 libraries that some older games still require. This does not replace DirectX 12 on Windows 11; it adds the legacy components alongside it. Accept the license agreement and let it finish, then restart your PC.
- Reinstall the game or app that reported the error. If the problem only happens in one game, uninstall that game through Settings > Apps > Installed apps, then reinstall it from its official store or launcher. This replaces any DirectX files the game shipped with and can fix missing or corrupted DLLs.
- Run the System File Checker and DISM. Open Windows Terminal as administrator (right-click Start and choose Terminal (Admin) or Windows PowerShell (Admin)). Type
sfc /scannowand press Enter. When it finishes, typeDISM /Online /Cleanup-Image /RestoreHealthand press Enter. These commands repair damaged Windows system files, including some DirectX components. Restart after both complete. - Test the game or app again. Launch the same game or app that failed. If it opens without a DirectX error, the repair is complete. If the error persists, move to the troubleshooting section below.
Common Mistakes
- Looking for a DirectX 12 installer. Microsoft does not offer a standalone DirectX 12 installer for Windows 11. DirectX 12 is built into Windows and updated through Windows Update. Downloading a "DirectX 12 installer" from a third-party site is unnecessary and risky.
- Installing the End-User Runtime when it is not needed. The DirectX End-User Runtime is for older games that require DirectX 9, 10, or 11 libraries. Installing it will not upgrade DirectX 12 or fix a modern game that uses DirectX 12.
- Ignoring the graphics driver. Many DirectX errors are actually GPU driver problems. Updating Windows without updating the graphics driver often leaves the error in place.
- Skipping the restart. Windows Update, driver installers, and the End-User Runtime often need a restart before the new files are active. Testing before restarting can make a fix look like it failed.
- Downloading DirectX files from unofficial sites. Only use Microsoft's Download Center or Windows Update. Third-party DLL sites can bundle malware or outdated files that cause more errors.
Tips
- Run
dxdiagbefore and after your fixes to confirm the DirectX version and check the Notes section at the bottom for specific error messages. - If you use a laptop with switchable graphics, update both the integrated GPU driver and the dedicated GPU driver. Games may use either one.
- Keep Windows Update set to receive updates for other Microsoft products; this can include DirectX-related components.
- When a game offers a choice between DirectX 11 and DirectX 12, try the other mode to see if the error is specific to one API path.
- Create a restore point before making major driver changes, so you can roll back if a new driver causes problems.
Troubleshooting
If the steps above did not fix the DirectX error, work through these checks in order. First, confirm the exact error message. Common ones include "d3dx9_43.dll is missing" or "DXGI_ERROR_DEVICE_REMOVED." A missing d3dx9 file usually means the DirectX End-User Runtime is needed. A DXGI error usually points to the graphics driver or an overheating GPU.
Second, check for corrupted game files. Most game launchers have a verify or repair option in their settings or right-click menu for the game. Use that before reinstalling the entire game.
Third, test with a different game or a DirectX diagnostic sample. If only one game fails, the issue is likely with that game's files or settings. If every DirectX game fails, focus on Windows and the GPU driver.
Fourth, roll back the graphics driver if the error started right after a driver update. In Device Manager, right-click the GPU, choose Properties > Driver tab > Roll Back Driver. This option is only available if a previous driver is stored.
Fifth, check for overheating or power issues. A GPU that is overheating or not receiving enough power can drop the DirectX device. Clean the vents, ensure the power supply is adequate on a desktop, and test again.
Finally, as a last resort, use Windows' built-in reset options. Settings > System > Recovery > Reset this PC lets you keep your files while reinstalling Windows. This removes installed apps and drivers, so back up important data first. It is a heavy step and should only be used after the simpler repairs fail.
Frequently Asked Questions
Can I download DirectX 12 separately for Windows 11?
No. DirectX 12 is included with Windows 11 and updated through Windows Update. There is no separate DirectX 12 installer from Microsoft.
Does reinstalling DirectX delete my games or files?
No. Running the DirectX End-User Runtime or Windows Update does not remove your games or personal files. Reinstalling a specific game will remove that game's installation, but saved games are usually kept in separate folders or cloud saves.
Why does a game say d3dx9_43.dll is missing?
That file is part of the legacy DirectX 9 runtime. Install the DirectX End-User Runtime from Microsoft's Download Center to add it. Do not download the DLL from a third-party site.
Will reinstalling DirectX fix a DXGI_ERROR_DEVICE_REMOVED error?
Possibly, but that error is more often caused by the graphics driver, overheating, or an unstable overclock. Update or roll back the GPU driver first, then check temperatures and power.
Do I need to uninstall DirectX before reinstalling it?
No. DirectX is a Windows component and cannot be uninstalled separately in the normal way. Use Windows Update, the End-User Runtime, and system file repair instead.
How do I check which DirectX version I have?
Press Windows + R, type dxdiag, and press Enter. The System tab shows the DirectX Version near the bottom.