How to Fix Outlook Runtime Errors
In this article
Outlook runtime errors usually appear as a pop-up saying "Runtime Error! Program: ... Outlook.exe" or "Microsoft Visual C++ Runtime Library" and can freeze or crash the app. The quickest fix is to repair your Office installation and clear Outlook's cached data. Below are the exact steps, in order, to get Outlook running smoothly again.
What You'll Need
- Your Windows administrator password (for some steps).
- Access to the Control Panel or Settings app.
- Your Outlook profile name and password (you'll need to sign in again).
- About 30 minutes of time.
Step-by-Step
1. Restart Outlook and Your Computer
- Close Outlook completely. Check the system tray (bottom-right corner) for the Outlook icon, right-click it, and choose Exit.
- Restart your computer. This clears temporary glitches that often cause runtime errors.
- Reopen Outlook. If the error is gone, you're done. If not, continue.
2. Run Office Repair (Quick Repair first)
- Open Control Panel (press Windows + R, type
control, and press Enter). - Click Programs and Features (or Uninstall a Program).
- Find Microsoft 365 or Microsoft Office in the list. Select it and click Change (or Modify).
- Choose Quick Repair and click Repair. Follow the prompts. This may require you to sign in again.
- Once done, restart Outlook. If the error persists, repeat the steps but choose Online Repair (this takes longer but is more thorough).
3. Clear Outlook's Cache (Temporary Files)
- Close Outlook.
- Press Windows + R, type
%localappdata%\Microsoft\Outlook, and press Enter. This opens your Outlook data folder. - Look for a subfolder named RoamCache (if present). Delete its contents (the files inside, not the folder itself).
- Also delete any files with the .tmp extension in the main Outlook folder.
- Restart Outlook. It will rebuild the cache.
4. Disable Problematic Add-ins
- Open Outlook. Go to File > Options > Add-ins.
- At the bottom, next to Manage, select COM Add-ins and click Go....
- Uncheck all add-ins, then click OK.
- Restart Outlook. If the error stops, re-enable add-ins one by one to find the culprit.
5. Run Windows Update
- Open Settings (Windows + I) > Update & Security > Windows Update.
- Click Check for updates and install any available updates.
- Restart your computer and test Outlook.
6. Create a New Outlook Profile
- Close Outlook.
- Open Control Panel > Mail (or search for "Mail" in the Start menu).
- Click Show Profiles.
- Click Add, give it a name (e.g., "NewProfile"), and follow the prompts to set up your email account.
- When done, select Always use this profile and choose the new profile from the dropdown.
- Start Outlook. If it works, you can delete the old profile later.
7. Repair or Reinstall Visual C++ Redistributables
- Some runtime errors come from corrupted Microsoft Visual C++ libraries. Download the latest Visual C++ Redistributable from Microsoft's official website (search for "Visual C++ Redistributable latest supported downloads").
- Run the installer and choose Repair for both x86 and x64 versions.
- Restart your computer.
8. As a Last Resort: Reinstall Office
- Uninstall Office via Settings > Apps > Apps & features, or via Control Panel as in step 2.
- Restart your computer.
- Reinstall Office from your Microsoft account (account.microsoft.com) or from your original installer.
- Activate and set up your account again.
Common Mistakes
- Skipping the Quick Repair – Many users jump to reinstalling, but a simple repair fixes most issues.
- Deleting the wrong files – Only delete cache files (RoamCache, .tmp files). Do not delete .ost or .pst files unless you have a backup; they contain your emails.
- Not disabling add-ins before testing – If you don't disable all add-ins at once, you may miss the culprit.
- Ignoring Windows Updates – Outdated Windows components can cause runtime errors.
Tips
- Always back up your Outlook data (export to .pst) before doing a repair or reinstall.
- Keep your Office installation up to date via File > Office Account > Update Options.
- If you use a corporate email, check with your IT department before changing profiles or reinstalling.
- Run a virus scan – malware can cause runtime errors.
Troubleshooting
If the error persists after all steps:
- Check if the error appears only with a specific email account. If so, remove that account from Outlook and re-add it.
- Try Outlook in Safe Mode. Press Windows + R, type
outlook.exe /safe, and press Enter. If it opens without error, an add-in or customization is the cause. - Check the Windows Event Viewer. Open Event Viewer (search in Start), go to Windows Logs > Application, and look for errors related to Outlook. The details may point to a specific DLL or module.
- If you're on a work computer, contact your IT support. They may have group policies that affect Outlook.
- If nothing works, consider using Outlook on the web (outlook.com or your company's webmail) as a temporary measure while you seek further help.
Frequently Asked Questions
Will I lose my emails if I create a new profile?
No, your emails remain on the server (or in your .pst file). You just need to re-add your account to the new profile.
How long does an Online Repair take?
It can take 30 minutes to an hour, depending on your internet speed and system.
Can I fix runtime errors on a Mac?
These steps are for Windows. On Mac, try updating Office and restarting, or reinstalling Office.
What is a runtime error exactly?
It's an error that occurs while a program is running, often due to corrupted files, memory issues, or incompatible add-ins.
Is it safe to delete the RoamCache folder?
Yes, it's just temporary data. Outlook will recreate it.
Why does the error happen more often after Windows updates?
Sometimes updates change system libraries that Outlook relies on. A repair usually resolves this.