Why developers choose Supabase for hosted Postgres
You came for a Postgres database. You get a fully managed one, plus the tools you would otherwise build or buy. Pure Postgres, no lock-in.
Real Postgres, fully managed
Connect with psql, pgAdmin, or any standard client. Use native extensions and Row Level Security. We handle provisioning, patching, backups, and uptime.
Free to start, $25 when you need more
Launch a database for free in seconds. Upgrade to Pro for daily backups, email support, and additional production features.
More than a database, from day one
Every project ships with a Dashboard, a SQL Editor, a Table Editor, logs, performance and security advisors, and auto-generated APIs.
Built to scale, dependable under pressure
Read replicas, point-in-time recovery, and high availability when you need them.
Pay for Postgres, not for surprises
Most hosted Postgres plans start cheap and stay just okay. Supabase is free to start and $25 a month for a production database, with no charges for reads or writes and no per-connection fees. Here is what is included at each tier.
| What you get | Free | Pro |
|---|---|---|
| Monthly price | $0 | $25 |
| Dedicated Postgres database | ||
| Dashboard, SQL editor, table editor | ||
| Auto-generated REST and GraphQL APIs | ||
| Full extension ecosystem (pgvector, PostGIS, and more) | ||
| Connection pooling | ||
| Charges per read or write | Never | Never |
| Automatic daily backups | 7-day retention | |
| Point-in-Time Recovery | Add-on | |
| Read replicas | Add-on | |
| Database branching | Usage-based | |
| Projects never pause | ||
| Email support | Community |
More than a database
Backups, connection pooling, branching, observability, point-in-time recovery, and developer tools included from day one.
Fully managed Postgres
A dedicated Postgres instance, provisioned in seconds and kept patched and online.
Studio dashboard
Manage your database from a clean UI: browse data, inspect schema, and run queries from anywhere.
Table editor
A spreadsheet-style view to create, edit, and explore tables without writing SQL.
SQL editor
Write and run SQL in the browser, save snippets, and share queries with your team.
Automatic backups
Daily backups with retention, so a bad migration is never the end of the world.
Point-in-Time Recovery
Restore to any moment, down to the second, for true disaster recovery.
Connection pooling
Supavisor pools and shares connections so your app scales past Postgres connection limits.
Read replicas
Add read-only databases in other regions to spread load and cut latency for global users.
Branching
Spin up isolated database branches for development and preview, then merge with confidence.
Migrations and CLI
Version-control your schema and run the full stack locally with supabase start.
Full SQL access
CTEs, triggers, foreign keys, JSONB, full-text search, stored procedures, and PL/pgSQL.
The Postgres extension ecosystem
pgvector, PostGIS, pg_cron, pg_stat_statements, and dozens more, one click away.
Your database is an application platform
Generate APIs, schedule work, trigger workflows, manage secrets, and connect external systems without leaving Postgres.
Auto-generated REST APIs
PostgREST turns your schema into a REST API instantly, ready for any framework.
GraphQL
pg_graphql reflects a GraphQL API straight from your database schema.
Observability and logs
Built-in logs, reports, and query performance tools for fast debugging.
Performance and Security Advisors
Automatic checks that flag missing indexes, slow queries, and risky access policies before they bite.
Cron
Schedule recurring jobs with cron syntax, managed inside Postgres with pg_cron.
Queues
A Postgres-native durable message queue with guaranteed delivery, powered by pgmq.
Vault
Store secrets and encryption keys securely, right in your database.
Foreign Data Wrappers
Query BigQuery, Redshift, MySQL, and external APIs as if they were local tables.
Database webhooks
Trigger functions and external services automatically when your data changes.
MCP Server and AI Assistant
Connect Cursor, Claude, and other AI tools directly to your database.
Top performance,
at any scale
Supabase is Postgres, so the ceiling is Postgres. Scale compute and storage independently, add replicas, and keep query times low whether you are handling a launch spike or steady growth. You will not outgrow it and need to start over somewhere else.
44,000,000+
20-30x
Postgres at its core
ACID-compliant and battle-tested, trusted by startups and enterprises alike.
Vertical and horizontal scaling
Scale compute and storage independently, with support for read replicas.
High-performance disk
Fast, configurable storage tuned for demanding workloads.
Multi-region deployments
Place read replicas close to your users for global availability and low latency.
High availability
Automatic failover and redundancy for mission-critical applications.
Point-in-Time Recovery and automatic backups
Recover quickly from any failure or mistake.
Multigres is coming
Learn more about Multigres and the performance benefits you'll get when it ships.
Postgres is trusted for medical records, missions to the moon, and everything in between
Keep your data secure with SOC 2, HIPAA, and GDPR compliance. Your data is encrypted at rest and in transit, with built-in tools for monitoring and managing security threats.
SOC 2 Type II certified
HIPAA compliant
Encryption at rest and in transit
SSL enforcement
Network restrictions
Row Level Security and Role-Based Access Control
Database audit logs
Security Advisors
Multi-factor authentication
DDoS protection and vulnerability management
Postgres now. The rest of the backend when you want it.
Your hosted Postgres comes from the same platform that gives you Auth, Storage, Edge Functions, Realtime, and Vector search. Start with the database. Add the rest later without migrating, re-architecting, or changing vendors.
Choose your platform to get started in seconds
Or, start with Supabase AI Prompts
1. Install @supabase/supabase-js and @supabase/ssr packages. 2. Set up environment variables. 3. Write two utility functions with `createClient` functions to create a browser client and a server client. 4. Hook up middleware to refresh auth tokens
1. Try to use Web APIs and Deno's core APIs instead of external dependencies (eg: use fetch instead of Axios, use WebSockets API instead of node-ws) 2. If you are reusing utility methods between Edge Functions, add them to 'supabase/functions/_shared' and import using a relative path. Do NOT have cross dependencies between Edge Functions. 3. Do NOT use bare specifiers when importing dependecnies. If you need to use an external dependency, make sure it's prefixed with either 'npm:' or 'jsr:'.
Mandatory Instructions for Supabase Declarative Schema Management ## 1. **Exclusive Use of Declarative Schema** -**All database schema modifications must be defined within '.sql' files located in the 'supabase/schemas/' directory.
You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate a policy with the constraints given by the user. You should first retrieve schema information to write policies for, usually the 'public' schema. The output should use the following instructions: - The generated SQL must be valid SQL.