Fix DWrite.dll Errors in Windows 10 and 11

If a browser, design program or document editor crashes with dwrite.dll in its error report, the problem may involve text rendering, an incompatible font, a graphics driver or the application's own code. A faulting module name does not automatically mean the DLL is damaged.
What is dwrite.dll?
DWrite.dll is the Windows DirectWrite library, used for font selection, text layout and rendering. It supports Unicode text and OpenType features. Applications using the newer DWriteCore library may have a separate runtime dependency; do not substitute one library for the other.
1. Reproduce the failure with a different document
Open the affected application without restoring the previous session if it offers that option. Try a plain document using a standard Windows font, then compare it with the document that triggers the crash. If one document or font family is the common factor, save a backup and test a copy with the suspect font replaced. Do not delete built-in Windows fonts.
2. Check recently installed fonts and extensions
Open Settings > Personalization > Fonts and identify fonts you installed just before the problem began. Remove only a nonessential third-party font that you can reinstall from its legitimate source. Restart the affected program. In browsers and editors, temporarily disable optional extensions using their built-in controls. If the problem vanishes, re-enable them individually to identify a reproducible trigger.
3. Repair the application and graphics path
Update the affected application through its official installer or store. If the application offers a supported hardware acceleration switch, turn it off temporarily and restart. If that changes the result, update or roll back the display driver through the PC or graphics adapter manufacturer, then retest with acceleration enabled. A change here is evidence about the rendering path, not proof that dwrite.dll itself was defective.
4. Investigate crashes across multiple programs
Press Windows + R, enter perfmon /rel and inspect the failure details in Reliability Monitor. Record the application name, faulting module, exception code and path. If several unrelated programs fail after a Windows update or system change, check for applicable Windows updates and run the system integrity checks below. If one program alone fails, send its logs and a minimal reproduction to the vendor.
Repair Windows system files safely
Back up important files and open Terminal or Command Prompt as administrator. Run the first command, wait for it to complete successfully, and then run the second. Restart after repairs and test again. If either command reports an unresolved error, record it rather than downloading replacement DLLs.
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
See Microsoft's system file repair instructions for details. If the issue remains limited to one application, a clean system scan is a reason to return to application-specific troubleshooting.
How to confirm the repair
Open the same document or web page, change fonts, scroll and zoom, and repeat the action that previously caused the crash. Then test another application that renders text. If the original failure no longer appears, keep a record of the change that resolved it. If it returns, compare Reliability Monitor entries rather than repeatedly reinstalling drivers.
Frequently asked questions
Is dwrite.dll a virus? The legitimate Windows component is not malware, but its name alone cannot establish whether an unexpected copy is trustworthy. Check the path and signature and scan suspicious files with Windows Security. Can a registry cleaner fix it? It cannot restore the correct system binary or repair a defective font. Does a missing entry point mean a font problem? Not necessarily; an entry-point failure can indicate an incompatible application or library version. Check software requirements and restore the supported installation first.
Related repair resources
Microsoft DirectWrite documentation · Update or reinstall graphics drivers · Troubleshoot application error 0xc000007b · PC Repair Atlas