September 26, 2026

How to Clear Microsoft Edge Browsing Data Every Time You Close It

0

Make Microsoft Edge clear selected browsing data when it closes without accidentally deleting passwords, downloads, or useful sign-in information.

Laptop on a desk used to manage Microsoft Edge browsing privacy

Microsoft Edge can automatically delete selected browsing data whenever you close the browser. This is useful on a shared computer or when you want local history and cookies removed without clearing them manually after every session.

The important part is choosing the right data types. Deleting cookies can sign you out of websites, while deleting saved passwords or autofill data can remove information you intended to keep. This guide explains the setup, the trade-offs, and what to check if automatic clearing does not work.

How to clear Edge browsing data every time you close it

  1. Open Microsoft Edge.
  2. Select the three-dot Settings and more menu in the upper-right corner.
  3. Select Settings.
  4. Open Privacy, search, and services.
  5. Find the Clear browsing data section.
  6. Select Choose what to clear every time you close the browser.
  7. Turn on only the data types you want Edge to delete automatically.
  8. Close every Edge window, reopen the browser, and test the result.

You can also paste edge://settings/clearBrowsingDataOnClose into the Edge address bar to open the relevant settings page directly.

Which Edge data should you clear on exit?

Edge provides separate switches so you can build a sensible balance between privacy and convenience. The available list may vary slightly by Edge version.

Browsing history

This removes the list of pages you visited from the current Edge profile. It is a reasonable choice on a shared computer, but it also removes the convenience of finding previously visited pages through History or address-bar suggestions based on local history.

Download history

This clears Edge’s record of downloaded files. It does not normally delete the downloaded files themselves from your Downloads folder. You must remove those files separately if they contain sensitive information.

Cookies and other site data

Cookies keep you signed in and store site preferences. Microsoft notes that clearing cookies whenever Edge closes signs you out of most websites. Enable this only if that inconvenience is acceptable.

If Edge offers a Don’t clear exception list, you can preserve cookies for trusted sites while clearing other site data. Test each exception after restarting Edge because sign-in behavior can also depend on the website.

Cached images and files

The cache stores local copies of website resources to help pages load faster. Clearing it can reclaim some space and remove cached page assets, but websites may load more slowly the next time you visit them.

Passwords

Do not enable this casually. If you use Edge to save passwords, automatic deletion can remove credentials stored in that profile. Confirm that important logins exist in a password manager or another secure recovery method before selecting this option.

Autofill form data

This can include saved names, addresses, phone numbers, and other form entries. Clear it on a public or shared device, but leave it off on a personal computer if you rely on autofill and understand the privacy trade-off.

Site permissions

Sites can have saved permissions for the camera, microphone, notifications, location, pop-ups, and other features. Clearing permissions means websites may ask again during future visits.

A practical setup for a shared computer

For a computer used by several people, a practical starting point is:

  • Turn on Browsing history.
  • Turn on Download history, while remembering that downloaded files remain on the device.
  • Turn on Cookies and other site data if you want websites to sign out when Edge closes.
  • Consider clearing Cached images and files.
  • Leave Passwords and Autofill form data off unless you deliberately want that information removed.

Automatic clearing is not a substitute for separate user accounts. On a computer you do not control, use an InPrivate window, avoid saving passwords, sign out of important accounts, and delete any downloaded files before leaving.

How automatic clearing interacts with sync

Before deleting browsing data, consider whether the Edge profile is signed in and syncing. Microsoft explains that deleting synced items can affect data across synced devices, depending on the data type and sync state.

If your goal is to remove information only from one device, review Settings > Profiles > Sync first. Do not assume that every switch affects only the current computer. Important favorites and passwords should be backed up or confirmed in your account before making broad deletion changes.

Why Edge may keep data after you close it

Another Edge window is still open

Close all normal and InPrivate Edge windows before testing. A window on another desktop or monitor can be easy to miss.

The wrong data type is enabled

Return to Choose what to clear every time you close the browser and confirm the exact switch. Clearing cached files does not remove browsing history, and clearing download history does not delete downloaded files.

You tested a different Edge profile

Edge profiles maintain separate browsing information and settings. Check the profile icon in the toolbar and confirm that you configured and tested the same profile.

A work or school policy controls the browser

Organizations can manage Edge through policies. Microsoft documents an enterprise policy called ClearBrowsingDataOnExit, and managed settings may be locked or behave differently from personal settings. If Edge says it is managed by your organization, contact the appropriate administrator rather than trying to bypass the policy.

An extension is affecting browser data

A privacy or cleanup extension may also delete or preserve data. Temporarily disable suspect extensions, repeat the test with a non-sensitive site, and re-enable extensions one at a time.

Automatic clearing versus InPrivate browsing

These options solve related but different problems:

  • Clear on exit applies selected deletion rules to ordinary Edge browsing after you close the browser.
  • InPrivate uses a separate temporary session and deletes browsing history, cookies, site data, cache, passwords, addresses, and form data when all InPrivate windows close.

Microsoft notes that favorites and downloaded files remain after an InPrivate session. If a downloaded document is sensitive, delete the file manually and empty the appropriate recycle or trash location.

How to stop Edge clearing data on exit

  1. Open Settings > Privacy, search, and services.
  2. Under Clear browsing data, choose Choose what to clear every time you close the browser.
  3. Turn off the switches for data you want Edge to retain.
  4. Close and reopen Edge, browse a test page, and confirm that the expected history or sign-in remains.

If you also use Google Chrome, see our separate guide on making Chrome ask where to save every download.

Frequently asked questions

Will clearing Edge data on exit delete my downloaded files?

Clearing Download history removes the list shown in Edge, but it does not normally delete the files saved on the computer. Delete sensitive files separately.

Why does Edge sign me out every time I close it?

The most common cause is that Cookies and other site data is enabled under the clear-on-close settings. Turn that switch off, or use an available exception for a trusted site.

Does this setting clear data from every Edge profile?

Configure and test each profile separately. Personal, work, school, and guest profiles can have different data and policies.

Is clearing history on exit the same as hiding activity from websites or an internet provider?

No. It removes selected browsing data from Edge according to your settings. It does not erase records held by websites, network operators, account providers, employers, or other services.

Conclusion

To make Microsoft Edge clear browsing data on exit, open Settings > Privacy, search, and services > Clear browsing data, then choose what to clear whenever the browser closes. Select each item deliberately: history and cache are usually less disruptive, while cookies sign you out and password deletion can cause data loss. Test the setting with the correct Edge profile after closing every browser window.


Instructions verified against Microsoft’s official guides for viewing and deleting Edge browsing history, managing Edge cookies, and InPrivate browsing. Featured photo by Kari Shea on Unsplash.

Leave a Reply

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