ChatGPT login loop keeps refreshing page
You click "Log in", enter your credentials, and the page just reloads — over and over. This infinite login loop affects thousands of users daily, especially after browser updates or when switching between devices.
ChatGPT login loop keeps refreshing page
You click "Log in", enter your credentials, and the page just reloads — over and over. This infinite login loop affects thousands of users daily, especially after browser updates or when switching between devices.
What's actually happening
The login loop happens when ChatGPT can't verify your session properly. Your browser accepts your username and password, sends you to chatgpt.com, but then immediately bounces you back to the login screen without explanation.
The root cause is almost always session cookie issues. When you log in, OpenAI's authentication system sets several cookies to track your session. If your browser blocks these cookies, clears them too aggressively, or can't store them due to privacy settings, ChatGPT can't remember you're authenticated. The system sees you as logged out, sends you back to login, and the cycle repeats.
Browser extensions also trigger this problem. Ad blockers, privacy tools like Privacy Badger, and anti-tracking extensions often block the third-party authentication domains OpenAI uses. Your login succeeds on OpenAI's end, but your browser refuses to accept the confirmation, leaving you stuck in limbo.
How to fix it
1. Clear your ChatGPT cookies specifically
Go to your browser settings and delete cookies only for `chatgpt.com` and `auth0.openai.com`. In Chrome: Settings → Privacy and security → Cookies and other site data → See all site data → search "chatgpt" → Remove. In Firefox: Settings → Privacy & Security → Cookies and Site Data → Manage Data → search "chatgpt" → Remove Selected. Don't clear all cookies — just these two domains.
2. Disable browser extensions temporarily
Open an incognito or private browsing window (Ctrl+Shift+N in Chrome, Ctrl+Shift+P in Firefox). Try logging in there. If it works, an extension is blocking authentication. Exit private mode, then disable extensions one by one: ad blockers first, then privacy tools. The common culprits are uBlock Origin in strict mode, Privacy Badger, and Ghostery.
3. Check your third-party cookie settings
ChatGPT's login requires third-party cookies for Auth0, OpenAI's authentication provider. In Chrome: Settings → Privacy and security → Third-party cookies → Allow third-party cookies. In Firefox: Settings → Privacy & Security → Enhanced Tracking Protection → Custom → uncheck "Cookies". In Safari: Settings → Privacy → uncheck "Prevent cross-site tracking". Try logging in again immediately.
4. Try a different browser
Download Chrome, Firefox, or Edge if you're using Safari or Brave. Log in there. If successful, your original browser has conflicting settings. This isn't a permanent solution, but it confirms where the problem lives.
5. Check for VPN or network issues
Some corporate networks and VPNs interfere with authentication redirects. Disconnect your VPN temporarily and try again. If you're on a work or school network, try switching to mobile data or a home network. If this fixes it, your network administrator may need to whitelist `*.openai.com` and `*.auth0.com`.
If that doesn't work
Clear your entire browser cache and restart your device. Occasionally, corrupted cache files beyond just cookies cause redirect loops.
If the loop persists across multiple browsers and devices, your account may have a server-side session conflict. Go to OpenAI's help center and submit a ticket. Include: your email address, which browsers you've tested, whether incognito mode works, and the exact URL you see in the address bar during the loop. Mention any error codes if they briefly appear.
OpenAI typically responds within 24-48 hours for login issues. If you're a Plus or Team subscriber, check how to contact OpenAI support for priority assistance. Don't create multiple accounts to work around this — that can trigger security flags.
Questions people actually ask
Q: Why does the loop only happen on my laptop but not my phone?
A: Your laptop browser has stricter cookie or extension settings. Mobile browsers generally allow all cookies by default, while desktop browsers with years of customisation accumulate blocking rules that break authentication.
Q: Will I lose my chat history if I clear cookies?
A: No. Your chat history is stored server-side on your OpenAI account, not in browser cookies. You'll need to log in again, but all your conversations will still be there.
Q: Does this mean my account is banned?
A: No. Banned accounts show a specific error message explaining the ban. A login loop is a technical browser issue, not an account restriction. Learn more about ChatGPT not working or what happens if you can't log in to ChatGPT for other reasons.
What to remember
- Clear cookies only for chatgpt.com and auth0.openai.com first — don't nuke everything
- Test in incognito mode to isolate browser extension conflicts
- Enable third-party cookies specifically for OpenAI domains
- Try a different network if you're on VPN or corporate WiFi
- Server-side loops are rare but require OpenAI support to resolve
---
*openai-support.com is an independent resource, not affiliated with OpenAI Inc.*