oddworks blog

Edge sleeping tabs settings: turn them off or keep a site awake

On this page
  1. What sleeping tabs do
  2. How to turn off sleeping tabs in Edge
  3. How to change the time before a tab sleeps
  4. How to keep a site from sleeping
  5. What already keeps a tab awake
  6. Why tabs sleep sooner than the time you set
  7. How to protect a single tab
  8. Sleeping tabs on a work computer
  9. When the problem is not sleeping tabs
  10. FAQ

To stop Edge putting tabs to sleep, go to Settings > System and performance > Performance and turn Automatically put tabs to sleep off. To keep just one site awake, add it under Always keep these sites active on the same page. If the toggle is greyed out, your organization controls it with a policy.

Below are the exact steps from Microsoft's documentation, what a sleeping tab actually is, why tabs can fall asleep sooner than the time you picked, and how to deal with a single tab.

What sleeping tabs do

By default Edge puts a background tab to sleep after two hours without use, according to Microsoft's performance features article. Sleeping tabs build on Chromium's tab freezing: the page's script timers are paused, CPU use drops to almost nothing and some memory is freed. When you click the tab again, it wakes up quickly with the page as you left it.

Edge can also discard a tab, which is different. A discarded tab is removed from memory completely and has to reload when you go back, so you can lose scroll position or unsaved input. Microsoft notes that Edge also puts tabs to sleep when it detects memory pressure on your device, so sleeping and discarding can happen even if you rarely leave tabs alone for two hours.

Edge no longer fades sleeping tabs. Inactive tabs get a dotted circle around their icon, though Microsoft says tabs can still be slept or discarded without one.

How to turn off sleeping tabs in Edge

  1. Click the three-dot menu (Settings and more) at the top right.
  2. Choose Settings.
  3. Select System and performance, then Performance.
  4. Turn Automatically put tabs to sleep off.

You can also type edge://settings/system into the address bar to jump to the system settings.

Labels have changed between Edge versions. Some versions call the toggle Save resources with sleeping tabs, and Microsoft's troubleshooting guide links to it at edge://settings/system/managePerformance. If your menu does not match the steps above exactly, look for one of these names on the performance page.

How to change the time before a tab sleeps

If two hours is too short but you still want the memory savings:

  1. Go to Settings > System and performance > Performance.
  2. Make sure Automatically put tabs to sleep is on.
  3. Under Put inactive tabs to sleep after a set time, choose a longer interval from the list.

How to keep a site from sleeping

  1. Go to Settings > System and performance > Performance.
  2. Find Always keep these sites active and click Add site.
  3. Type the site's full URL and click Add.

To change or remove an entry later, click the three dots next to it and choose Edit or Remove. Older versions of Edge label this list Never put these sites to sleep.

The same list also exempts the site from Energy saver, which Microsoft recommends for things like browser games where smooth performance matters.

What already keeps a tab awake

Microsoft lists the activities that stop a tab from sleeping. The page will stay awake if it is:

  • the tab you are looking at
  • sharing its browsing instance with another page
  • your company's intranet site
  • open in DevTools
  • playing audio
  • capturing a window or your screen
  • using your webcam or microphone
  • being cast or mirrored
  • on your "always keep active" list
  • using WebUSB

Notice that "playing audio" is on the list, but a silent page is not. A muted or silent background tab can still be put to sleep, so if a background page needs to keep working, add it to the list rather than relying on Edge to guess.

Why tabs sleep sooner than the time you set

Energy saver overrides your sleeping tabs timeout. When it is active (by default, when you are on battery), Microsoft says Edge puts background tabs to sleep after 30 minutes when it is taking moderate steps to save power, and after five minutes when it is taking stronger steps. While Energy saver is active, the timeout dropdown cannot be changed.

To get your own timeout back, turn Energy saver off:

  1. Go to Settings > System and performance > Performance.
  2. Turn Enable energy saver off, or turn off Use energy saver even when connected to power if you only want it on battery.

The other cause is memory pressure. When your device is low on memory, Edge may sleep tabs regardless of the timer. Closing tabs you no longer need is the only real fix for that.

How to protect a single tab

Edge is built on Chromium and has the same edge://discards diagnostics page as Chrome. It lists every open tab and its state, and Microsoft's troubleshooting guide asks you to save its output when reporting performance problems. The page should show the same Auto Discardable column as Chrome, where clicking Toggle stops automatic discarding for that tab. This is undocumented, applies to that tab only and may not cover every kind of sleeping, so treat it as a workaround. The settings list is the dependable route.

Sleeping tabs on a work computer

If the settings are greyed out with a "managed by your organization" note, an administrator has set one of the sleeping tabs policies:

You can see which policies apply at edge://policy. Only your IT team can change mandatory ones.

When the problem is not sleeping tabs

Sleeping tabs act on tabs you have left alone for a long time. If something stops the moment you switch away, a different mechanism is at work.

Focus Spoofer (which we make) handles the first case. It is a free extension that runs in Edge as well as Chrome and Brave, and it keeps a page from detecting that its tab is hidden or the window lost focus, so players that pause themselves keep going. It does not stop Edge from putting a tab to sleep or discarding it; use the settings above for that. You can see what a page detects on our live test, and read more on the Focus Spoofer page.

For the same settings in other browsers, see how to prevent a tab from sleeping in Chrome, Edge, Brave and Firefox and Chrome Memory Saver: on or off.

FAQ

Should I turn off sleeping tabs in Edge?

If you have plenty of memory and tabs that must keep running, turning it off is fine. Otherwise keep it on and add the sites that matter to "Always keep these sites active".

How long before Edge puts a tab to sleep?

Two hours by default. You can change it under Put inactive tabs to sleep after a set time, but Energy saver shortens it to 30 or even five minutes while it is active.

Does a sleeping tab lose my place?

Usually not. A sleeping tab is paused and wakes with the page as you left it. A discarded tab is unloaded and reloads, which can lose your place.

Why can't I change the sleeping tabs setting?

Either Energy saver is active and controlling the timeout, or your organization has set a sleeping tabs policy. Check edge://policy to see which.

Does Edge put tabs playing music to sleep?

No. Microsoft lists playing audio as one of the activities that keep a tab awake.

Keep reading

Start with the overview: Prevent a tab from sleeping in Chrome, Edge, Brave and Firefox