Set the background tab inactivity timeout for sleeping tabs
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\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- 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
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
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 DWordDisable
# Disable: msedge/SleepingTabsTimeout
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/SleepingTabsTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'SleepingTabsTimeout' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set the background tab inactivity timeout for sleeping tabsSleepingTabsTimeout | Drop-down listenum | SleepingTabsTimeout | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.