Step-by-Step Fix
1. Clear Cookies for OpenAI and Auth0
Corrupted or stale cookies from either of these domains cause login loops. You need to clear both.
- Open your browser settings
- Navigate to Privacy & Security → Cookies and site data (Chrome) or Manage Data (Firefox)
- Search for
openai.com— select and delete all stored data - Search for
auth0.com— select and delete all stored data - Close all ChatGPT tabs
- Open a fresh tab and go to
https://chat.openai.com - Log in normally
This single step resolves the vast majority of login loops.
2. Try Incognito / Private Mode
This immediately rules out extensions and cached data as the cause.
- Open an incognito (Chrome: Ctrl+Shift+N) or private (Firefox: Ctrl+Shift+P) window
- Navigate to chat.openai.com
- Attempt to log in
If incognito works: the issue is in your normal browser's cookies, extensions, or settings — proceed with the steps below. If incognito also loops: the issue is your network (VPN/proxy) or account-level — skip to step 5.
3. Disable Browser Extensions
Extensions that block or modify third-party cookies are a primary cause of login loops.
- Go to
chrome://extensions/orabout:addonsin Firefox - Disable all extensions temporarily
- Reload the ChatGPT login page and try again
- If the loop breaks, re-enable extensions one at a time to find the problematic one
Extensions to check first: uBlock Origin, Privacy Badger, Ghostery, Cookie AutoDelete, HTTPS Everywhere, and any VPN browser extension.
4. Enable Third-Party Cookies for OpenAI
ChatGPT's authentication redirects through auth0.com, a third-party domain. If your browser blocks all third-party cookies, the login callback cannot set the session cookie.
- Chrome: go to
chrome://settings/cookies→ select "Allow all cookies" or add[*.]openai.comand[*.]auth0.comto the "Sites that can always use cookies" list - Firefox: go to Settings → Privacy & Security → Enhanced Tracking Protection → change from Strict to Standard
- Safari: go to Settings → Privacy → uncheck "Prevent cross-site tracking" temporarily
5. Disable VPN or Proxy
VPN IP changes mid-authentication interrupt the OAuth callback:
- Disable your VPN completely
- Also check for proxy settings: in Windows, go to Settings → Network → Proxy; in Mac, go to System Settings → Network → Proxies
- Try logging in with no VPN and no proxy active
- If this fixes the loop, switch to a VPN server that uses a static IP
6. Try a Different Browser
If steps 1–5 don't resolve the loop in your main browser, switch browsers entirely:
- Try Chrome, Firefox, Edge, or Safari
- Each uses different cookie handling and security models
- A clean install of a different browser confirms whether the issue is browser-specific
7. Test on a Different Network
Some ISPs and corporate networks route traffic in ways that break the auth0.com redirect:
- Connect to your phone's mobile hotspot
- Try logging in from the hotspot connection
- If this works, your home or work network has a routing issue affecting auth callbacks
Why This Happens
ChatGPT uses Auth0 for authentication, which involves a chain of HTTPS redirects: the login page sends you to auth0.com, auth0.com authenticates your credentials, then redirects back to chat.openai.com with a session token. This final redirect — the "callback" — must successfully set a session cookie in your browser. If anything blocks this cookie from being set (stale existing cookies causing conflicts, extensions blocking the response, third-party cookie restrictions, or a VPN IP change causing the callback to be rejected), the callback fails and you get sent back to the login page, creating a loop.
Common Mistakes to Avoid
- Only clearing cookies for chat.openai.com — the auth0.com cookies are equally important and must be cleared as well to break the loop
- Staying in the loop and retrying — retrying the same broken session loop does not work; you must clear the session state between attempts
- Enabling "Block all third-party cookies" — ChatGPT's auth0.com callback requires third-party cookies to set the session; this setting breaks the login flow on virtually every browser
- Using a VPN with dynamic IP rotation — IP changes mid-flow cause auth callbacks to be rejected as security measures
- Ignoring the incognito test — this one test takes 30 seconds and immediately tells you whether the problem is your browser environment or your network/account
Additional FAQ
Q: Will clearing cookies from auth0.com log me out of other websites that also use Auth0?
Clearing auth0.com cookies will log you out of any other websites that use Auth0 for authentication, not just ChatGPT. If you use other apps that sign you in via Auth0 (many SaaS products use it), you will need to log back into those separately. This is a minor inconvenience but necessary to break the ChatGPT login loop. The data in those apps is not affected — only your logged-in session is cleared.
Q: My login loop only happens after my computer wakes up from sleep. Is this a known issue?
Yes, this is a recognized pattern. When a computer wakes from sleep, network interfaces briefly disconnect and reconnect. If the ChatGPT session was in the middle of an authentication callback when sleep began, the callback IP can change or time out, creating a looped state. The fix is to clear cookies for openai.com and auth0.com after the loop starts, then log in fresh with the computer fully awake and on a stable connection. Setting the browser to not restore sessions on wake can also prevent this.
Q: How do I identify which extension is causing my ChatGPT login loop?
To isolate a problematic extension, disable all extensions first and confirm login works. Then re-enable extensions one at a time, testing the ChatGPT login after each one. The extension that triggers the loop when re-enabled is the culprit. Extensions most commonly responsible include Cookie AutoDelete (deletes auth0.com cookies before login completes), Privacy Badger (blocks auth0.com as a tracker), uMatrix, and VPN browser extensions that rotate IPs mid-authentication.
Prevention Tips
- Allow cookies from auth0.com and openai.com in your browser's cookie settings permanently — these are the minimum required for ChatGPT login to work
- If you use Cookie AutoDelete, add openai.com and auth0.com to the whitelist so their cookies are preserved between sessions
- Use a VPN with a static server IP rather than one that rotates IPs frequently to prevent mid-flow authentication breaks
Related Articles
- ChatGPT login not working
- ChatGPT login with Apple not working
- ChatGPT captcha loop
- ChatGPT login not working on desktop app
Additional FAQ
Q: What is the fastest way to diagnose a login problem? The fastest diagnostic is to open an incognito or private browser window and attempt to sign in there. Incognito windows run without extensions and use fresh cookies, which isolates the two most common causes: a browser extension interfering with authentication, or corrupted session cookies. If login works in incognito, the issue is your main browser profile. If it still fails, the problem is your network, your account, or a platform-side incident.
Related Articles
- ChatGPT billing history and receipts
- ChatGPT login not working
- ChatGPT something went wrong error
- ChatGPT network error fix