Browser tabs keep going to sleep because the browser is deliberately pausing background tabs to save memory, battery and CPU. This is a feature, not a fault: Chrome, Edge, Safari and Firefox all limit inactive tabs, and mobile versions are far more aggressive than desktop because phones need memory more urgently. You can stop it happening by adjusting the browser's own memory-saving settings, marking important sites as never-discard, and fixing the conditions (too many open tabs, heavy extensions, tight RAM, aggressive battery saver) that push the browser into discarding tabs. The steps below work on desktop first because the settings are most reliable there; the mobile notes explain where the equivalent controls sit.
What You'll Need
- The browser you actually use for the problem tabs, updated to its current version (help pages and labels change between releases)
- Access to the browser's settings page — no admin rights are needed for the tab and performance settings described here
- A rough idea of how many tabs you keep open and how much RAM the computer has, since both decide whether the browser starts discarding tabs
- Optionally, a browser extension that keeps selected tabs active, installed only from the browser's official store
Note that exact menu labels can differ slightly by browser version, operating system and region. Where a label differs, look for the closest equivalent — the wording is generally similar even when it shifts.
Step-by-Step
- Confirm it is sleeping rather than crashing. Click a sleeping tab. If it reloads, scrolls back to the top, or briefly shows a reload spinner, the tab was discarded from memory, not broken. If the page shows an error page instead, the problem is the connection or the site, not tab sleeping — treat those differently.
- Count your tabs and check memory pressure. Tabs get discarded when the browser needs RAM. Open your system's task manager or activity monitor and look at overall memory use. If memory is close to full, the browser will keep sleeping tabs no matter which toggle you change. Closing a dozen unused tabs and quitting apps you are not using is often the single biggest fix.
- Turn off memory saver on desktop Chrome or Edge. In Chrome, open the three-dot menu and go to Settings, then the Performance section, where you will find Memory Saver with an option to turn it off. In Edge, the same idea lives in Settings under System and performance, labelled as sleeping tabs or efficiency settings — turn off sleeping tabs, or add specific sites to the exclusion list. If your version of the browser has no such section, the setting does not exist on that version and you cannot disable the behaviour directly.
- Exclude the sites you care about instead of disabling everything. Both Chrome's Memory Saver and Edge's sleeping tabs let you add sites that are never put to sleep. Add your webmail, dashboard, chat, document editor and any page that loses state when it reloads. This keeps the memory savings for the tabs you do not care about while protecting the ones you do.
- Check Safari's tab and energy settings on a Mac. Safari handles background tabs differently from Chrome and has no single memory-saver switch. Reduce the pressure instead: close unused tabs, remove unused extensions, and check whether Low Power Mode is on, since it can suspend background activity more aggressively. If a specific site resets when left in the background, keep it in its own window rather than a background tab.
- Adjust Firefox's unloaded tab behaviour. Firefox unloads tabs when memory runs low and when restored after a restart. In the browser's settings, look for the tabs section and check options around restoring sessions and loading tabs on demand. Extensions that keep a tab loaded are available in the official Firefox add-ons store.
- Deal with aggressive battery saver settings on laptops and phones. On Windows, battery saver and the power mode can throttle background activity; on macOS, Low Power Mode does something similar. On Android and iPhone, both the operating system and the browser have their own memory management, and the OS is usually the stricter of the two. Turn off battery saver temporarily to test whether it is the cause.
- Review extensions. Heavy extensions keep extra processes running, which increases memory pressure and makes the browser discard more tabs. Disable extensions you do not use, then restart the browser. On mobile, remove extensions or content blockers you added and did not keep using.
- Pin the tabs that must survive. Pinning a tab keeps it visible and small, and in several browsers reduces the chance it will be discarded. Pinned tabs also make it obvious which pages you consider permanent, which makes it easier to close the rest.
- Restart the browser cleanly and retest. Quit the browser completely rather than just closing the window, reopen it, and leave a test tab in the background for a while. If it survives, you have found the setting or the memory pressure that was causing the discards. If it still sleeps, move on to the troubleshooting section.
Common Mistakes
- Disabling an unrelated setting. Turning off "continue running background apps" or hardware acceleration does not stop tabs from sleeping. Only the memory-saver, sleeping-tab and unload settings do that.
- Expecting toggles to beat a full RAM. No setting overrides real memory exhaustion. If the computer is using nearly all its RAM, tabs will still be discarded.
- Assuming the browser is broken. Discarded tabs reloading is intended behaviour. Treating it as a bug leads people to reinstall the browser, which rarely helps.
- Forgetting that forms and drafts can be lost. A sleeping tab that reloads may clear text typed into a form that has no autosave. Never rely on a half-filled form surviving in a background tab.
- Adding every site to the exclusion list. If you exclude everything, you have simply disabled the feature and given up the memory savings, which can make the whole browser slower.
Tips
- Group or collapse related tabs so you keep fewer of them loaded at once. Chrome's tab groups and Edge's collections both help here.
- Bookmark pages you want to keep but do not need loaded, then close them. A bookmark costs nothing; an open tab costs memory.
- If you regularly keep dozens of tabs, a session manager extension that saves tab sets lets you close them deliberately and reopen them when needed, rather than having the browser do it for you at random.
- Test one change at a time. If you adjust three settings and the problem disappears, you will not know which one mattered or which one you can safely turn back on.
- Keep the browser updated through its own update mechanism, since memory handling is adjusted between releases without any announcement.
Troubleshooting
If that did not work, the cause is usually outside the browser. Check the system's memory use again while the problem occurs, and watch for a single tab or extension consuming a large share of it. Close that tab and see whether the rest stay awake. On Windows, look at the power plan and battery saver; on a Mac, check Low Power Mode. On phones, check both the browser's own data-saving settings and the operating system's battery optimisation settings, which can suspend a browser in the background regardless of what the browser itself is set to.
If a specific site always sleeps while others do not, the site itself may be releasing memory via its own page lifecycle handling. Some web apps save their state when hidden and reload on return; nothing in your settings will keep them loaded. In that case use the site's own save or draft feature before leaving the tab.
If you have tried everything and tabs still discard with plenty of free memory, resetting the browser profile is the next step — but be aware that a profile reset can remove settings, extension data and, depending on the option chosen, browsing history and saved passwords. Back up bookmarks and passwords first, then create a fresh profile and add extensions one at a time to find the culprit. Uninstalling and reinstalling the browser is the last resort and should only be done after exporting your data.
Frequently Asked Questions
Do sleeping tabs lose my data?
Only what was in memory. Saved files, accounts and synced bookmarks are unaffected. Text typed into a form without autosave can be lost when the tab reloads.
Why do tabs sleep on my phone but not on my computer?
Mobile operating systems manage memory far more strictly, and the browser has less control. Expect sleeping to be more common on phones regardless of browser settings.
Is it bad to disable tab sleeping?
Not bad, just heavier. More tabs stay loaded, so the browser uses more RAM and battery. It is a trade-off between speed on return and resources.
Does a sleeping tab still play audio or finish downloads?
Audio from a background tab normally keeps a tab active, and downloads usually continue. A tab that has been fully discarded will not run scripts until you click it.
Can I keep a tab awake without an extension?
Yes, in browsers that offer a never-sleep site list in their performance settings. Pinning the tab also helps in most browsers.
Will clearing the cache stop tabs from sleeping?
No. Cache size is unrelated to tab discarding; clearing it may slow the next load of a page. Focus on memory, not cache.