
Clearing cookies every time you close Microsoft Edge is good for privacy, but it also signs you out of every website. Edge lets you have both: delete cookies on exit, but keep them for a short list of sites you trust, such as your email or bank.
Step 1: Clear cookies when Edge closes
- Open Edge, click the three dots (…) and choose Settings.
- Click Privacy, search, and services in the left menu.
- Find Clear browsing data and click Choose what to clear every time you close the browser.
- Turn on Cookies and other site data.
If the layout is different in your version, type edge://settings/clearBrowsingDataOnClose in the address bar to go straight to this page.
Step 2: Add sites to keep
- On the same page, under the Cookies switch, find the Don’t clear section.
- Click Add.
- Type the site address, for example
[*.]outlook.comto include all its subdomains, or justoutlook.com. - Tick Include third-party cookies on this site only if the site needs it to sign in.
- Click Add. Repeat for each site.
Now close Edge fully and open it again. You should still be signed in to the sites on the list, and signed out of others.
Another way: from Cookie settings
Go to Settings > Cookies and site permissions > Manage and delete cookies and site data. Here you can also add sites to Allow or Block lists. The Don’t clear list in Step 2 is the right one for keeping logins.
Useful tips
- Some sites sign in through another domain (for example a Microsoft or Google login page). Add that domain too if you still get signed out.
- Edge running in the background can stop data from clearing. Turn off Continue running background extensions and apps when Microsoft Edge is closed under Settings > System and performance.
Frequently asked questions
Does this also keep my passwords?
Saved passwords are separate from cookies. They stay unless you choose to clear passwords as well.
Why am I still signed out of a site on the list?
Check the spelling and use the [*.] form so subdomains like login pages are included.



