Back to directory

Infrastructure & Operations · Databases

Neon Postgres

Serverless PostgreSQL with branching, autoscaling, and separated storage

Neon is an open source serverless PostgreSQL platform for application teams that need standard PostgreSQL interfaces, scale-to-zero compute, and copy-on-write branching. Its repository uses Apache-2.0, while Neon Cloud offers a free tier and usage-priced paid plans. Databricks maintains the company and operates the hosted platform.

Acquired. Databricks acquired Neon on May 14, 2025, and Neon operates as part of the Databricks Platform.

Key facts

License
Apache-2.0
Main language
Rust, C, Python, JavaScript, SQL
Maintainer
Databricks, with the Neon open-source community
Latest release
release-proxy-8853, July 29, 2026
GitHub stars
23.2k, October 2026
Hosted option
Neon Cloud from $0/month; Launch usage pricing from $0.106 per CU-hour

What Neon Postgres is

Neon is a serverless PostgreSQL platform whose defining design separates stateless compute from durable storage. Postgres hackers made the first commit in March 2021, opened a technical preview in June 2022, opened access in December 2022, reached general availability in April 2024, and joined Databricks in May 2025. The public repository reports about 23,235 stars and lists Rust, C, Python, JavaScript, and PostgreSQL languages. Neon says it raised $46 million by August 2023. Its hosted service is used by application developers, platform builders, and teams that need many disposable database environments. DEV is a named user with more than three million registered users and about 500,000 daily pageviews.

How it works

A typical Neon workflow begins with a project and a PostgreSQL branch created in the console, API, CLI, or integration. A branch is a copy-on-write environment, so a developer can create preview databases from a parent branch without copying the entire data set. Applications connect with normal PostgreSQL drivers, psql, or database tools. Compute can suspend when inactive and resume on connection, while pooled connections use PgBouncer. Read replicas provide additional stateless compute against shared storage. The workflow fits pull-request previews, tenant databases, development databases, and bursty serverless applications.

Architecture and recent releases

Neon combines PostgreSQL compute nodes with a Rust storage system. Pageservers provide scalable storage, while Safekeepers redundantly retain write-ahead log data until pageservers process it and upload data to cloud storage. This architecture permits independent compute scaling, branching, autoscaling, and scale-to-zero. The repository contains the database engine and infrastructure rather than a small single-binary server. Neon exposes an API, console, CLI, pooled connections, and integrations with application platforms such as Vercel. Releases in 2025 and 2026 continued frequent compute, proxy, and platform updates. Databricks describes Neon technology as the basis for Lakebase Postgres, integrating serverless PostgreSQL with the lakehouse and AI application stack.

License and pricing

The core repository is Apache-2.0, which permits commercial use, modification, redistribution, and SaaS operation under that license. Hosted Neon is a separate commercial service operated by Databricks. The Free plan costs $0 per month and includes 100 projects, 100 compute hours per project, scale-to-zero, and 1 GB storage per project. Launch is usage based, with $0.106 per CU-hour and $0.35 per GB-month storage; Scale lists $0.222 per CU-hour. Paid plans have no fixed monthly minimum. The service also sells enterprise capabilities, support, networking, and compliance options. The open repository does not mean the hosted control plane is an independently deployable clone of Neon Cloud.

Limitations and how it compares

Neon requires users to accept a distributed storage architecture and a cloud-oriented operating model. Self-hosting is possible from source, but the repository is not packaged like a simple PostgreSQL server and requires compute, pageserver, safekeeper, metadata, and object-storage infrastructure. AWS, Azure, or Google Cloud managed PostgreSQL products are easier for conventional fixed-capacity deployments. Supabase adds an application platform around PostgreSQL, while CockroachDB offers distributed SQL with a different database engine and compatibility model. Neon is the better choice for teams that value PostgreSQL compatibility, preview branches, bursty workloads, and a managed service; it is a weaker fit for fully isolated, turnkey on-premises operation.

Main features

  • Database branching. Create isolated copy-on-write PostgreSQL environments for previews, testing, migrations, and tenant workflows.
  • Separated storage. Stateless compute nodes use pageservers and safekeepers for durable replicated storage and independent scaling.
  • Scale to zero. Inactive compute can suspend, reducing development and intermittent workload costs while preserving database storage.
  • Autoscaling compute. Neon adjusts CPU and memory capacity to workload demand instead of requiring fixed instance provisioning.
  • Connection pooling. Built-in PgBouncer pooling supports high connection counts for serverless applications and bursty traffic.

Self-hosting Neon Postgres

Neon can be compiled from its GitHub repository, but self-hosting is an infrastructure project rather than a single Docker command. A deployment needs PostgreSQL compute nodes, the Neon storage engine, pageservers, safekeepers, metadata services, and durable object storage for archived data. The architecture targets Linux and cloud-style clusters. The project does not publish a small production hardware minimum in the reviewed documentation. Operators must plan replication, object-storage credentials, backups, upgrades, monitoring, and recovery before production use. Teams wanting a supported turnkey deployment generally choose Neon Cloud instead of assembling these services themselves.

Strengths

  • PostgreSQL drivers, SQL, and extensions remain familiar to application teams.
  • Branching creates disposable databases for pull requests and testing.
  • Scale-to-zero can reduce costs for intermittent development workloads.
  • Separated compute and storage support independent scaling and read replicas.

Drawbacks

  • Production self-hosting requires several distributed services.
  • Hosted pricing changes with compute, storage, history, and network consumption.
  • The open repository does not provide the complete Neon Cloud control plane.

What teams replace with it

Teams usually evaluate Neon Postgres when they want to move off Amazon Aurora PostgreSQL, Amazon RDS for PostgreSQL, Heroku Postgres, Google Cloud SQL for PostgreSQL.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Neon Postgres

  • PostgreSQL
  • Supabase
  • CockroachDB
  • YugabyteDB
  • Tembo

Frequently asked questions

Is Neon Postgres free?

Neon Cloud has a $0 Free plan with 100 projects, 100 compute hours per project, scale-to-zero compute, and 1 GB storage per project. Paid Launch and Scale plans charge for compute and storage usage. The Apache-2.0 repository can be used without a hosted subscription, although reproducing the full cloud service requires substantial infrastructure.

Can companies use Neon commercially?

Yes. The public Neon repository uses Apache-2.0, which permits commercial use, modification, and redistribution. Neon Cloud is a separately operated hosted service with its own plan terms. Companies should distinguish the open database and storage components from Databricks-operated control-plane services and enterprise features.

How do I self-host Neon?

Self-hosting requires building and operating PostgreSQL compute, pageserver, safekeeper, metadata, and object-storage components. It suits engineers comfortable with distributed systems and Linux infrastructure. The project does not give a small production hardware minimum, so capacity planning must reflect workload, replication, storage, and recovery targets.

How does Neon compare with Amazon Aurora PostgreSQL?

Both provide managed PostgreSQL, but Neon emphasizes copy-on-write branching, scale-to-zero, and independent compute and storage. Aurora is an AWS-native managed database with fixed cluster concepts and deep AWS integration. Neon fits previews and bursty applications, while Aurora fits organizations standardized on AWS operational controls.

Is Neon suitable for sensitive data?

Neon describes replicated storage, safekeepers, and cloud object storage in its architecture. Data residency, private networking, access controls, retention, and contractual requirements should be checked against the selected plan. Teams requiring full infrastructure ownership should evaluate self-managed PostgreSQL or a private enterprise deployment.

Similar projects to compare

Sources

Last updated 2026-10-22.