// sql server · logging & diagnostics

blocked process threshold (s)

Seconds a task must be blocked before a blocked process report event fires; 0 disables.

Default
0 (off)
Range
0 to 86400 seconds
Restart needed
No
Default checked on
SQL Server 2025

What it does

The report shows the blocked and blocking sessions with their statements. Capture it with an Extended Events session on sqlserver.blocked_process_report.

Default value

0 (off). 0 (SQL Server 2025).

Check the current value

SELECT name, value, value_in_use, minimum, maximum, is_dynamic, is_advanced
FROM sys.configurations
WHERE name = 'blocked process threshold (s)';

-- EXEC sp_configure 'blocked process threshold (s)'; also works, but only while show advanced options is 1;
-- otherwise it fails with Msg 15123 because this is an advanced option.

Change it

EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;
EXEC sp_configure 'blocked process threshold (s)', 10;
RECONFIGURE;

No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1). It is an advanced option, so show advanced options must be on to change it.

When to change it

On production servers where blocking is suspected; 10-20 seconds is typical.

What can go wrong

Low values produce a report for every short wait and add monitoring overhead. Detection is best effort and can lag the threshold by several seconds.

Questions about blocked process threshold (s)

What is the default value of blocked process threshold (s) in SQL Server?

0 (off). 0 (SQL Server 2025).

Does changing blocked process threshold (s) require a restart?

No. No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1). It is an advanced option, so show advanced options must be on to change it.

When should I change blocked process threshold (s)?

On production servers where blocking is suspected; 10-20 seconds is typical.

Back to all SQL Server settings, or check the SQL Server manual for every option.

// one client for every engine

Check blocked process threshold (s) on your own server

SQLly runs the query above against SQL Server and the other engines in this reference, from one desktop app on macOS, Windows and Linux.