How to Fix D3dcompiler_42.dll Not Found or Missing Errors

If a PC reboot doesn't fix the error, install DirectX or reinstall the program

D3dcompiler_42.dll issues are caused in one way or another by an issue with Microsoft DirectX.

The d3dcompiler_42.dll file is one of many files contained in the DirectX software collection. Since DirectX is utilized by most Windows based games and advanced graphics programs, d3dcompiler_42.dll errors usually show up only when using these programs.

D3dcompiler_42.dll Errors

D3dcompiler_42 DLL Error Message

There are several ways that d3dcompiler_42.dll errors can show up on your computer. Here are several of the more common error messages you might see:

  • D3dcompiler_42.dll not found. Reinstalling might help fix this.
  • The file d3dcompiler_42.dll is missing
  • D3dcompiler_42.DLL Not Found
  • File d3dcompiler_42.dll not found

These error messages could apply to any program that utilizes Microsoft DirectX, most commonly video games. The d3dcompiler_42 DLL errors appear when the game or other software program is started, and can be seen on any of Microsoft's operating systems.

How to Fix D3dcompiler_42.dll Errors

Follow these steps in the order they're listed to address the simpler fixes first.

Do not download the d3dcompiler_42.dll DLL file individually from any "DLL download site." There are a number of reasons why downloading DLLs from these sites is never a good idea. If you've already done so, remove it from wherever you put it and continue with these steps.

  1. Restart your computer if you haven't yet. The d3dcompiler_42.dll error might be a fluke and a simple restart could clear it up completely.

  2. Install the latest version of Microsoft DirectX. Chances are, upgrading to the latest version of DirectX will fix the DLL not found error.

    The same DirectX installation program works with all versions of Windows, and will replace any missing DirectX file.

    Microsoft often releases updates to DirectX without updating the version number or letter, so be sure to install the latest release even if your version is technically the same.

  3. Assuming the latest DirectX version from Microsoft doesn't fix the d3dcompiler_42.dll error, look for a DirectX installation program on your game or application DVD or CD. Sometimes the software developers will include a copy of DirectX on the installation disc if their game or program utilizes DirectX.

    Sometimes, though not often, the version included on the disc is a better fit for the program than the latest version available from Microsoft.

  4. Uninstall the game or software program and then reinstall it again. Something might have happened to the files in the program that work with d3dcompiler_42.dll and a reinstall could do the trick.

  5. Restore the d3dcompiler_42.dll file from the latest DirectX software package. If the above troubleshooting steps haven't worked to solve your error, try extracting the file individually from the DirectX downloadable package.

  6. Update the drivers for your video card. While it's not the most common solution, in some situations updating the drivers for the video card in your computer could correct this DirectX issue.

Need More Help?

If you're not interested in fixing this problem yourself, see How Do I Get My Computer Fixed? for a full list of your support options, plus help with everything along the way like figuring out repair costs, getting your files off, choosing a repair service, and a lot more.

Was this page helpful?