Reinstalling Windows or Outlook is stressful enough without losing years of carefully built email rules. Those rules quietly sort your invoices, flag messages from your manager, and keep newsletters out of your inbox. If you reinstall first and think about rules later, they are usually gone, and rebuilding them from memory is slow and error-prone.
The good news is that Outlook rules can be exported to a small backup file in just a few minutes. The process differs slightly depending on whether your rules are server-based or client-only, and on which version of Outlook you use. This guide walks you through exporting rules from classic Outlook, checking what Outlook on the web holds, and restoring everything safely after your reinstall.
Quick Answer
In classic Outlook for Windows, go to File, then Manage Rules and Alerts, then Options, then Export Rules, and save the resulting .rwz file somewhere safe outside the computer you are reinstalling, such as cloud storage or a USB drive. After reinstalling, return to the same Options menu, choose Import Rules, and select that file. Server-side Microsoft 365 rules are stored with your mailbox and usually return automatically when you sign in, but export a backup anyway before you start.
Before You Export: Know What You Have
A short check before exporting saves confusion later. Outlook rules come in two types. Server-side rules are stored in your Exchange or Microsoft 365 mailbox and follow the account. Client-only rules are stored with your Outlook setup on that computer and are exactly the ones most at risk during a reinstall.
Open your rule list and look through it once. Note any rules that refer to local folders, local PST files, sounds, or scripts. Those rules may import successfully after a reinstall but still fail until the same local folders and files exist on the new setup. Writing down their destination folders now makes restoration much easier.
- Count how many rules you have, so you can compare after importing.
- Note rules that move mail to local archive folders, with the exact folder names.
- Note any rules that are currently switched off, so you do not wonder later why they do not run.
- Check whether you also have rules in Outlook on the web, which are managed separately.
If your mailbox is a Microsoft 365 or Exchange account, many of your rules will reappear by themselves when you add the account to the new installation, because the server copy is still there. Treat that as a bonus, not as your backup plan. The export file is still the safest record, especially for client-only rules that the server never held.
How to Export Rules From Classic Outlook
The export feature lives inside the Rules and Alerts window in classic Outlook for Windows. Follow these steps carefully and save the file in more than one safe place.
- Open classic Outlook and go to the File tab.
- Select Manage Rules and Alerts to open the rule list for your account.
- If you have several email accounts in Outlook, check the account shown in the drop-down list at the top and repeat the export for each account whose rules you need.
- Select Options in the Rules and Alerts window.
- Select Export Rules.
- Choose a location you will still have after reinstalling, such as OneDrive, another cloud folder, or a USB drive. Do not save the only copy on the same drive you are about to wipe.
- Give the file a clear name including the date, such as Outlook-Rules-Backup, keep the .rwz file type, and select Save.
- Repeat the backup to a second location if the rules are important for your work.
Microsoft describes this same process in its official help on importing or exporting a set of Outlook rules. Note that the export and import options described here belong to classic Outlook. The new Outlook does not currently offer the same .rwz export, because its rules are managed mainly through the server for supported accounts.
What About Rules in Outlook on the Web?
Rules you created in Outlook on the web are server rules. They are stored with your mailbox, not inside a file on your computer, so a reinstall of your computer does not delete them. When you sign in to Outlook on the web after reinstalling, they should still be listed under Settings, Mail, then Rules.
There is no simple download button for web rules, so take a screenshot or write a short list of your most important web rules, with their conditions and actions. That list lets you rebuild them quickly if you ever move to a new mailbox.
Back Up the Rest of Your Outlook Setup Too
Rules rarely live alone. A reinstall can also affect signatures, local folders, and account settings. While you are preparing, protect these items as well.
- Copy any local PST files you still use, especially archive files that your rules point to.
- Save copies of your email signatures, or note that they may need to be recreated for a fresh installation.
- Make sure your main mailbox data is fully synced to the server before you wipe anything, so no recent mail exists only on that computer.
For a wider checklist, see our companion guide on how to back up Outlook settings before changing computers, which covers the supporting files that rules depend on. A rule that imports perfectly but points to a missing local folder will still not work, which is why backing up the folders and the rules together matters.
How to Import Your Rules After Reinstalling
Once Outlook is installed again and your accounts are added and fully synced, restore your rules before you start relying on automatic sorting.
- Add your email accounts to Outlook and allow the mailboxes to finish syncing.
- Recreate any local folders or reconnect the PST files that your old rules used, with the same names as before.
- Go to File, then Manage Rules and Alerts.
- Select Options, then Import Rules.
- Browse to your saved .rwz backup file and open it.
- Review the imported rule list and compare the count with the number you noted before exporting.
- Open two or three important rules and check that their folders and actions still point to the right places.
- Send yourself test messages that match your main rules and confirm each rule runs as expected.
If you see duplicates, because your server rules returned automatically and you then imported the same rules again, switch off or delete the duplicate copies. Test each rule on a few messages before relying on it fully.
Common Mistakes and Helpful Tips
The most damaging mistake is saving the export file on the same drive that is about to be formatted. It sounds obvious, yet it happens often because the desktop feels like a safe, familiar place. The desktop is part of the installation being wiped. Cloud storage or an external drive is the only sensible home for this backup.
A second mistake is exporting rules for only one account when Outlook holds several. Each account in classic Outlook can have its own rule set, selected from the drop-down in the Rules and Alerts window. Export each set separately and name the files by account.
- Export your rules again after any big rule tidy-up, not just before reinstalls.
- Do not rename the .rwz file extension; Outlook expects that format on import.
- Do test imported rules with real messages before assuming your sorting is back to normal.
- If a rule fails after import, check its folder path first; missing local folders cause most post-restore failures.
A useful tip is to keep a plain text note alongside the backup listing your rules in simple language. If you ever move to a different mail app where .rwz import is not available, that note becomes your rebuilding instructions.
Conclusion
Exporting Outlook rules takes only a few minutes: open Manage Rules and Alerts, use Options to export, and store the .rwz file safely away from the computer being reinstalled. Check Outlook on the web for server rules, back up the local folders and files your rules depend on, and import the backup only after your accounts have fully synced on the new installation. Done in that order, your reinstall will keep the sorting system you spent so long building, instead of forcing you to start again from an empty rule list.
Frequently Asked Questions
Where are Outlook rules stored?
Server-side rules for Exchange and Microsoft 365 accounts are stored in the mailbox on the server, which is why they can run when Outlook is closed. Client-only rules are associated with your local Outlook setup. The .rwz export captures the rule set so you can move or restore it manually.
Will my rules come back automatically after I reinstall Outlook?
Server-side rules usually do, because they are part of your mailbox and download when you add the account again. Client-only rules and rules tied to local files are not guaranteed to return, which is why exporting a backup before reinstalling is strongly recommended even for cloud accounts.
Can I export rules from the new Outlook?
The new Outlook does not provide the same .rwz export found in classic Outlook. Its rules for supported accounts are managed on the server, similar to Outlook on the web. If you need a file backup, use classic Outlook where available, and keep a written list of your rules as an extra safeguard.
What is an .rwz file?
An .rwz file is the rules wizard file that classic Outlook creates when you export rules and reads when you import them. It contains the conditions and actions of your rule set. It is not meant to be opened or edited by hand; keep it unchanged and use the Import Rules option to restore it.
My imported rules are listed but do not run. What should I check?
First, check that each rule is switched on. Next, open a failing rule and confirm its destination folder exists with the same name, especially if it pointed to a local PST folder. Finally, test with a new message that clearly matches the rule conditions, since old messages are not processed automatically unless you run rules manually.


Leave a Reply