How to Keep Cookies for Chosen Sites When Edge Clears Data on Exit

Watch the video on YouTube
▶ Watch the video on YouTube

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

  1. Open Edge, click the three dots (…) and choose Settings.
  2. Click Privacy, search, and services in the left menu.
  3. Find Clear browsing data and click Choose what to clear every time you close the browser.
  4. 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

  1. On the same page, under the Cookies switch, find the Don’t clear section.
  2. Click Add.
  3. Type the site address, for example [*.]outlook.com to include all its subdomains, or just outlook.com.
  4. Tick Include third-party cookies on this site only if the site needs it to sign in.
  5. 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.

Leave a Comment

Your email address will not be published. Required fields are marked *