MSVCP140.dll belongs to the Microsoft Visual C++ Redistributable - a runtime package thousands of programs and games rely on. When Windows says the file is missing, the runtime is absent or damaged on your PC. The correct fix is reinstalling that package from Microsoft, and it takes about five minutes. Downloading the single DLL from a random site is the one thing you should never do.
Quick answer
Download the Microsoft Visual C++ Redistributable (2015-2022) from Microsoft's official site and install both the x64 and x86 versions, then restart the PC. This restores MSVCP140.dll and its companions in one step - most programs start normally right after.
Fresh Windows installs do not include every runtime version. The first program that needs it shows the error.
Aggressive cleanup tools, interrupted updates and disk errors can corrupt runtime files - programs then fail even though the package looks installed.
32-bit programs need the x86 package even on 64-bit Windows. If only x64 is installed, 32-bit apps still report the file as missing.
A single MSVCP140.dll dropped into a program folder from a download site is often the wrong version - or worse. It breaks apps in ways that look random.
Stay safe: Only Microsoft's site. DLL download sites distribute mismatched and sometimes tampered files - a single wrong DLL creates errors far harder to trace than the one you started with.
sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth.Outbyte PC Repair scans for more than 100 common problems - junk files, heavy background processes, vulnerabilities, privacy issues - and fixes them from one place. Useful when you would rather not run the tools above by hand, or want regular maintenance done automatically.
Download PC Repair Downloads Outbyte PC Repair for Windows 11, 10, 8 and 7. Free by-category trial included.Technically the error may disappear - and a subtler one appears, because the runtime is a set of matched files, not one DLL. Version mismatches crash apps in random places, and DLL sites are a known malware channel. The redistributable installer is official, free and takes a minute.
64-bit Windows runs both 64-bit and 32-bit programs, and each kind loads its own copy of the runtime. Installing both covers everything; the two packages coexist by design.
Yes - VCRUNTIME140.dll, MSVCP140.dll and MSVCP140_1.dll all ship in the same Visual C++ Redistributable. Our VCRUNTIME140.dll guide covers that variant in detail.