ChatGPT login loop keeps refreshing page
You click "Log in," enter your credentials, and the page just refreshes back to the login screen. No error message, no progress — just an endless loop that won't let you into ChatGPT.
ChatGPT login loop keeps refreshing page
You click "Log in," enter your credentials, and the page just refreshes back to the login screen. No error message, no progress — just an endless loop that won't let you into ChatGPT.
What's actually happening
The login loop usually means ChatGPT can't set or read the authentication cookie that keeps you signed in. Your browser accepts the credentials, sends you to OpenAI's servers, gets a response — but then can't store the session token properly, so it kicks you straight back to the login page.
This happens most often when browser extensions block third-party cookies, when you're in strict privacy mode, or when cached authentication data conflicts with new login attempts. Sometimes it's a VPN or corporate network blocking OpenAI's session endpoints. You won't see an error code because technically nothing's failing — the login completes, but your browser immediately forgets it happened.
The refresh can also trigger if you're switching between personal and work Google accounts during SSO login, or if you recently cleared cookies but didn't clear local storage. OpenAI's auth system expects both to match.
How to fix it
1. Clear ChatGPT cookies and cache
In Chrome: Press `Ctrl+Shift+Delete` (Windows) or `Cmd+Shift+Delete` (Mac). Select "Last hour" and check "Cookies" and "Cached images". Click "Clear data."
In Firefox: `Ctrl+Shift+Delete`, choose "Everything" from the time range, check "Cookies" and "Cache", clear.
In Safari: Go to Preferences → Privacy → Manage Website Data, search for "openai.com" and "chatgpt.com", remove both.
2. Enable third-party cookies temporarily
Chrome: Settings → Privacy and security → Third-party cookies → Allow "Including third-party cookies."
Firefox: Settings → Privacy & Security → Custom → uncheck "Cookies" or select "Cookies from unvisited websites."
Safari: Preferences → Privacy → uncheck "Block all cookies."
You only need this enabled during login. Once you're in, you can re-enable blocking.
3. Disable browser extensions
Open an incognito/private window (`Ctrl+Shift+N` in Chrome). Extensions are usually disabled there by default. Try logging in. If it works, one of your extensions is blocking the auth token — common culprits are Privacy Badger, uBlock Origin in strict mode, or Cookie AutoDelete.
Go to your extensions page (`chrome://extensions`), disable them one by one, and test login after each.
4. Try a different login method
If you normally use "Continue with Google," try email/password instead. Go to chatgpt.com, click "Log in," then "Sign in with email" at the bottom. Or vice versa — if email loops, switch to Google SSO.
5. Check VPN and network settings
Disconnect your VPN completely and try again. If you're on a work or school network, try mobile data or a different WiFi. Some corporate firewalls block `auth.openai.com` or strip session cookies from HTTPS responses.
If you're using DNS-level blocking (Pi-hole, NextDNS), temporarily disable it.
If that doesn't work
Log out of all Google accounts, close your browser completely, reopen it, and try logging in with only one Google account active. If you're managing multiple OpenAI accounts tied to different emails, make sure you're using the right credentials — login issues often happen when credentials don't match.
Still looping? Try a completely different browser. If Firefox works but Chrome doesn't, you've got a Chrome-specific config problem — likely a policy setting or corrupted profile.
Document exactly what you see: does the page flash white before refreshing, do you see chatgpt.com for a split second, does the URL change at all? Send that detail to OpenAI through their support contact form at help.openai.com/en/articles/6614161. Include your browser version and whether incognito mode worked. Response typically takes 24-48 hours.
Questions people actually ask
Q: Why does this only happen in my main browser but works in incognito?
A: Incognito doesn't load your extensions or use cached data. The loop is caused by something in your normal browsing profile — usually an extension or corrupted cookie.
Q: Will I lose my chat history if I clear cookies?
A: No. Your history is stored on OpenAI's servers, not in your cookies. You'll just need to log back in.
Q: Can I stay logged in permanently?
A: Not indefinitely. OpenAI sessions expire after 30 days of inactivity, and you'll need to log in again. The loop happens when even fresh logins won't stick.
What to remember
- Clear both cookies and cache for openai.com and chatgpt.com specifically
- Third-party cookies must be enabled at least during login
- Extensions are the most common cause — test in incognito first
- Try switching between email login and Google SSO
- VPNs and corporate networks often block authentication endpoints
---
*openai-support.com is an independent resource, not affiliated with OpenAI Inc.*