How to Auto Clear Edge Browsing Data in Windows 11
Microsoft Edge Microsoft Edge is the default browser in Windows 11. However, users can switch to their preferred or favorite browser anytime. Edge works like Google Chrome and other similar browsers.
In Microsoft Edge, you can view and clear your Microsoft Edge browsing history stored on your device, across all your synced devices, and in the cloud. You may clear your browsing history whenever you want.
Do you worry about your privacy? You can set Microsoft Edge to clear your data automatically when you close it. This means all your browsing data gets deleted without you having to do it manually.
Why Clear Your Browsing Data?
Clearing your browsing data helps protect your privacy. It also frees up storage space on your device. When you close Edge, it removes your browsing history, cookies, and temporary files. This stops others from seeing where you’ve been online. Plus, clearing data regularly makes your browser run faster and safer.
How to Auto-Clear Browsing Data in Microsoft Edge
Here’s how to set Edge to clear your data automatically when you close it.
- Open Microsoft Edge.
- Click the three dots (…) in the upper right corner. This opens the menu.
- Select Settings from the menu.

- On the left side, click Privacy, search, and services.

- Look for the box that says “Choose what to clear every time you close the browser.” Click it to expand the options.

- Turn on the toggle switches next to each type of data you want to delete. For example, turn on the switch for browsing history, cookies, and cached files.

- Close the Settings tab. You’re done!
What Happens Next? Every time you close Microsoft Edge, it will automatically delete all the data types you selected. You won’t see any messages or notifications. It just happens in the background.
Clear Browsing Data for All Users Using Registry Editor
Are you an admin? You can make this setting apply to all users on your computer using the Windows Registry Editor.
⚠️ Admin privileges required for this section.
- Open the Registry Editor. Press the Windows key and type “regedit,” then press Enter. Windows Registry Editor
- Navigate to this location:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge - Look for ClearBrowsingDataOnExit in the right panel. Double-click it to open it.

- Change the value to 1. This tells Edge to clear all browsing data when it closes for every user.
- Click OK to save the change.
- If you don’t see ClearBrowsingDataOnExit, right-click in the empty space and select New > DWORD (32-bit) Value. Name it ClearBrowsingDataOnExit. Then set the value to 1.
- Restart your computer to apply the changes.
Want to Turn It Off? Delete the ClearBrowsingDataOnExit item to restore the default behavior. Edge will stop clearing data automatically.
Summary
- Clearing browsing data protects your privacy and frees up storage space.
- You can set Microsoft Edge to clear data automatically every time you close it.
- Use the Privacy Settings menu for a single user.
- Use Registry Editor to apply this setting to all users on your computer (admin access required).
- Regularly clearing data improves browser speed and reduces security risks.
Was this guide helpful?
[…] window. You do not need to sign in to any accounts to use it. When you use Guest mode, your browsing history, cookies, or other site information will not be saved. Everything is wiped clean as soon as you […]