d3dcompiler_47.dll Missing? Fix It Safely
In this article
To fix a missing d3dcompiler_47.dll error on Windows, install the latest Microsoft Visual C++ Redistributable and run Windows Update, then restart your PC. The DLL is a Microsoft DirectX shader compiler component, not a file you should download from a random DLL site. The safe fix is to restore it through official Microsoft packages or the app that needs it. If the error appears when launching a game or app, updating that app and your graphics driver often resolves it because the installer may have skipped the redistributable. Do not copy a DLL from another computer or a third-party download site; that risks malware and version mismatches. The steps below walk through the official fixes in order of safety and effort. Labels in Windows menus can differ slightly by version, device or region, so if a name looks different, look for the closest match.
What You'll Need
- A Windows PC with an internet connection.
- Administrator rights to install Microsoft packages and run Windows Update.
- The name of the app or game that shows the error, so you can check its official support page.
- Optional: a restore point or backup of important files before making system changes.
Step-by-Step
- Restart your PC first. A pending update or a file lock can cause the DLL to appear missing. A simple restart clears temporary states and is the fastest check.
- Run Windows Update. Open Settings > Update & Security > Windows Update (on Windows 11: Settings > Windows Update) and click Check for updates. Install all updates, including optional ones, then restart. Windows Update often delivers the DirectX and Visual C++ components that include d3dcompiler_47.dll.
- Install the latest Microsoft Visual C++ Redistributable. Go to the official Microsoft Download Center and search for “Visual C++ Redistributable.” Download and install both the x86 and x64 versions for the latest supported Visual Studio version. Many apps that use d3dcompiler_47.dll depend on these runtimes. Install both architectures even on a 64-bit PC, because 32-bit apps need the x86 package.
- Update your graphics driver. Use the official tool from your GPU maker (NVIDIA, AMD or Intel) or Windows Update. A corrupted or outdated driver can cause the DLL to fail to load. Avoid third-party driver updaters.
- Reinstall the affected app or game. Uninstall it through Settings > Apps > Apps & features, then reinstall from the official source (Steam, Microsoft Store, or the vendor’s site). The installer should place the correct DLL version in the app’s folder or register the redistributable. This is often the cleanest fix for a single app.
- Run the DirectX End-User Runtime Web Installer. On the official Microsoft Download Center, search for “DirectX End-User Runtime Web Installer.” Run it and follow the prompts. It installs legacy DirectX components that some older games still need. This is an official Microsoft package, not a DLL download site.
- Check the app’s own folder. If the error names a specific path, open that folder and confirm d3dcompiler_47.dll is present. If it is missing, reinstall the app as in step 5. Do not paste a DLL from elsewhere into a system folder.
- Run the System File Checker. Open Command Prompt as administrator (search “cmd,” right-click, Run as administrator) and type
sfc /scannow, then press Enter. This repairs corrupted Windows system files. It will not replace a third-party DLL, but it fixes related system corruption. Restart after it finishes. - Restart and test. Launch the app again. If the error persists, note the exact message and proceed to troubleshooting.
Common Mistakes
- Downloading the DLL from a DLL aggregator site. These files are often outdated, modified or bundled with malware. Microsoft does not distribute individual DLLs for direct download; use the official redistributable or the app installer.
- Copying a DLL from another PC. Version and architecture mismatches (32-bit vs 64-bit) can cause new errors or crashes. The DLL must match the app and Windows build.
- Installing only the x64 redistributable. Many games are 32-bit and need the x86 package. Install both.
- Placing the DLL in C:\Windows\System32 manually. This can break other apps and is not how Microsoft packages the file. Let installers manage it.
- Ignoring Windows Update. Skipping updates can leave the DirectX and Visual C++ components out of date.
Tips
- Install the Visual C++ Redistributable for multiple years (for example, 2015–2022) if the app’s support page lists a specific version. Installing the latest supported package usually covers older ones, but some apps require a specific year.
- Keep a restore point before installing multiple redistributables. It makes rollback easy if an app conflicts.
- Check the app’s official support page for known DLL issues; some games ship their own redistributable folder inside the install directory.
- Use the 64-bit Command Prompt for sfc /scannow on 64-bit Windows; the tool works from either, but administrator rights are required.
- If you use a portable app, it may expect the DLL in its own folder. Re-download the portable package from the official source rather than adding DLLs manually.
Troubleshooting
If the error continues after the steps above, work through these checks in order. First, confirm the exact error text: it may name a different DLL or a path that points to a specific app folder. If the message says the DLL is missing from a game folder, reinstall that game and verify its files through the launcher (for Steam: right-click the game > Properties > Installed Files > Verify integrity of game files). If the error appears only in one app, the app’s installer is the likely culprit; contact the app’s support with the exact message. If it appears across many apps, run Windows Update again and reinstall both Visual C++ Redistributable packages. Check that your antivirus has not quarantined the DLL; if it has, restore it from quarantine only if you trust the app’s source, then add an exclusion for the app folder. As a last resort, use System Restore to return to a point before the error started; this does not delete personal files but removes apps and updates installed after that point. Do not use “DLL fixer” tools that promise one-click repairs; they often bundle unwanted software.
Frequently Asked Questions
Is d3dcompiler_47.dll a virus?
No, it is a legitimate Microsoft DirectX component used to compile shader code. A virus warning usually means a third-party copy is infected or a security tool flagged a modified file. Use only official Microsoft packages.
Can I download d3dcompiler_47.dll directly from Microsoft?
Microsoft does not offer individual DLL downloads. The file is distributed inside the Visual C++ Redistributable, the DirectX End-User Runtime, Windows Update, or the app’s own installer.
Which Visual C++ Redistributable version includes d3dcompiler_47.dll?
It is included in the Visual C++ Redistributable for Visual Studio 2015 and later, and in the DirectX End-User Runtime. Install both x86 and x64 packages for the latest supported version.
Why does the error appear only in one game?
That game’s installer may not have installed the required redistributable, or its files are corrupted. Reinstall the game and verify its files through the launcher, then install the Visual C++ Redistributable.
Does Windows 10 or 11 include d3dcompiler_47.dll by default?
Windows includes many DirectX components, but the exact DLL version depends on updates and installed runtimes. Running Windows Update and installing the Visual C++ Redistributable ensures the correct version is present.
Will System Restore remove my personal files?
No, System Restore affects system files, installed programs and settings. Personal documents, photos and other user files are not removed, but apps and updates installed after the restore point are undone.