How to Fix ‘D3DCOMPILER_47.dll Is Missing’ in Windows 11

Launching a modern PC game, desktop graphics editor (such as Photoshop or Blender), or productivity application in Windows 11 only to be stopped by a System Error dialogue: ‘The code execution cannot proceed because D3DCOMPILER_47.dll was not found. Reinstalling the program may fix this problem’ prevents software execution. D3DCOMPILER_47.dll is Microsoft’s Direct3D HLSL (High-Level Shader Language) Compiler library. Windows games and GPU-accelerated applications depend on this dynamic link library to compile graphical shaders directly for your graphics processing unit. When this file is absent, unreadable, or corrupted in the system directory, applications relying on DirectX 11 or DirectX 12 crash immediately upon initialization.

Why Is D3DCOMPILER_47.dll Missing or Not Found?

The shader compiler DLL is an integral component of the DirectX End-User Runtimes and the Windows 11 SDK. Common triggers include:

  • Incomplete Application Bundles: Third-party games failing to include the necessary DirectX 11 redistributable packages within their installation folders.
  • Corrupted Windows Component Store: Filesystem damage in C:\Windows\System32 or C:\Windows\SysWOW64 resulting from abrupt hard shutdowns or failed Windows updates.
  • Antivirus False Positives: Overly aggressive security software quarantining or modifying modified runtime DLL signatures.
  • Missing Visual C++ Redistributable Prerequisites: Companion C++ runtime libraries required to initialize Direct3D compiler hooks being missing or mismatched.

Step 1: Install the Official Microsoft DirectX End-User Runtimes

Never download DLL files from untrusted third-party websites. Restore the authentic, cryptographically signed Direct3D compiler files directly from Microsoft.

  1. Open your browser and navigate to the official Microsoft Download Centre.
  2. Search for and download the DirectX End-User Runtimes (June 2010) installer (or the DirectX Web Installer dxwebsetup.exe).
  3. Run the downloaded executable and extract the files to a temporary folder (e.g. C:\DirectXTemp).
  4. Open the folder and run DXSETUP.exe as Administrator.
  5. Accept the agreement, click Next, and allow the installer to verify and restore all legacy DirectX DLLs including D3DCompiler_47.dll.
  6. Restart your computer and launch the affected application.

Step 2: Run System File Checker (SFC) and DISM Repair

Windows 11 includes a clean copy of D3DCOMPILER_47.dll inside the Windows Component Store (WinSxS).

  1. Press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Execute the DISM image repair tool to fix underlying system image corruptions:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Allow DISM to reach 100% completion. Next, run the System File Checker to repair damaged system DLLs:
    sfc /scannow
  4. If SFC reports ‘Windows Resource Protection found corrupt files and successfully repaired them’, restart your workstation.

Step 3: Copy D3DCOMPILER_47.dll from SysWOW64 or System32

Certain 32-bit and 64-bit applications search for the DLL directly in their root executable folder rather than querying Windows system paths.

  1. Press Win + E and navigate to:
    C:\Windows\System32
  2. Locate D3DCOMPILER_47.dll. Right-click and copy it.
  3. Paste the copied file directly into the installation directory of the program showing the error (where the application’s .exe file resides).
  4. If the application is a 32-bit software package, copy the 32-bit version located in C:\Windows\SysWOW64\D3DCOMPILER_47.dll instead.
  5. Relaunch the program to confirm shader compilation succeeds.

Step 4: Update All Microsoft Visual C++ Redistributables

Shader compilers interface directly with C++ runtime libraries.

  1. Navigate to Settings > Apps > Installed apps.
  2. Review your installed Microsoft Visual C++ Redistributable versions.
  3. Download the latest combined Visual Studio 2015–2022 Redistributable (both vc_redist.x86.exe and vc_redist.x64.exe) from Microsoft’s official portal.
  4. Install both architectures and reboot Windows.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.