ChatGPT login stuck in loop not working
You click "Log in", enter your credentials, and ChatGPT immediately kicks you back to the login screen. No error message, no explanation — just an endless loop that won't let you in.
ChatGPT login stuck in loop not working
You click "Log in", enter your credentials, and ChatGPT immediately kicks you back to the login screen. No error message, no explanation — just an endless loop that won't let you in.
What's actually happening
This login loop happens when your browser can't properly store or read ChatGPT's authentication cookies. When you submit your credentials, OpenAI's servers authenticate you and send back a session token. Your browser is supposed to save that token and use it to keep you logged in. But if something blocks that process — browser settings, extensions, cache corruption — the token never sticks. ChatGPT sees an unauthenticated request, sends you back to login, and the cycle repeats.
The loop hits hardest on accounts with two-factor authentication enabled, because you might get through the 2FA step only to land right back at the email/password prompt. It also affects users who recently changed passwords, switched devices, or use multiple ChatGPT accounts on the same browser.
Third-party cookie restrictions are the most common culprit. Safari and Firefox now block third-party cookies by default, and Chrome's rolling out similar protections. ChatGPT's authentication flow uses cookies from both chatgpt.com and auth0.openai.com — if your browser treats the auth0 domain as a third party and blocks it, you're stuck.
How to fix it
1. Clear ChatGPT cookies and cache completely
In Chrome: click the three dots (top right) → Settings → Privacy and security → Clear browsing data. Select "Last hour", check "Cookies and other site data" and "Cached images and files". Click Clear data.
In Firefox: three lines → Settings → Privacy & Security → Cookies and Site Data → Clear Data. Check both boxes.
In Safari: Safari menu → Settings → Privacy → Manage Website Data. Search for "chatgpt" and "openai", remove all entries.
2. Allow third-party cookies for ChatGPT
Chrome: Settings → Privacy and security → Third-party cookies → "Allow third-party cookies". Or add site exceptions: Settings → Privacy and security → Cookies and other site data → "Sites that can always use cookies" → Add → include `[*.]chatgpt.com` and `[*.]openai.com`.
Firefox: Settings → Privacy & Security → Enhanced Tracking Protection → Custom → uncheck "Cookies" or add chatgpt.com to exceptions.
Safari: Settings → Privacy → uncheck "Prevent cross-site tracking" (temporarily).
3. Disable browser extensions
Open an incognito/private window and try logging in. If it works, an extension is interfering. Common blockers: Privacy Badger, uBlock Origin, Ghostery, any VPN extension. Disable them one by one for chatgpt.com or whitelist the domain in extension settings.
4. Check your device's date and time
Authentication tokens include timestamps. If your system clock is off by more than a few minutes, tokens get rejected. Go to system settings and enable "Set time automatically".
5. Try a different browser
If you're on Safari, switch to Chrome or Firefox. If Chrome's failing, try Edge. This isolates whether it's a browser-specific configuration issue or an account problem.
6. Log out everywhere
Go to platform.openai.com/account (you might need to access this from a working browser or device). Click "Log out of all devices". Wait 5 minutes, then try logging in again.
If none of these steps work, you're likely dealing with an account flag or IP restriction. Check if you can access your account from a different network — switch from Wi-Fi to mobile data. If the loop persists across networks and browsers, contact OpenAI support with your account email and a description of exactly when the loop started.
If that doesn't work
Email help@openai.com with this information:
- Your account email
- Whether you can log in on mobile vs desktop
- Whether you recently changed your password or email
- Screenshots of the loop (show the URL bar so OpenAI can see if it's stuck on auth0.openai.com or chatgpt.com)
Include your browser version (Chrome → three dots → Help → About Google Chrome) and operating system. OpenAI support typically responds within 2-3 business days for login issues. You won't get an immediate fix, but they can check for account-level blocks.
Questions people actually ask
Q: I get through 2FA but then loop back to the login page — is my account compromised?
A: No. This is the third-party cookie issue. Your 2FA code works, but the final authentication token can't save. Follow the cookie steps above.
Q: Does using a VPN cause login loops?
A: Sometimes. If your VPN IP has been flagged for suspicious activity, OpenAI might block authentication from that address. Disconnect the VPN and try again.
Q: The loop started right after I changed my password — related?
A: Yes. Password changes invalidate existing sessions. Clear your cookies completely and log in with the new password from scratch.
What to remember
- Login loops mean your browser can't save the authentication token — usually third-party cookie blocking
- Clear ChatGPT-specific cookies and cache before trying anything else
- Allow third-party cookies for chatgpt.com and openai.com in browser settings
- Test in incognito mode to rule out extension interference
- If it fails across browsers and networks, your account needs OpenAI support review
---
*openai-support.com is an independent resource, not affiliated with OpenAI Inc.*