// sql server · timeouts

remote query timeout (s)

Seconds an outgoing linked-server query may run before it times out; 0 waits forever.

Standard
600
Range
0 to 2147483647 seconds
Restart needed
Nein
Default checked on
SQL Server 2025

Was es bewirkt

Applies to queries this server sends to linked servers, not to client queries against this server.

Standardwert

600. 600 seconds (SQL Server 2025).

Check the current value

SELECT name, value, value_in_use, minimum, maximum, is_dynamic, is_advanced
FROM sys.configurations
WHERE name = 'remote query timeout (s)';

EXEC sp_configure 'remote query timeout (s)';

Change it

EXEC sp_configure 'remote query timeout (s)', 1800;
RECONFIGURE;

No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1).

When to change it

Raise it for long-running linked server ETL; lower it to stop hung remote calls from holding locks.

What can go wrong

0 lets a hung remote server hold a session open indefinitely.

Questions about remote query timeout (s)

What is the default value of remote query timeout (s) in SQL Server?

600. 600 seconds (SQL Server 2025).

Does changing remote query timeout (s) require a restart?

No. No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1).

When should I change remote query timeout (s)?

Raise it for long-running linked server ETL; lower it to stop hung remote calls from holding locks.

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

// one client for every engine

Check remote query timeout (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.