Where Are Passwords Stored in Edge and Windows?
In this article
Passwords in Microsoft Edge are stored in an encrypted database on your local drive, and on Windows they are additionally protected by the Windows Credential Manager (DPAPI) before being saved to disk. The primary vault file is Login Data, located in your Edge profile folder, and it is encrypted with a key that Windows itself protects.
How Edge’s Password Vault Works
Edge uses the same underlying password storage system as Chromium-based browsers. When you save a password, Edge writes it to a SQLite database named Login Data. This file lives inside your Edge profile directory, typically at:
C:\Users\[YourUsername]\AppData\Local\Microsoft\Edge\User Data\Default\Login Data
The database contains your saved usernames, encrypted passwords, and the website URLs they belong to. The passwords themselves are not stored as plain text. On Windows, Edge encrypts them using the Data Protection API (DPAPI), which ties the encryption key to your Windows user account. This means the same file cannot be decrypted on another user account or another machine without the original user’s credentials.
Windows Credential Manager and DPAPI
Windows Credential Manager is a separate system that stores credentials for Windows services, network shares, and some applications. It is not the same as Edge’s vault, but it plays a supporting role. When Edge encrypts your passwords with DPAPI, the encryption key itself is managed by Windows and is tied to your login password or PIN. This key is stored in the Local Security Authority (LSA) and is used to encrypt and decrypt the password blob before it is written to the Login Data file.
In practice, this means that if someone copies your Login Data file, they cannot read the passwords without also having access to your Windows account. Even on the same machine, another user account cannot decrypt it. This is a strong layer of protection, but it is not absolute—if an attacker runs code as your user, they can use the same DPAPI functions to decrypt the data.
Where Else Passwords Appear in Windows
Beyond Edge’s own vault, Windows stores some credentials in the Credential Manager vault (accessible via Control Panel → Credential Manager). However, Edge passwords are not listed there. Edge has its own password manager, and the credentials you see in Windows Credential Manager are for things like mapped network drives, Windows apps, and sometimes websites if you use Internet Explorer mode.
If you use Edge’s “password monitor” or sync feature, your passwords are also stored in the cloud via your Microsoft account. In that case, they are encrypted with a key derived from your Microsoft account password, and Microsoft cannot read them without your account credentials. This is separate from the local vault but is worth knowing if you use sync across devices.
How to View or Export Saved Passwords
You can view your saved passwords directly in Edge’s settings. Go to edge://settings/passwords and click the eye icon next to any entry. You will be asked to enter your Windows login password or PIN to reveal the plaintext. This is the same authentication that DPAPI uses, so it is consistent with the encryption model.
To export passwords, Edge offers a “Export passwords” button in the same settings page. It writes a CSV file containing your usernames and passwords in plain text. Be careful with this file—anyone who gets it can read all your credentials. Microsoft warns that exporting is not recommended unless you are moving to another password manager.
Common Problems and Misconceptions
One common misconception is that Edge stores passwords in the Windows Credential Manager. That is false—Edge uses its own database, but it relies on Windows’ DPAPI for encryption. Another is that clearing browsing history deletes passwords. That is also false; passwords are stored separately and are only removed if you explicitly delete them in the password settings.
A frequent issue is that the Login Data file can become corrupted, causing Edge to lose saved passwords or fail to save new ones. This can happen after a crash or a failed update. A quick fix is to close Edge and rename the Login Data file to Login Data.old—Edge will create a fresh one, but you will lose your saved passwords unless you have them backed up.
Another issue is that some users find Edge’s password manager does not offer a master password like Firefox does. Edge relies on the Windows account password for encryption, so if someone knows your Windows password, they can see your Edge passwords without extra protection. This is a design choice, not a bug.
Comparing Edge’s Vault to Other Browsers
Edge’s approach is nearly identical to Chrome’s, since both are Chromium-based. Chrome also uses a Login Data file and DPAPI on Windows. Firefox, however, uses a different system: it stores passwords in a file called logins.json and encrypts them with a master password that you can set. That master password is not tied to your Windows account, so it offers an extra layer of protection if you share a computer.
Third-party password managers like Bitwarden or 1Password store your vault in the cloud or locally with a master password that you control. They do not rely on Windows’ DPAPI at all, which means you can use them across different operating systems and devices without being locked to a Windows account.
Safety and Security Considerations
Storing passwords in Edge is generally safe if you have a strong Windows login password and you do not share your user account. However, there are some risks to be aware of:
- If you use a PIN that is short (e.g., 4 digits), an attacker who has physical access to your machine could brute-force it and then decrypt your passwords.
- Malware running under your user account can use DPAPI to decrypt the passwords without needing your password, because the decryption happens in the context of your logged-in session.
- If you sync passwords with your Microsoft account, you are trusting Microsoft’s cloud infrastructure, even though the data is encrypted.
To improve security, enable Windows Hello (face or fingerprint) instead of a simple PIN, and consider using a dedicated password manager with a strong master password for sensitive accounts.
Frequently Asked Questions
Can I see my Edge passwords in Windows Credential Manager?
No. Edge passwords are stored in Edge’s own Login Data file, not in Windows Credential Manager. Credential Manager stores credentials for Windows services and some apps, but not for Edge’s password vault.
If I copy the Login Data file, can I read the passwords on another computer?
No. The passwords are encrypted with DPAPI, which is tied to your Windows user account and the original machine. Copying the file to another computer will not allow decryption unless you also have the same Windows account and machine, which is not possible in practice.
Does clearing browsing history delete my saved passwords?
No. Clearing browsing history only removes your browsing data, not saved passwords. Passwords are stored in a separate database and are only deleted when you remove them individually or use the “Clear browsing data” option with the “Passwords” checkbox selected.
Why does Edge ask for my Windows password to show a saved password?
Edge uses Windows DPAPI to encrypt the passwords, and the decryption key is protected by your Windows login credentials. To reveal a password, Edge prompts for your Windows password or PIN to verify that you are the legitimate user.
Is it safe to use Edge’s built-in password manager?
It is reasonably safe for everyday use, especially if you have a strong Windows login and enable Windows Hello. However, it lacks a master password option, so anyone who knows your Windows password can see your saved passwords. For high-value accounts, a third-party password manager with its own master password is often recommended.