---
title: "How to Keep Cookies for Chosen Sites When Edge Clears Data on Exit"
id: "20288"
type: "post"
slug: "edge-keep-cookies-specific-sites-on-close"
published_at: "2026-11-16T08:25:00+00:00"
modified_at: "2026-11-16T08:25:00+00:00"
url: "https://aanctech.com/edge-keep-cookies-specific-sites-on-close/"
markdown_url: "https://aanctech.com/edge-keep-cookies-specific-sites-on-close.md"
excerpt: "Make Microsoft Edge delete cookies when you close it but stay signed in to the sites you choose. Set up the Don't clear list in a few steps."
taxonomy_category:
  - "Microsoft Edge"
taxonomy_post_tag:
  - "Browser Settings"
  - "Cookies"
  - "Microsoft Edge"
  - "Privacy"
---

[https://www.youtube.com/watch?v=5ZVisFxMLy4](https://www.youtube.com/watch?v=5ZVisFxMLy4)

[▶ Watch the video on YouTube](https://www.youtube.com/watch?v=5ZVisFxMLy4)

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.

## Must Read

[https://aanctech.com/turn-off-search-suggestions-microsoft-edge/](https://aanctech.com/turn-off-search-suggestions-microsoft-edge/)

[https://aanctech.com/microsoft-edge-autofill-turn-on-off/](https://aanctech.com/microsoft-edge-autofill-turn-on-off/)

### Leave a Comment [Cancel Reply](/edge-keep-cookies-specific-sites-on-close/#respond)
