User Agents

Web browsers and everyday web tech, explained

Where Does Edge Store Cookies

· 5 min read · Cookies and Cache

In this article
  1. Background on Browser Cookies
  2. How Edge Stores Cookies
  3. Accessing and Managing Cookies in Edge
  4. Security and Privacy Considerations
  5. Common Problems and Fixes
  6. Comparison with Other Browsers
  7. Frequently Asked Questions

Microsoft Edge stores cookies in a dedicated folder within the user's local Windows profile, specifically in the AppData\Local\Microsoft\Edge\User Data\Default directory. These cookies are saved in a database file named "Cookies" using SQLite format, which maintains website data for session persistence, login states, and personalization.

Background on Browser Cookies

Cookies are small text files created by websites and stored on a user's device through their web browser. Their primary function is to remember information about the user’s interactions with a site, such as login credentials, language preferences, shopping cart contents, and tracking behavior for analytics or advertising. There are two main types: session cookies, which exist only during an active browsing session and are deleted when the browser closes, and persistent cookies, which remain on the device until they expire or are manually removed.

Browsers like Edge, Chrome, Firefox, and Safari each manage cookies differently based on their underlying architecture and platform integration. Since Microsoft Edge is built on the Chromium open-source project—the same foundation as Google Chrome—its method of storing and managing cookies closely mirrors Chrome’s approach. This includes using SQLite databases for efficient data retrieval and encryption tied to the Windows user profile for security.

How Edge Stores Cookies

Edge saves cookies in a structured directory within the user’s Windows account. The exact path is:

  • C:\Users\[Username]\AppData\Local\Microsoft\Edge\User Data\Default\Cookies

The Cookies file is not a plain text document but a binary SQLite database. This format allows Edge to quickly read, write, and query cookie data as users navigate between websites. Each entry in the database includes fields such as:

  • Host key (the domain that set the cookie)
  • Name and value of the cookie
  • Path and expiration timestamp
  • Secure and HTTP-only flags
  • SameSite attribute (controls cross-site tracking)

This database is actively updated while Edge is running. For users with multiple profiles, each profile has its own "Default" or named subfolder (e.g., "Profile 1") containing a separate Cookies file. Syncing across devices, when enabled, uploads encrypted cookie data to Microsoft’s cloud servers, but only essential session cookies are synced—authentication tokens are handled separately for security.

Accessing and Managing Cookies in Edge

While the physical file is stored in the AppData folder, most users interact with cookies through Edge’s graphical interface. Here’s how to view and manage them:

  1. Open Microsoft Edge and click the three-dot menu in the top-right corner.
  2. Select Settings.
  3. Navigate to Privacy, search, and services.
  4. Under Clear browsing data, click Choose what to clear.
  5. Check Cookies and other site data to remove them.
  6. For granular control, go to Settings > Cookies and site permissions > See all cookies and site data.

This opens a searchable list of all stored cookies, allowing users to delete specific ones or block domains. The interface abstracts the complexity of the SQLite file, making management accessible without requiring technical tools.

Security and Privacy Considerations

Edge encrypts cookies stored on disk using the Windows Data Protection API (DPAPI), which ties encryption to the user’s login credentials. This means that even if someone gains access to the Cookies file, they cannot read its contents without the user’s Windows password. However, if the system is compromised while the user is logged in, cookies can be stolen—this is a common vector for session hijacking.

Edge also supports modern cookie security features:

  • HTTPOnly: Prevents JavaScript access to sensitive cookies.
  • Secure: Ensures cookies are only sent over HTTPS.
  • SameSite: Limits cross-origin requests to reduce tracking and CSRF attacks.

Users concerned about privacy can block third-party cookies in settings, which stops many advertisers from tracking activity across sites. However, some websites may not function properly if cookies are overly restricted.

Common Problems and Fixes

Issues with cookies in Edge often manifest as login loops, lost preferences, or broken site functionality. Common causes and solutions include:

  • Corrupted cookie database: If the Cookies file becomes damaged, Edge may fail to retain login states. Fix: Clear cookies or rename the Cookies file (while Edge is closed) to force regeneration.
  • Excessive cookie storage: Some sites generate large numbers of cookies, slowing browser performance. Fix: Use Edge’s site data manager to remove data from problematic domains.
  • Sync conflicts: Cookies may not sync across devices if Microsoft account sync is paused or misconfigured. Fix: Check sync settings under Settings > Profiles > Sync.
  • Permission errors: On shared or restricted Windows accounts, Edge may not have write access to the AppData folder. Fix: Adjust folder permissions or run Edge with appropriate user rights.

Always close Edge before manually editing or backing up the Cookies file, as changes made while the browser is active can cause data loss.

Comparison with Other Browsers

Different browsers store cookies in similar but distinct ways:

  • Google Chrome: Also uses Chromium, so stores cookies in AppData\Local\Google\Chrome\User Data\Default\Cookies—nearly identical structure to Edge.
  • Firefox: Stores cookies in a file called cookies.sqlite within the profile folder, using standard SQLite but with a different schema.
  • Safari: On macOS, cookies are stored in ~/Library/Cookies/Cookies.binarycookies, a proprietary binary format not directly readable without tools.

While the storage mechanisms differ slightly, the user-facing controls in each browser are comparable. Edge’s advantage is tight integration with Windows security features and Microsoft account syncing, which can be beneficial for users in a Microsoft-centric ecosystem.

Frequently Asked Questions

Can I move Edge’s cookie storage to another drive?

No, Edge does not support relocating its user data folder without workarounds like symbolic links. The default path is hardcoded, and changing it manually can break browser functionality or sync features.

Are Edge cookies shared with Chrome?

No, even though both use Chromium, Edge and Chrome maintain separate user data profiles. Cookies from one browser do not automatically appear in the other unless manually imported or synced via a Microsoft-Google bridge tool (not standard).

How do I back up my Edge cookies?

You can back up the Cookies file by closing Edge and copying the entire User Data\Default folder to a safe location. Note that restoring it later requires replacing the current file while Edge is closed.

Why are some cookies not deleted when I clear browsing data?

Some websites use service workers or localStorage alongside cookies. Clearing only cookies may not remove all tracking data. To fully reset, select all data types—browsing history, cookies, cache, and site data—when clearing.

Can malware steal Edge cookies?

Yes, if malware runs with user-level privileges, it can access the Cookies file or scrape active session data from memory. This is why keeping antivirus software updated and avoiding suspicious downloads is critical.

Does Edge store cookies in the cloud?

Only if sync is enabled and configured to include cookies. Most users sync browsing data like favorites and history, but cookie syncing must be explicitly turned on and is encrypted in transit.