- Restore matching SumatraPDF files without downloading unsafe DLLs.
- Use clean launch tests to isolate installation and Windows problems.
- Check quarantine, portable files, settings, shortcuts, and LoadLibrary codes.
- Confirm the Exact Symptom With a Simple Launch Test
- Check SumatraPDF.exe and libmupdf.dll Together
- Repair Installed and Portable Copies Correctly
- Check Windows Loading, Security, and Permission Factors
- Inspect or Reset SumatraPDF-settings.txt Safely
- Run a Clean Temporary Test Before Making Larger Changes
- Quick Fix Checklist
- Frequently Asked Questions
If SumatraPDF starts with a “failed to load libmupdf.dll” message and cannot continue, the problem is usually not the PDF or other document you were trying to open. The application cannot load one of its core components. Common causes include an incomplete portable copy, antivirus quarantine, a corrupted installation, incompatible files mixed from different packages, blocked permissions, or another dependency that Windows cannot load. The safest solution is normally to restore a complete, matching SumatraPDF package from the official source rather than downloading an individual DLL.

Start with free Canva bundles
Browse the freebies page to claim ready-to-use Canva bundles, then get 25% off your first premium bundle after you sign up.
Free to claim. Canva-ready. Instant access.
1. Confirm the Exact Symptom With a Simple Launch Test
Begin by separating a program startup failure from an ordinary document-opening problem. Close SumatraPDF, open File Explorer, locate the SumatraPDF program folder, and run SumatraPDF.exe directly without selecting a document.
If the same libmupdf.dll error appears immediately, the failure is in the application installation or its Windows loading environment. Testing additional PDFs, eBooks, comics, CHM files, DjVu files, XPS files, or images will not help because SumatraPDF has not reached the point where it can process a document.
If SumatraPDF opens normally when launched directly, but the error appears after double-clicking a document, test the application with one small, known-good PDF by using its Open command. This reveals whether the Windows file association is launching a different SumatraPDF.exe, an old copied version, or a broken shortcut.
1.1 Check Which Executable Windows Is Launching
Right-click the shortcut you normally use and inspect its target. For an associated document, right-click the file, choose Open with, and select the intended SumatraPDF application. Multiple installed or portable copies can cause Windows to launch an outdated executable from another folder.
You can also open Task Manager after a successful direct launch, find SumatraPDF, and use the option to open its file location. Compare that directory with the shortcut or file association you normally use.
Success means the intended SumatraPDF copy opens without a libmupdf.dll message. Once it does, stop changing settings and test the original document. If direct startup still fails, continue with the package checks below.
2. Check SumatraPDF.exe and libmupdf.dll Together
A SumatraPDF package that uses libmupdf.dll must contain a compatible copy of that DLL where the executable expects to find it. In a typical installed application folder, SumatraPDF.exe and libmupdf.dll should belong to the same installation. Do not move only the executable to the desktop or copy it to another computer by itself.
2.1 Look for a Missing or Renamed DLL
Open the folder containing the failing SumatraPDF.exe and look for libmupdf.dll. Make sure Windows is showing file extensions so that a renamed file such as libmupdf.dll.old is not mistaken for the required DLL.
If the file is absent, likely explanations include:
- Only SumatraPDF.exe was copied from another folder.
- A portable package was extracted or transferred incompletely.
- An update or installation ended before all files were written.
- Security software quarantined or removed the DLL.
- A cleanup utility deleted a file it considered unused.
Do not download libmupdf.dll from a general DLL download website. A random copy may be malicious, modified, built for a different architecture, or incompatible with the SumatraPDF executable. Even a legitimate DLL from another software package may expose different functions and fail to load.
2.2 Avoid Mixing Files From Different Packages
Replacing only the missing DLL with one taken from another SumatraPDF folder can produce a different loading error. The executable, libmupdf.dll, and other packaged components should come from the same official installer or portable archive.
The clean fix is to replace the entire application package. Success means SumatraPDF.exe starts from its repaired folder and opens a simple document. If that happens, there is no reason to alter document settings, codecs, or printer configuration.
3. Repair Installed and Portable Copies Correctly
The appropriate repair depends on whether you use the installed edition or a portable copy. Treat these as separate environments so that old and new files do not become mixed.
3.1 Repair an Installed Copy
Download the appropriate installer from the official SumatraPDF website. Close every SumatraPDF process, run the installer, and allow it to install into its normal application location. If installing over the existing copy does not help, uninstall SumatraPDF, verify that the obsolete application folder is no longer being used by a shortcut, and then install a fresh official copy.
Use an administrator account or approve the Windows elevation prompt when required. Do not manually copy files into a protected application directory while SumatraPDF is running.
After installation, launch SumatraPDF from the new Start menu entry before opening a document. This avoids testing an old desktop shortcut accidentally. Success means the application window opens without the libmupdf.dll error and can display a basic local PDF.
3.2 Repair a Portable Copy
For portable use, download a fresh official portable package and extract the complete package into a new empty folder. Do not extract it over the failing folder, because that can leave incompatible or damaged files behind. Do not run the executable from inside the compressed archive.
If you are moving the portable program between computers, copy the entire extracted directory rather than SumatraPDF.exe alone. Confirm that libmupdf.dll and the other supplied files arrive with it.
Launch the fresh portable executable directly from the new folder. If it works, the old portable folder was incomplete, corrupted, blocked, or internally inconsistent. Keep the working package and discard the failed one only after preserving any settings you intentionally customized.

4. Check Windows Loading, Security, and Permission Factors
A DLL can be present and still be unloadable. Windows may reject it because the file is damaged, its architecture does not match the executable, another required module is unavailable, initialization failed, or security controls blocked access.
4.1 Review Antivirus and Windows Security History
Open your antivirus or Windows Security protection history and look for an action involving SumatraPDF, libmupdf.dll, or the folder containing them. A quarantine event can explain why the application worked previously and then stopped.
Do not automatically allow a file merely because its name looks correct. Confirm that SumatraPDF came from the official website and, where available, inspect the file’s digital signature in its Properties dialog. If you trust the verified package, restore or allow it according to your security product’s instructions, or download a fresh official package after resolving the detection.
Success means the security product no longer removes the component and SumatraPDF launches normally. If the file is quarantined again, stop repeatedly restoring it. Update the security product, rescan the official download, and contact the relevant vendor if necessary.
4.2 Consider File Blocking and Folder Permissions
Files downloaded from the internet or received through another computer can carry security metadata. Right-click the downloaded official archive or installer, open Properties, and check for an Unblock option. If present and you have verified the source, unblock the package before extracting it again.
A portable copy can also fail when placed in a folder where the current account cannot reliably read its files. Test it from a normal user-owned folder rather than a protected system directory, a restricted network share, or removable media with errors. Keep all package files together.
4.3 Use the Windows LoadLibrary Error Code
Some error dialogs or diagnostic logs include a Windows LoadLibrary error code. Record the exact number and wording before reinstalling. Common Windows meanings include error 126 for a module that could not be found, error 193 for an invalid executable format, and error 1114 for a DLL initialization failure.
Error 126 does not always mean that libmupdf.dll itself is absent. Windows can find libmupdf.dll but fail to locate one of the modules it requires. Error 193 often points to a damaged file or an incompatible architecture. Error 1114 indicates that loading began but initialization did not complete.
The code is diagnostic evidence, not a reason to download arbitrary dependencies. A clean official package is still the safest first repair. Advanced users or support personnel can use the exact code to investigate Windows component loading further.
4.4 Know Which External Factors Usually Do Not Apply
Ghostscript, printer drivers, document codecs, and external conversion tools can matter for particular workflows, formats, or printing operations. They are not the normal cause when SumatraPDF itself fails at startup because libmupdf.dll cannot load.
Investigate a printer driver only if SumatraPDF starts and the failure occurs specifically while printing. Investigate document format support or an external tool only if the application launches successfully and one format fails. Do not install codecs or Ghostscript merely to repair a startup DLL error.
5. Inspect or Reset SumatraPDF-settings.txt Safely
The SumatraPDF-settings.txt file stores preferences. A missing core DLL is generally a package-loading problem, so deleting settings should not be the first response. However, settings become relevant when SumatraPDF opens under one test condition but fails after restoring an old portable folder, invoking a particular command, or using a damaged persistent configuration.
5.1 Back Up Before Resetting
Close SumatraPDF completely. Find SumatraPDF-settings.txt in the applicable user data location or portable folder. Instead of deleting it, rename it to SumatraPDF-settings.txt.backup. This preserves favorites, display choices, history, and other preferences that may be represented in the file.
Start SumatraPDF again. If it creates a fresh settings file and works, the old configuration may have contributed to the problem. Restore preferences gradually rather than copying the entire old file back immediately.
If the same libmupdf.dll message appears before the program window opens, the settings file was probably not the cause. Restore the backup if desired and return to repairing the application package. Repeatedly deleting settings will not restore a missing DLL.
5.2 Check Commands and Associations Before Editing Settings
If direct startup works, inspect any custom shortcut command line. Remove old paths, unusual compatibility options, or references to a portable directory that no longer exists. Recreate the shortcut from the working executable and set the Windows file association to that copy.
Success means the same executable works both when started directly and when invoked through the shortcut or associated document. At that point, stop resetting preferences.
6. Run a Clean Temporary Test Before Making Larger Changes
A clean temporary test is the fastest way to determine whether the failure belongs to one SumatraPDF folder or to the wider Windows environment. It avoids destroying settings and provides a clear comparison.
- Download a fresh official SumatraPDF installer or portable package.
- If using portable mode, extract the complete archive into a new empty local folder.
- Do not copy files or settings from the failing installation.
- Launch the new SumatraPDF.exe directly without a document.
- If it opens, use the Open command to select one small, trusted local PDF.
- Only after that succeeds, test the original document and normal shortcut.
If the clean copy works, Windows can load SumatraPDF and its core library. The original installation, portable folder, shortcut, association, or quarantine event is the likely cause. Replace the failed copy rather than continuing to modify the working test.
If the clean official copy reports the same error, record the exact message and LoadLibrary code. Check security history, Windows architecture compatibility, storage errors, and organization security policies. On a managed work computer, ask the administrator whether application control is blocking the DLL.
A successful test is an application window that opens without the DLL error and displays a simple document. Once that result is achieved, change only one remaining item at a time, such as the shortcut or file association.
7. Quick Fix Checklist
- Launch SumatraPDF.exe directly to distinguish startup failure from a document error.
- Confirm libmupdf.dll exists in the complete SumatraPDF application package.
- Do not copy SumatraPDF.exe by itself for portable use.
- Do not mix an executable and DLL from different downloads.
- Check antivirus and Windows Security history for quarantine actions.
- Download a fresh installer or portable package only from the official website.
- Extract portable files into a new empty local folder.
- Avoid random DLL download sites.
- Record any Windows LoadLibrary error code exactly.
- Reset SumatraPDF-settings.txt only after backing it up and only when configuration is relevant.
- Repair shortcuts and file associations if direct launch succeeds.
- Stop troubleshooting once a clean copy opens and displays a simple local PDF.
8. Frequently Asked Questions
8.1 Why does SumatraPDF say it failed to load libmupdf.dll?
SumatraPDF is unable to load a core library required for document rendering and related functions. The DLL may be missing, quarantined, corrupted, mismatched with the executable, inaccessible, or unable to load another required Windows component.
8.2 Can I fix the error by downloading libmupdf.dll separately?
You should not download it from a general DLL website. The file may be unsafe or incompatible with your executable. Download a complete official SumatraPDF installer or portable package so that all supplied components match.
8.3 Is the PDF file causing this error?
Usually not if the message appears when SumatraPDF starts without a document. If the program launches directly but fails only through one document shortcut, check the file association and confirm which executable Windows is opening. A damaged document typically produces a document-opening or rendering error after the application has already started.
8.4 Will reinstalling SumatraPDF delete my settings?
That depends on the installation mode and where preferences are stored. Back up SumatraPDF-settings.txt before uninstalling or replacing folders if your preferences matter. For diagnosis, renaming the file is safer than deleting it permanently.
8.5 Why is libmupdf.dll present but still not loading?
Presence alone does not guarantee that Windows can load a DLL. The file can be corrupted, blocked, built for an incompatible architecture, denied by security policy, or dependent on another unavailable module. The exact LoadLibrary error code can narrow the cause.
8.6 When should I stop changing SumatraPDF settings?
Stop as soon as a clean official copy launches and opens a simple local document. That result proves the core program is working. If the original shortcut or document association still fails, repair only that launch path. Settings changes are unnecessary when the real cause is a missing or mismatched application file.