How to Download and Install DirectX
All modern Windows operating systems include DirectX by default, so you probably won’t ever need to install DirectX manually.
However, Microsoft has been known to release updated versions, and installing the latest updates might be the fix to a DirectX problem you’re having—such as dsetup.dll errors—or may give performance increases in your games and graphics programs.
Follow the steps below to update DirectX in any version of Windows. Installing DirectX will take less than 15 minutes.
Depending on the version of Windows you’re using, you might not be in need of a new version of DirectX. See the section below these steps to confirm that DirectX will work for your computer. If you’re not sure which version your computer has installed right now, there are instructions for doing that at the very bottom of this page.
How to Download and Install DirectX
-
Visit the DirectX download page on Microsoft’s site.
-
Select your preferred language from the drop-down box and then choose Download to save the setup file to your computer.
-
Open the dxwebsetup.exe file and complete the DirectX installation by following directions from Microsoft’s website or from the installation program. It should take less than a minute to install.
Read carefully through the setup procedure. You might be asked to install something else like the Bing Bar. Just uncheck whatever you’re not interested in to avoid installing it.
Whatever DirectX files are missing will be replaced as necessary. See the next section below for more information about DirectX in specific versions of Windows.
-
Restart your computer, even if you’re not prompted to do so.
-
After restarting your computer, test to see if updating to the latest version of DirectX corrected the problem you were having.
DirectX Windows Versions
All versions of Windows don’t support all versions of DirectX. Here’s more on how each version of DirectX works across the Windows family.
DirectX 12 is included with Windows 10 and is only supported in that version of Windows. Updates to DirectX 12 related files are only available through Windows Update. No standalone version of DirectX 12 is available.
DirectX 11.4 & 11.3 are only supported in Windows 10. As with DirectX 12.0, updates are only provided through Windows Update.
DirectX 11.2 is supported in Windows 10 and Windows 8 (8.1+) only. Any updates to DirectX 11.2 related files are made available in Windows Update in those versions of Windows. There is no standalone download available for DirectX 11.2.
DirectX 11.1 is supported in Windows 10 and Windows 8. Windows 7 (SP1) is supported as well but only after installing the Platform Update for Windows 7.
DirectX 11.0 is supported in Windows 10, Windows 8, and Windows 7. Support for Windows Vista is available but only after installing the Platform Update for Windows Vista.
DirectX 10 is supported in Windows 10, Windows 8, Windows 7, and Windows Vista.
DirectX 9 is supported in Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. If you have a program that calls for a DirectX 9 file in Windows 10 or Windows 8, installing the downloadable version (the process above) is the way to solve that problem—it will not “downgrade” your DirectX 10/11/12 install! This is also the latest version of DirectX that’s compatible with Windows XP.
How to Find the Current DirectX Version Number
You can check which version of DirectX is installed on your computer through the DirectX Diagnostic Tool.
-
Execute the dxdiag command from a command-line interface, such as the Run dialog box (WIN+R) or Command Prompt.
-
If you see a message asking about checking for digitally signed drivers, press Yes or No; it doesn’t really matter for what we’re looking for here.
-
From the System tab, look for the DirectX Version entry at the bottom of the list to see the DirectX version number.
FAQ
-
What does DirectX do?
DirectX is a collection of application programming interfaces (APIs) required to play video games on a Windows PC. It allows the games you play to “talk” to your computer’s hardware, such as the graphics card, sound card, and memory.
-
How do you update DirectX?
You can get DirectX patches via Windows Update. Select Start > Settings > Windows Update > Check for updates. If there’s a newer version of DirectX available, you can download and install it here.
-
How do you uninstall DirectX?
Since DirectX is a necessary part of Windows, there’s no official way to uninstall it. But you may be able to roll back to a previous version of it. Open System Restore and choose a restore point that was created before DirectX was updated, then use the DirectX Diagnostic Tool to check and make sure you’re on the earlier version.
-
Where do you install DirectX end-user runtimes?
If you download Microsoft’s DirectX End-User Runtime Web Installer, it installs a number of runtime libraries from the legacy DirectX SDK automatically. You may need these to run some video games that use D3DX9, D3DX10, D3DX11, XAudio 2.7, XInput 1.3, XACT, and/or Managed DirectX 1.1. Installing this package won’t modify the DirectX Runtime already installed on your PC.