Learn how to clear browsing data on close in Microsoft Edge



This article explains how to automatically clear browsing data when closing Microsoft Edge, protecting privacy and improving browser performance. Users can configure this feature in the browser settings or through the Windows Registry Editor. Clearing browsing data can prevent unauthorized access to personal information and enhance security. Following these steps can help ensure a clean…

This article explains clearing and deleting browsing data when you close Microsoft Edge.

The Microsoft Edge browser is the default browser in Windows 11. However, users can switch to their preferred or favorite browser anytime. Edge is based on Chromium, similar to Google Chrome and other Chromium-based browsers today.

In Microsoft Edge, you can view and clear your Microsoft Edge browsing history stored on a single device, across all synced devices, and in the cloud. You may choose to clear your browsing history at any time.

If you do not want to clear your browsing data manually, you can configure Microsoft Edge to clear your data on close automatically. If enabled, when you close the Edge browser, it will automatically clear all your browsing data.

Clearing browsing data on close in Microsoft Edge can help protect your privacy and free up storage space on your device. It ensures that your browsing history, cookies, and other temporary files are not stored on your device after you close the browser.

This can prevent others from accessing your browsing history and personal information. Additionally, clearing browsing data regularly can help improve the performance of your browser and reduce the risk of security threats.

Automatically clear browsing data when Microsoft Edge closes

As mentioned above, users can automatically delete browsing data when they close their Microsoft Edge browser.

Here’s how to do it.

First, open the Microsoft Edge browser.

Then click on Setting and more (Alt+F) three dots () in the upper right-hand corner to access the Settings menu.

micrsoft edge browser more option and settings
Microsoft Edge browser has more options and settings

On the Settings page on the left panel, click the Privacy, search, and services button.

microsoft edge browser privacy search and services page
Microsoft Edge browser privacy search and services page

On the right, select the “Choose what to clear every time you close the browser” tile to expand it.

Microsoft Edge choose what to clear every time you close the browser

Next, toggle the buttons to the On position next to each browsing data you want to clear on exit in Edge.

To save browsing data, toggle the switch buttons to the Off position.

Microsoft Edge choose what to clear every time you close the browser options

Exit Edge when you’re done.

Clear browsing data on exit for all users using Registry Editor

Users can also choose to clear browsing data for all users using the Windows Registry editor.

First, open Windows Registry Editor.

Then, navigate to the registry key below.


Next, double-click the ClearBrowsingDataOnExit (REG_DWORD) name on the Explorer key’s right pane to open it.

Then, enter a value 1 to clear all browsing data on exit for all users of the Microsoft Edge browser.

If you do not see the ‘ClearBrowsingDataOnExit item, right-click a blank area and create a new DWORD (32-bit) Value. Then, enter the name ‘ClearBrowsingDataOnExit.

Microsoft Edge choose what to clear every time you close the browser registry editor

To restore the default behavior and save all browsing data on exit, delete the ‘ClearBrowsingDataOnExit’ item created.

You may have to restart your computer for the changes to apply.

That should do it!


This post showed you how to clear browsing data when you close the Microsoft Edge browser. Please use the comments form below if you find errors or have something to add.

Like this:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.