ChatGPT keeps logging me out every time I refresh
You're working in ChatGPT, hit refresh, and suddenly you're staring at the login screen again. This happens every single time you reload the page, turning a simple conversation into a frustrating cycle of re-entering cre
ChatGPT keeps logging me out every time I refresh
You're working in ChatGPT, hit refresh, and suddenly you're staring at the login screen again. This happens every single time you reload the page, turning a simple conversation into a frustrating cycle of re-entering credentials.
What's actually happening
This logout loop is almost always a cookie problem. ChatGPT uses browser cookies to maintain your session—when you log in, your browser stores an encrypted token that proves you're authenticated. Every time you load chatgpt.com, your browser sends this token to verify you're still logged in.
When cookies get blocked, deleted immediately, or fail to save properly, ChatGPT can't recognise you between page loads. Your browser might be treating chatgpt.com like a tracking site and aggressively clearing data, or your privacy settings are set to block third-party cookies entirely. Sometimes browser extensions—especially ad blockers, VPNs, or privacy tools—intercept and delete these authentication cookies the moment they're created.
If you're using Incognito or Private Browsing mode, this behaviour is intentional. These modes delete all cookies the moment you close the tab or window, which means ChatGPT has no way to remember you logged in.
How to fix it
1. Check your browsing mode
If you're in Incognito, Private Browsing, or InPrivate mode, switch to a regular browser window. Open a new standard window, go to chatgpt.com, and log in again. Your session should persist across refreshes now.
2. Enable cookies for ChatGPT
In Chrome: Go to Settings → Privacy and security → Cookies and other site data. Make sure it's set to "Allow all cookies" or "Block third-party cookies." Click "See all site data and permissions," search for chatgpt.com, and ensure cookies aren't blocked.
In Firefox: Go to Settings → Privacy & Security. Under Enhanced Tracking Protection, select Standard (not Strict). Click "Manage Exceptions" and add chatgpt.com to the allowed list.
In Safari: Go to Preferences → Privacy. Uncheck "Block all cookies." Under "Manage Website Data," make sure chatgpt.com isn't listed with restrictions.
3. Disable privacy extensions temporarily
Turn off extensions one at a time and test after each one. The usual suspects: uBlock Origin, Privacy Badger, Ghostery, Disconnect, or any VPN extension. Right-click the extension icon → Manage extension → toggle it off. Reload chatgpt.com and try logging in. If it works, you've found your culprit—whitelist chatgpt.com in that extension's settings.
4. Clear site data and start fresh
Go to chatgpt.com. Click the padlock or info icon in your address bar → Site settings → Clear data (Chrome) or Forget This Site (Firefox). This wipes corrupted cookies. Now log in again from scratch.
5. Try a different browser
Download a clean browser you don't normally use—Edge, Brave, or Firefox. Log into ChatGPT there. If it works without logging you out, your primary browser has a configuration issue you'll need to troubleshoot further. If it still fails, the problem might be account-related—see ChatGPT not working for account-specific fixes.
If that doesn't work
Check if your company network or antivirus software is interfering. Corporate firewalls sometimes strip authentication cookies or force session timeouts. Try connecting from your phone's hotspot instead of work WiFi.
If you recently changed your OpenAI password or enabled two-factor authentication, old sessions get invalidated. Go to platform.openai.com/account, log out of all devices, then log back in to chatgpt.com.
Still broken? Contact OpenAI support with these details: your browser version, whether you're on Plus/Team/Enterprise, exact steps to reproduce the logout, and whether it happens on multiple devices. Include a screenshot of your browser's cookie settings for chatgpt.com. Response times typically run 2-4 business days. See how to contact OpenAI support for the fastest channels.
Questions people actually ask
Q: Does this mean my account is banned?
A: No. Account bans show a specific error message when you try logging in—you wouldn't get stuck in a refresh loop. This is a browser configuration issue.
Q: Will I lose my chat history if I clear cookies?
A: No. Your conversation history lives on OpenAI's servers tied to your account, not in browser cookies. Clearing cookies only removes your local login token.
Q: Does this happen on the mobile app?
A: Rarely. The mobile app uses different authentication that doesn't rely on browser cookies. If you're seeing logouts there, check can't log in to ChatGPT for app-specific fixes.
What to remember
- Check if you're in private browsing mode first—it's designed to clear cookies
- Whitelist chatgpt.com in your browser's cookie settings and all privacy extensions
- Corporate networks and aggressive antivirus software can block authentication cookies
- Your chat history is safe—clearing cookies won't delete conversations
- Try a completely different browser to isolate whether it's a configuration problem
---
*openai-support.com is an independent resource, not affiliated with OpenAI Inc.*