Open in the explorer

Set the background tab inactivity timeout for sleeping tabs

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override) › Sleeping tabs settings User Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override) › Sleeping tabs settings
Supported on
Microsoft Edge version 88, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/SleepingTabsTimeout_recommended

Explanation

This policy setting lets you configure the timeout, in seconds, after which inactive background tabs are automatically put to sleep if sleeping tabs is enabled. By default, this timeout is 900 seconds (15 minutes).

When energy saver is active, Microsoft Edge uses the shorter of this timeout and the energy saver timeout. The energy saver timeout is 5 minutes in maximum savings mode. In other active modes, it's 30 minutes, or 15 minutes on devices with less than 6 GB of memory.

Tabs are only put to sleep automatically when the policy 'SleepingTabsEnabled' (Configure sleeping tabs) is enabled or isn't configured, and the user has enabled the sleeping tabs setting.

If you don't configure this policy, users can choose the timeout value.

Policy options mapping:

* 30Seconds (30) = 30 seconds of inactivity

* 5Minutes (300) = 5 minutes of inactivity

* 15Minutes (900) = 15 minutes of inactivity

* 30Minutes (1800) = 30 minutes of inactivity

* 1Hour (3600) = 1 hour of inactivity

* 2Hours (7200) = 2 hours of inactivity

* 3Hours (10800) = 3 hours of inactivity

* 6Hours (21600) = 6 hours of inactivity

* 12Hours (43200) = 12 hours of inactivity

Use the preceding information when configuring this policy.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: msedge/SleepingTabsTimeout_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the background tab inactivity timeout for sleeping tabs
# Possible options:
#   30 seconds of inactivity = 30
#   5 minutes of inactivity = 300
#   15 minutes of inactivity = 900
#   30 minutes of inactivity = 1800
#   1 hour of inactivity = 3600
#   2 hours of inactivity = 7200
#   3 hours of inactivity = 10800
#   6 hours of inactivity = 21600
#   12 hours of inactivity = 43200
Set-ItemProperty -Path $k -Name 'SleepingTabsTimeout' -Value 30 -Type DWord

Disable

# Disable: msedge/SleepingTabsTimeout_recommended
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/SleepingTabsTimeout_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'SleepingTabsTimeout' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Set the background tab inactivity timeout for sleeping tabsSleepingTabsTimeoutDrop-down listenumSleepingTabsTimeoutREG_DWORD
LabelValue
30 seconds of inactivityREG_DWORD = 30
5 minutes of inactivityREG_DWORD = 300
15 minutes of inactivityREG_DWORD = 900
30 minutes of inactivityREG_DWORD = 1800
1 hour of inactivityREG_DWORD = 3600
2 hours of inactivityREG_DWORD = 7200
3 hours of inactivityREG_DWORD = 10800
6 hours of inactivityREG_DWORD = 21600
12 hours of inactivityREG_DWORD = 43200

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.