What the Supabase database connections limit is, what happens when you exceed it, and how to check or raise it — verified 2026-08-19.
Connect through the Supavisor pooler (port 6543) instead of direct (5432)
| Plan | Limit |
|---|---|
| Free | 60 connections |
| Pro | 200 connections |
The maximum number of simultaneous direct database connections. Free projects allow 60; Pro projects allow 200. Connection pooling (Supavisor) is strongly recommended for production apps.
Every connection consumes PostgreSQL worker processes and memory; hard caps protect instance stability on shared infrastructure and keep the pool healthy.
SELECT usename, state, count(*)
FROM pg_stat_activity
GROUP BY usename, state
ORDER BY count(*) DESC;
Identify which users/states are consuming connections before tuning the pool.
Point Prisma at the pooler port 6543 and size the connection limit to stay under the cap.
DATABASE_URL="postgresql://postgres.<ref>:<password>@aws-0-<region>.pooler.supabase.com:6543/postgres"
Recommendations are editorial — DB Error Reference takes no payment or affiliate fees for tool listings.
This page is based on the official Supabase documentation linked below and adds practical guidance on top.