TechBuzzPro

Microsoft Edge Keeps Logging Me Out: How to Fix It

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Microsoft Edge keeps logging you out of websites, the usual cause is that cookies are being deleted, blocked, or corrupted — or the browser is set to close your session every time you exit. The fix is to check Edge's cookie and site-data settings, make sure you are not browsing in InPrivate mode or with a strict tracking-prevention level, and clear corrupted cookies for the affected site. This guide covers desktop Edge on Windows and macOS; the steps below use current Edge settings, though exact labels can differ slightly by version and region.

What You'll Need

  • A computer with Microsoft Edge installed
  • Access to the account you keep getting logged out of (password or passkey)
  • About 10 minutes

Step-by-Step

  1. Update Edge first. Open Edge, click the three-dot menu (top right), go to Help and feedback > About Microsoft Edge. Edge checks for updates automatically on that page; restart the browser if it installs one. Old bugs around sessions and cookies are often fixed in updates.
  2. Check that cookies are allowed. Go to Settings > Cookies and site permissions > Manage and delete cookies and site data. Make sure Allow sites to save and read cookie data (recommended) is turned ON, and that Block third-party cookies is off unless you specifically want it on (some sites handle sign-ins across domains and can break with it).
  3. Turn off "delete cookies on exit". On the same page, make sure Delete cookies and site data when you close all browser windows is turned OFF. This single setting is the most common reason Edge forgets your logins.
  4. Review your cookie block/allow lists. Still on that page, check Block and Allow under "Sites that can always use cookies" and "Sites that are never allowed". If the site you keep getting logged out of is blocked, remove it from the Block list.
  5. Lower tracking prevention if it's set to Strict. Go to Settings > Privacy, search, and services and, under Tracking prevention, choose Balanced instead of Strict. Strict blocks many cookies that sites use to keep you signed in.
  6. Make sure you're not in InPrivate mode. InPrivate windows (Ctrl+Shift+N) delete cookies when the window closes, so every session starts logged out. Check the window — InPrivate shows an icon in the tab area. Sign in from a normal window instead.
  7. Clear cookies for just the affected site. Go to Settings > Cookies and site permissions > Manage and delete cookies and site data > See all cookies and site data, search for the site's name, and delete its entries. Corrupted cookies can cause repeated sign-out loops. Then sign in again.
  8. Check extensions. Privacy or ad-blocking extensions can strip the cookies a site needs. Click the puzzle-piece icon in the toolbar, and try turning extensions off one at a time (or use Edge's extension manager under the three-dot menu > Extensions) to see if the logouts stop.
  9. Check "Clear browsing data on close". Go to Settings > Privacy, search, and services, scroll to Clear browsing data, click Choose what to clear every time you close the browser, and make sure Cookies and other site data is unchecked.
  10. Sign out and back in to your Microsoft account in Edge. If it's Edge sync or Microsoft sites (Outlook, MSN) losing your login, open a new tab, click your profile icon at the top right, and use Sign out, then sign back in. This refreshes the account token.

Common Mistakes

  • Clearing all cookies and browsing data to fix one site. This logs you out of everything and rarely fixes the root cause — clear cookies only for the problem site.
  • Staying signed in inside an InPrivate window and expecting it to remember you. InPrivate always forgets by design.
  • Setting tracking prevention to Strict and forgetting it — some sites simply cannot stay logged in with it.
  • Blaming Edge when the site itself is the problem. Banks and email services deliberately sign you out after inactivity for security; that is not a browser bug.
  • Ignoring the clock. If your computer's date and time are wrong, secure cookies can be treated as expired and you get logged out constantly.

Tips

  • After changing cookie settings, fully close all Edge windows and reopen before testing.
  • If only one site logs you out, clear that site's cookies (step 7) before touching global settings.
  • Check your Windows or macOS clock is set to automatic: on Windows, Settings > Time & language > Date & time, and turn on "Set time automatically".
  • If you use a cleaner or antivirus tool that wipes browser data, add Edge to its exclusion list or disable that feature.
  • Keep the site's "Keep me signed in" / "Remember me" checkbox ticked when you log in — some sites need it explicitly.

Troubleshooting

If the logouts continue after the steps above, work through these in order:

  1. Restart the computer. A reboot fixes stuck background processes that can interfere with Edge's session storage.
  2. Test another browser. If the site also logs you out in Chrome or Firefox, the problem is the site or your account (for example, someone else signing in on another device kicks you off), not Edge.
  3. Check the site's status. Search for the service's official status page to see if there is a known sign-in issue.
  4. Change your password. If sessions keep dropping everywhere, someone else may be using the account. Changing the password signs out all other sessions on most major services.
  5. Repair or reset Edge (Windows). Open Windows Settings, go to Apps > Installed apps, find Microsoft Edge, click the three dots next to it, choose Modify, and run Repair. Repair reinstalls Edge without losing your data. Avoid "Reset" options elsewhere that would wipe your data — and note Windows itself does not offer a full uninstall of Edge.
  6. Create a new Edge profile. Click the profile icon at the top right and add a new profile, then sign in there. If the problem stops, your old profile's data was corrupted; you can re-enable sync to bring back favorites and passwords.

Frequently Asked Questions

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

Almost always because "Delete cookies and site data when you close all browser windows" or "Clear browsing data on close" is enabled. Turn both off as in steps 3 and 9.

Does InPrivate mode keep me signed in?

No. InPrivate deletes cookies and site data when the window closes, so you start every session logged out. Use a normal window for sites you want to stay signed in to.

Why does only one website keep logging me out?

Either that site's cookies are corrupted (clear them for that site only), the site blocks your cookie settings, or the site intentionally signs you out after a period of inactivity for security.

Can extensions cause this?

Yes. Ad blockers, privacy tools, and cookie managers can remove the cookies a site needs to keep your session. Disable them one at a time to find the culprit.

Will clearing cookies log me out of everything?

Yes. Clearing all cookies signs you out of every site in that browser, which is why this guide clears cookies per site instead. Your favorites, history and saved passwords are not affected by clearing cookies alone.

Why does Edge log me out on my phone but not my PC?

Mobile versions of sites and browsers handle sessions differently, and phone cleaners or "battery saver" features can close background sessions. The desktop steps above apply to Edge on Windows and macOS; on mobile, check the Edge app's settings for any data-clearing-on-exit option.