Keep ChatGPT Running in Chrome Background Tabs (2026)
Chrome kills ChatGPT background tabs mid-generation by suspending them for RAM. 3 fixes keep AI sessions running; works for Claude, Gemini, and DeepSeek too.
Key takeaways
- Background tab throttling breaks ChatGPT’s WebSocket keep-alive. Chrome kills the heartbeat and the generation dies mid-response.
- Fastest fix: add
chatgpt.comandchat.openai.comto Chrome’s “Always keep these sites active” atchrome://settings/performance.- Under RAM pressure, Chrome overrides its own exception list. An extension whitelist is more reliable. Same fix for Claude, Gemini, DeepSeek.
You send a long prompt to ChatGPT, switch tabs to do something else while it generates, and come back to a red “Network Error” — or worse, the tab has fully reloaded and your prompt is gone. Chrome throttles JavaScript timers in background tabs to save battery. When the tab is throttled hard enough, the WebSocket keep-alive signal fails. The AI server detects the missed heartbeat, assumes you disconnected, and stops the generation. The fix is straightforward: tell Chrome not to treat the AI tab like a disposable background tab.
Quick Diagnosis
| What you see | Likely cause | Where to start |
|---|---|---|
| Network Error after switching to another tab | Tab throttled or discarded | Whitelist the AI domain |
| Tab reloaded and chat is gone on return | Tab fully discarded | Use Chrome’s “Always keep active” list |
| Error only during long responses | Heartbeat timeout during extended generation | Whitelist domain or keep tab visible |
| Error even when staying on the tab | Network instability, not Chrome | Check connection stability first |
Fix 1: Use Chrome’s Built-in Active Sites List
Chrome’s Memory Saver has a native exception list:
- Navigate to
chrome://settings/performance - Under Memory Saver, click Add next to “Always keep these sites active”
- Add
chatgpt.comandchat.openai.com - For other AI tools, also add
claude.ai,chat.deepseek.com,gemini.google.com
This prevents Memory Saver from discarding these tabs, but Chrome’s native throttling of background JavaScript timers may still apply under some conditions.
Fix 2: Move the AI Tab to a Separate Visible Window
A tab that is visible in a window — even a small one moved to the side — is less aggressively throttled than a fully background tab.
- Right-click the ChatGPT tab
- Select Move tab to new window
- Resize the window and place it where it is partially visible
Fix 3: Test the Throttling Flag (Advanced)
Chrome has flags controlling background timer throttling. These flags may be renamed or removed across Chrome versions.
- Navigate to
chrome://flags - Search for “background timer”
- If Throttle expensive background timers or similar appears, set it to Disabled
- Click Relaunch
Note: Disabling this flag increases battery drain on laptops. This is a diagnostic step — if the Network Error stops, background throttling was the cause.
Whitelisting ChatGPT to Prevent Suspension
Fix 1 (Chrome’s built-in list) handles this for most people. SuperchargePerformance offers a complementary approach: selective persistence — protect the tabs that need to stay alive and suspend everything else.
SuperchargePerformance’s per-site whitelist:
- Add
chatgpt.com(orclaude.ai,chat.deepseek.com) via the extension popup - Those tabs are excluded from suspension — never passed to
chrome.tabs.discard() - All other inactive tabs get suspended, freeing RAM and CPU for the AI tab
- The WebSocket stays alive because the tab’s JavaScript engine keeps running
This is more reliable than Chrome’s native list under severe memory pressure, where Chrome can override its own exceptions. But for most users with 16 GB RAM and fewer than 30 tabs, Fix 1 alone is sufficient.
Technical Background
Real-time AI streaming uses WebSockets or Server-Sent Events (SSE) — persistent connections where the server pushes data to the browser as the response generates.
Chrome applies two background optimizations that can break these connections:
-
Timer throttling: Background tab JavaScript timers are aligned to fire once per minute rather than on their normal schedule. If a WebSocket heartbeat is expected every 5-30 seconds and Chrome delays it by 60 seconds, the server times out the connection.
-
Tab discarding: Under memory pressure, Chrome terminates the renderer process for background tabs entirely. This kills the WebSocket immediately, with no graceful close.
Both behaviors are intentional energy-saving features. The fix is not to disable them globally but to exclude specific tabs from them while they apply to everything else.
Related Articles
- Fix ChatGPT Network Error in Chrome Background Tabs — diagnosing the specific network error this causes
- Prevent Chrome from Suspending the OpenClaw Web UI — same problem for local AI tools running over localhost
- Disable Chrome Efficiency Mode for Specific Tabs — control throttling settings at the tab level
Frequently Asked Questions
Why does Chrome kill my ChatGPT tab?
How do I keep ChatGPT running in a background tab?
Does ChatGPT lose conversation history when Chrome suspends it?
Does this also affect Claude, DeepSeek, and Gemini?
SuperchargePerformance
Tab suspension, ad blocking, and script control. Free.
Don't miss the next release
Be first to know when we ship something new.
Related Articles
FIX ChatGPT Network Error in Chrome: 3 Fixes (2026)
ChatGPT network errors mid-generation are caused by Chrome suspending the tab and killing the WebSocket. Stop disconnects with fixes each tested on Chrome 146.
FIX Chrome Suspending OpenClaw Web UI: 3 Solutions (2026)
Chrome Memory Saver drops the OpenClaw WebSocket after a few idle minutes. 3 fixes that keep the local AI tab alive without disabling Memory Saver globally.
AI Tab Organizer vs Tab Manager: 6 TESTED (2026)
6 AI tab organizers tested on CWS vs real tab managers. AI groups by content. You work by project. That gap costs more than you think. Real comparison inside.
Arc Browser Is Dead: 6 Features to Replicate in Chrome (2026)
Arc entered maintenance mode in 2025. 6 of its best features (spaces, command bar, peek, vertical tabs) replicate in Chrome today without switching browsers.