User Agents

Web browsers and everyday web tech, explained

How to Stop Chrome from Closing Inactive Tabs

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Chrome automatically closes inactive tabs to free up memory, which can interrupt your workflow or cause you to lose progress on open pages. This behavior, known as tab discarding, is enabled by default to improve performance on devices with limited RAM. You can prevent Chrome from closing inactive tabs by adjusting internal settings, disabling the feature, or using command-line flags. While Chrome doesn’t offer a direct toggle in its standard settings menu, several workarounds exist using Chrome flags and system-level adjustments. This guide walks you through reliable methods to stop Chrome from discarding inactive tabs, explains common pitfalls, and helps troubleshoot when things don’t go as planned.

What You'll Need

  • A computer running Google Chrome (Windows, Mac, or Linux)
  • Administrator or user-level access to change Chrome settings and launch options
  • Basic familiarity with Chrome’s address bar and settings menu

Step-by-Step

  1. Open Google Chrome on your computer. Ensure it’s updated to the latest version by going to Menu > Help > About Google Chrome. Chrome will automatically check and update if needed.
  2. Type chrome://flags in the address bar and press Enter. This opens Chrome’s experimental features page, where advanced settings are managed.
  3. In the search box at the top of the flags page, type "automatic tab discarding" to filter the list.
  4. Locate the option labeled Automatic tab discarding. It may appear as Enable or Default depending on your Chrome version.
  5. Click the dropdown menu next to it and select Disabled. This prevents Chrome from automatically unloading inactive tabs to save memory.
  6. Relaunch Chrome when prompted. Chrome will display a blue banner at the top asking you to restart the browser. Click Relaunch to apply the changes.
  7. To further ensure stability, you can also disable the Memory Saver mode. Go to Menu > Settings > Performance. If Memory Saver is set to On, change it to Off. This disables background tab throttling and reduces the likelihood of tab closure.
  8. (Optional) For more control, especially on desktop systems, you can launch Chrome with a command-line flag. Close Chrome completely, then open a terminal (Mac/Linux) or Command Prompt/PowerShell (Windows). Run Chrome with the flag --disable-features=DiscardInactiveTab. Example on Windows: "C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-features=DiscardInactiveTab. This method overrides internal settings and ensures the feature stays off.
  9. Verify the change by opening multiple tabs, letting some sit inactive for several minutes, and checking if they reload when you return. If they retain their state, the setting is working.

Common Mistakes

  • Not restarting Chrome after changing flags: Chrome flags require a full browser restart to take effect. Skipping the relaunch means the setting won’t apply.
  • Confusing Memory Saver with tab discarding: Memory Saver throttles tabs but doesn’t always close them. However, both features contribute to tab inactivity handling, so disabling both ensures better control.
  • Using outdated flag names: Chrome frequently renames or removes flags. Searching for tab discarding instead of guessing the exact name prevents missed settings.
  • Running Chrome with insufficient memory: Even with discarding disabled, extremely low RAM can force Chrome to close tabs. Ensure your system has adequate memory for your browsing habits.
  • Ignoring browser updates: Chrome updates can reset flags to default. After major updates, recheck chrome://flags to ensure the setting remains disabled.

Tips

  • Use chrome://discards to monitor which tabs Chrome is considering for discarding. This page shows current tab memory usage and lets you manually adjust priority.
  • Pin frequently used tabs to prevent them from being unloaded, even if discarding is enabled. Right-click a tab and select Pin.
  • Consider using tab management extensions like The Great Suspender alternatives (e.g., OneTab) if you want manual control over tab suspension without automatic closure.
  • On systems with 8GB RAM or more, disabling discarding is generally safe. On lower-memory devices, monitor performance after making changes.
  • Bookmark important pages before closing Chrome. If a tab does get discarded, you can restore it from history or bookmarks.

Troubleshooting

If Chrome still closes inactive tabs after following the steps, first confirm that the Automatic tab discarding flag is still set to Disabled and that you relaunched the browser. Some updates reset flag states. Also, check that Memory Saver is turned off in Settings > Performance. If using the command-line flag, ensure Chrome is launched exclusively through that method—if you open Chrome from a desktop shortcut, it may bypass the flag. Create a dedicated shortcut with the flag included to maintain consistency. If tabs are still being discarded, verify system memory usage. High memory pressure can cause Chrome to override settings. Close unused applications or upgrade RAM if this is a recurring issue. On managed devices (e.g., work or school laptops), administrative policies may enforce tab discarding. In such cases, contact your IT administrator, as local settings cannot override enforced policies.

Frequently Asked Questions

Does disabling tab discarding slow down Chrome?

It can, especially if you have many tabs open and limited RAM. Without discarding, Chrome keeps all tab data in memory, which may reduce overall performance on low-memory systems.

Can I re-enable tab discarding later?

Yes. Return to chrome://flags, search for automatic tab discarding, set it to Default or Enabled, and relaunch Chrome.

Why do my tabs still reload even after disabling the feature?

This may happen if Chrome runs out of memory, if a tab crashes, or if website content expires. Some sites (like streaming services) also limit session duration regardless of browser settings.

Does this work on Chrome for mobile?

No. Chrome for Android and iOS handles memory differently and does not support flags like desktop Chrome. Tab discarding cannot be disabled on mobile versions through user settings.

Is there a way to stop discarding without using flags?

Only partially. Disabling Memory Saver in Settings helps, but the most reliable method is disabling the flag, as there’s no standard UI toggle for automatic tab discarding.

Will this affect my computer’s battery life?

Yes, keeping more tabs active increases memory and CPU usage, which can reduce battery life on laptops. Balance tab retention with power efficiency based on your needs.