// sql server · connections

user connections

Maximum simultaneous user connections; 0 means the maximum, 32767.

Predeterminado
0 (= 32767)
Range
0 to 32767
Restart needed
Sí
Default checked on
SQL Server 2025

Lo que hace

SQL Server allocates connection memory as needed, so the default is rarely a constraint.

Valor predeterminado

0 (= 32767). 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 = 'user connections';

-- EXEC sp_configure 'user connections'; 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 'user connections', 2000;
RECONFIGURE;
-- then restart the SQL Server service

Restart required: value_in_use changes only after the SQL Server service restarts (is_dynamic = 0). It is an advanced option, so show advanced options must be on to change it.

When to change it

Seldom. Use it only as a deliberate hard cap.

What can go wrong

A low value locks out applications and, if exhausted, administrators too (keep the DAC enabled).

The closest setting on other engines

MotorAjustePredeterminadoRestart
SQL Server user connections this page 0 (= 32767) Sí
PostgreSQL max_connections 100 Sí
MySQL max_connections 151 No
Oracle processes Set at creation Sí

Questions about user connections

What is the default value of user connections in SQL Server?

0 (= 32767). 0 (SQL Server 2025).

Does changing user connections require a restart?

Yes. Restart required: value_in_use changes only after the SQL Server service restarts (is_dynamic = 0). It is an advanced option, so show advanced options must be on to change it.

When should I change user connections?

Seldom. Use it only as a deliberate hard cap.

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

// one client for every engine

Check user connections 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.