What DirectX is and why you need to know your version
DirectX is software that helps your computer run games and graphics-heavy programs. It acts as a translator between what a game or application wants to do and what your graphics card and sound hardware can actually do. Different games and programs require different DirectX versions — some need DirectX 11, others need DirectX 12. If a program asks what version you have and you don't know, you can't tell whether it will run on your machine.
Your Windows version determines which DirectX versions are available to you. Windows 10 and Windows 11 come with DirectX 12 built in. Older Windows versions (Windows 7, Windows 8) have older DirectX versions. You cannot upgrade DirectX separately the way you upgrade other software — it comes with Windows updates.
Key Takeaways
- The fastest way to check DirectX version is to open the Run dialog (Windows key + R), type dxdiag, and look at the version number in the System tab.
- DirectX comes with Windows and updates automatically; you cannot install a newer version of DirectX than what your Windows version includes.
- Windows 10 and 11 both include DirectX 12, while Windows 7 and 8 have older versions.
- If a game or program says it needs a DirectX version you don't have, you may need to update Windows rather than DirectX itself.
Using the DirectX Diagnostic Tool (the quickest method)
The DirectX Diagnostic Tool is built into Windows and shows you everything about your DirectX setup in seconds. Press the Windows key and R at the same time to open the Run dialog box. Type dxdiag (no spaces, no capitals needed) and press Enter.
A window titled "DirectX Diagnostic Tool" will open. Click the System tab at the top if it is not already selected. Look for the line that says "DirectX Version:" — the number next to it is what you need. It will show something like "DirectX 12" or "DirectX 11".
This tool also shows you other useful information: your graphics card name (under "Display"), your sound card (under "Sound"), and whether your system has any problems that might affect gaming or video playback. You do not need to change anything here — this is just for looking.
Checking through Windows Settings
If the Run dialog method does not work for you, you can reach the same information through Settings. Open the Windows Settings app (press Windows key and type "Settings"). Search for About your PC or go to System > About.
Scroll down to find "Device specifications." You will see your Windows version listed here (like "Windows 10" or "Windows 11"). Once you know your Windows version, you know your maximum DirectX version: Windows 10 and 11 both support DirectX 12, Windows 8 supports DirectX 11, and Windows 7 supports DirectX 10 or 10.1 depending on updates.
This method tells you your Windows version but not the exact DirectX version installed. For the precise number, the DirectX Diagnostic Tool is more direct.
What the version numbers mean
DirectX versions are numbered, and higher numbers are newer. DirectX 12 is newer than DirectX 11, which is newer than DirectX 10. Each version adds features and performance improvements that game developers can use.
When a game or program says "Requires DirectX 11," it means it needs DirectX 11 or newer. If you have DirectX 12, you can run it. If you have DirectX 10, you cannot. The version you have is the maximum version available on your system — you cannot have DirectX 12 on Windows 7, no matter what you do.
If your DirectX version is too old for a program
If a game or program tells you that you need a newer DirectX version than what you have, the solution is usually to update Windows, not to download DirectX separately. DirectX updates come through Windows Update.
Open Settings, go to Update & Security (Windows 10) or System > Windows Update (Windows 11), and click Check for updates. Windows will download and install any available updates, including DirectX updates. You may need to restart your computer. After restarting, open the DirectX Diagnostic Tool again to confirm the version has changed.
If you are on Windows 7 or Windows 8 and a modern game requires DirectX 12, updating Windows will not help — those older Windows versions cannot run DirectX 12. Your only option would be to upgrade to Windows 10 or 11.
Checking graphics card DirectX support
Your graphics card also has its own DirectX support level, separate from your Windows version. A very old graphics card might not support the newest DirectX features even if Windows does. The DirectX Diagnostic Tool shows this too.
Open dxdiag again and click the Display tab. Look for "Driver Version" and "Driver Date" — these tell you when your graphics card driver was last updated. Below that, you may see information about DirectX Feature Level, which shows what DirectX features your specific graphics card can use.
If your graphics driver is very old, updating it can sometimes unlock newer DirectX features. Visit the website of your graphics card manufacturer (NVIDIA, AMD, or Intel) and download the latest driver for your specific card model. After installing it and restarting, your DirectX capabilities may improve.
Frequently Asked Questions
Can I download DirectX 12 if I only have DirectX 11?
No. DirectX comes with Windows and cannot be downloaded separately. To get DirectX 12, you must upgrade to Windows 10 or Windows 11. If you are already on Windows 10 or 11, you already have DirectX 12 — it is built in.
Why does a game say it needs DirectX 12 when I have it installed?
Your graphics card driver might be outdated, or your graphics card itself might be too old to support all DirectX 12 features. Update your graphics driver first by visiting your card manufacturer's website. If the problem continues, your graphics hardware may not meet the game's requirements.
Does updating DirectX slow down my computer?
DirectX updates come through Windows Update and do not slow your system. They usually improve performance and fix security issues. You should install them when Windows offers them.
What if the dxdiag command does not open?
Try opening it a different way: press Windows key, type "DirectX Diagnostic Tool" in the search box, and click the result. If that does not work, your Windows installation may have a problem — try running Windows Update to repair system files.