Why is Microsoft Edge signing me out of websites automatically?

catherine parker 0 Reputation points
2026-08-27T14:09:32.9666667+00:00

I’ve noticed that Microsoft Edge sometimes signs me out of websites after I close and reopen the browser. I have checked the basic cookie settings, but the issue still happens on some sites.

What settings should I check to keep my accounts signed in securely?

Microsoft Edge | Profile, sync, and sign in | Windows 10
0 comments No comments

2 answers

Sort by: Most helpful
  1. Marcin Policht 105.8K Reputation points MVP Volunteer Moderator
    2026-08-27T14:26:50.6966667+00:00

    Microsoft Edge can sign you out of websites for several different reasons, and the first distinction to make is whether Edge is actually deleting the site's authentication information or whether the website itself is deliberately expiring your session. Some websites, particularly banking, financial, healthcare, government, and corporate sites, impose their own session-lifetime or inactivity limits. They may expire your login after a fixed period, after a period of inactivity, when you close the browser, or after a security event. In those cases, Edge cannot override the site's policy.

    Start with Edge's cookie settings under Settings > Privacy, search, and services > Cookies and site data. Make sure “Allow sites to save and read cookie data” is enabled. Then check “Clear browsing data on close.” If this is enabled, make sure “Cookies and other site data” is not selected. Otherwise, Edge will delete authentication cookies whenever you close the browser, which can make it appear that websites are randomly signing you out.

    Also check the site's individual cookie permissions under Settings > Cookies and site data > See all site data and permissions. Find the affected website and verify that its stored data is actually being retained. If the site's cookies disappear when Edge closes, that points toward an Edge setting, extension, cleanup utility, or profile issue. If the cookies remain but the website requires you to authenticate again, the site's own authentication system is a more likely explanation.

    Tracking Prevention is another setting worth checking. Go to Settings > Privacy, search, and services > Tracking prevention. If it is set to Strict, test the affected site with Balanced. Strict tracking prevention can interfere with some authentication flows, particularly when a website relies on cross-site authentication. It is preferable to keep Balanced enabled rather than disabling tracking protection globally. If a particular site genuinely requires an exception, make the exception for that site rather than weakening protection for every website.

    Pay particular attention to whether the website offers “Remember me,” “Keep me signed in,” “Stay signed in,” “Trust this device,” or a similar option. These options generally cause the site to issue a persistent authentication token instead of a temporary browser session. If you do not select the option, the site may intentionally require you to sign in again after closing the browser. Even when you select it, however, the site's security policy may still impose a maximum session lifetime.

    A website can also enforce an idle timeout or maximum authentication lifetime on its server. For example, a site might allow you to remain signed in for 30 days but require reauthentication after 15 minutes of inactivity, or it might require a new login every few days regardless of activity. The exact behavior is controlled by the site's authentication system, not by Edge. Password changes, account-security events, signing out from another device, revoked refresh tokens, or detected suspicious activity can also invalidate an otherwise persistent login.

    If the site uses a separate identity provider such as Microsoft Entra ID, Microsoft account, Google, Okta, or another SSO service, the authentication provider can impose its own session and sign-in policies. For example, an organization can require periodic reauthentication or prevent persistent browser sessions. In that situation, Edge may be retaining everything correctly, but the identity provider is deliberately requiring another authentication.

    Extensions should also be checked, particularly privacy, cookie-management, security, ad-blocking, and automatic-cleanup extensions. Temporarily disable those extensions and test the affected website. If the problem disappears, re-enable them individually to identify which one is deleting or interfering with the authentication data. Third-party cleanup applications can have the same effect.

    Finally, make sure you are using the same Edge profile and are not accidentally opening the site in an InPrivate window. If the problem affects many unrelated websites after every Edge restart, investigate Edge's cookie deletion, extensions, profile, and privacy settings. If it affects only one or a few websites, and particularly if those sites are security-sensitive, the site's own “Remember me” behavior or session-expiration policy is much more likely to be the explanation.

    For security, I would not recommend enabling unrestricted cookies, disabling Tracking Prevention globally, or using an extension designed to force persistent authentication. The safest approach is to allow normal cookie storage, prevent Edge from automatically deleting cookies, use Balanced Tracking Prevention, keep trusted extensions under control, and let individual websites enforce their intended session lifetime.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-08-27T14:09:53.1166667+00:00

    Microsoft Edge usually signs websites out after restart when cookies or authentication tokens are being deleted, blocked, or invalidated. The main settings and checks are:

    1. Make sure Edge is not clearing cookies on exit
      • Open edge://settings/privacy/clearBrowsingData/clearOnClose
      • Turn off Cookies and other site data
      • Also turn off any other items that should not be deleted automatically when Edge closes
    2. Check cookie permissions for the affected sites
      • Open edge://settings/content/cookies
      • Turn on Allow sites to save and read cookie data
      • Review the Block and Clear on close lists
      • Remove any affected site if it appears there
    3. Review tracking prevention
      • Open edge://settings/privacy/trackingPrevention
      • If it is set too strictly, some third-party authentication cookies can be blocked
      • Temporarily set Tracking prevention to Basic and test
      • If that fixes the issue, switch back to Balanced and add the affected sign-in domain to the exceptions list at edge://settings/privacy/trackingPreventionExceptions
    4. Check the system clock and time zone
      • Open Settings > Time & language > Date & time
      • Turn on Set time automatically and Set time zone automatically
      • Select Sync now
      • Authentication cookies can be invalidated by clock skew of more than a few minutes
    5. Disable extensions temporarily
      • Open edge://extensions/
      • Turn off all extensions and test again
      • Re-enable them one at a time to find any privacy, security, or cookie-management extension that is clearing sessions
    6. Test with a new Edge profile
      • Open edge://settings/profiles
      • Select Add profile
      • Test the same sites in the new profile
      • If sign-in persists there, the original profile is likely corrupted
    7. If the issue is only with Microsoft account sign-in or repeated Edge sign-in prompts
      • Clear stale cookies and cached files from edge://settings/privacy
      • Then restart Edge and try signing in again from edge://settings/profiles
      • Note: clearing cookies signs out of all websites
    8. If the device is managed by an organization, check policies
      • Open edge://policy
      • Review cookie-related policies such as DefaultCookiesSetting, CookiesBlockedForUrls, and CookiesSessionOnlyForUrls
      • Also check BrowserSignin if browser sign-in itself is restricted
      • If these policies are enforcing sign-out behavior, the administrator must change them

    For secure sign-in persistence, the best balance is usually:

    • keep Allow sites to save and read cookie data enabled
    • avoid clearing cookies on close
    • use Balanced tracking prevention
    • add only necessary sign-in domains as exceptions instead of broadly weakening privacy settings
    • keep extensions limited to trusted ones

    If the problem continues after these checks, collect:

    • Edge version from edge://version
    • active policies from edge://policy
    • a network trace from edge://net-export/

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.