# Render Postgres vs Neon

- Date: 2026-10-15T23:00:00.000Z
- Tags: Platform, database, Comparison
- URL: https://render.com/articles/render-postgres-vs-neon


Render Postgres and Neon are both managed PostgreSQL services, but they use different architectures. Neon separates storage from compute so that compute can suspend when idle. [Render Postgres](https://render.com/docs/postgresql) runs a persistent instance, and if your application runs in the same Render workspace and region, the database shares a private network with it. This difference sets each platform's pricing model, latency profile, and branching options.

This article maps two workload types to the platform that fits each: spiky, idle-heavy, or development workloads on one end, and steady, latency-sensitive production workloads on the other. By the end, you can classify your own workload with a decision framework and record that choice in an architecture decision record (ADR).

## Architecture and pricing

Neon's documentation describes an architecture in which PostgreSQL compute nodes are separate from a shared storage layer. Because compute holds no permanent state, Neon can suspend a compute after a period of inactivity and resume it on demand. Neon calls this behavior [scale to zero](https://neon.com/docs/introduction/scale-to-zero). Compute-hours are a major part of the bill, so a database that is idle most of the day accrues little compute cost when scale to zero is on. Storage, extra branches, data transfer, and minimum compute size also add to the bill, so check [Neon's pricing page](https://neon.com/pricing) for current rates.

Render Postgres uses provisioned instances. You select a compute plan (CPU and RAM) and an amount of storage, and you can [set each one separately](https://render.com/docs/postgresql-creating-connecting). The instance runs continuously, and you pay for the provisioned resources whether your database handles ten thousand queries per second or none. See [Render's pricing page](https://render.com/pricing) for current plans.

| Dimension                      | Neon (serverless)                        | Render Postgres (provisioned)  |
| ------------------------------ | ---------------------------------------- | ------------------------------ |
| Compute model                  | Can suspend when idle; resumes on demand | Always-on dedicated instance   |
| Primary billing unit           | Compute-hours + storage                  | Provisioned instance + storage |
| Idle cost                      | Compute cost can approach zero            | Full provisioned cost          |
| Cost predictability            | Varies with usage                        | Fixed and forecastable         |
| First-query latency after idle | Includes compute wake-up                 | No wake-up penalty             |

Compute-hour billing favors intermittent use, such as dev databases, internal tools, and low-traffic services that are idle most of the time. Instance pricing favors steady use. Once your database is busy most of the day, always-on pricing can cost less, and you get a fixed monthly line item. Each model loses its advantage on the other model's workload. A Neon database under constant load pays for compute all day, and a Render instance that serves three queries a day pays for capacity it doesn't use.

A workload with a predictable daily cycle (busy during business hours, quiet overnight) can fit either model. On Neon's Scale plan, you can tune the suspend delay to match the cycle. On Render Postgres, there is no suspend delay to tune. Model your traffic hour by hour, because a daily average hides the idle periods that make compute-hour billing cheaper. For other factors to weigh next to cost, see [what to look for in managed database hosting](https://render.com/articles/what-to-look-for-in-managed-database-hosting).

## Cold starts and latency

A cold start occurs when suspended compute must start before it can serve a request. On serverless Postgres platforms, it usually appears at the connection layer. A new connection arrives, the platform sees that compute is suspended and starts it, and then it completes the connection handshake and runs the first query. Depending on the platform, a cold start can also include cache warming, so the delay isn't only connection setup. Per [Neon's documentation](https://neon.com/docs/connect/connection-latency), an eligible compute with scale to zero enabled suspends after 5 minutes of inactivity by default and usually takes a few hundred milliseconds to reactivate, plus any network distance between your application and the database.

An always-on Render instance has no scale-to-zero wake-up delay. Every connection reaches running compute, and you pay for that compute continuously.

Cold starts matter most when a user is waiting. For a user-facing API, a cold start on the first request after an idle period is a latency spike that a real user sees, and it can push you past a p95 or p99 latency budget. For a nightly batch job or queue worker, a short delay at startup usually doesn't matter. Size this cost-for-latency tradeoff against your production service level objectives. Connection management and pooling also affect the latency you see. For tuning guidance, see [PostgreSQL performance optimization for web applications](https://render.com/articles/postgresql-performance-optimization-for-web-applications).

The following script times a cold connection and a warm connection. Run it only after your database has been idle long enough to suspend. If you measure against warm compute, the result understates the real cold-start penalty.

```javascript
import pg from "pg"; // ESM syntax: run with Node 18+ and "type": "module"

async function timeQuery(label) {
  const client = new pg.Client({ connectionString: process.env.DATABASE_URL });
  const start = Date.now();
  try {
    await client.connect();
    await client.query("SELECT 1");
    console.log(`${label}: ${Date.now() - start} ms`);
  } finally {
    await client.end(); // Release the connection even if the query throws
  }
}

await timeQuery("cold"); // First query after idle period may include compute wake-up time
await timeQuery("warm"); // Subsequent query hits warm compute for comparison
```

For a real benchmark, take many samples and report percentiles such as p50 and p95. Pooled clients behave differently from single clients, so match the script to your pooling configuration.

## Branching workflows vs. preview environments

*Neon's branching copies data at the storage layer.* Per [Neon's documentation](https://neon.com/docs/introduction/branching), a branch is a copy-on-write clone of its parent branch, including every database and role in that branch at the moment you create it. Creating a branch doesn't duplicate your data. The branch shares its parent's storage and only adds storage as it diverges. This makes it cheap to create a production-like database for each pull request, test a risky schema migration against realistic data, or give each developer an isolated dataset.

The following Neon CLI commands create a branch for a pull request and print its connection string:

```bash
# Illustrates the branching concept: flags and output vary by CLI version
# Assumes prior authentication via the Neon CLI (neonctl is an alias for neon)

# Creates a copy-on-write branch for testing, not a full duplicate
neon branches create --project-id my-project \
  --name preview/pr-142 --parent main

# Fetch the branch's connection string for your test runner
neon connection-string preview/pr-142 --project-id my-project
```

In CI, run these commands when a pull request opens, and delete the branch when the pull request closes. Check the [Neon CLI reference](https://neon.com/docs/cli) for current syntax.

*Render's [preview environments](https://render.com/docs/preview-environments) are environment-scoped.* Instead of branching data, each preview environment creates a temporary copy of your application stack for each pull request. The copy includes web services, background workers, and, if declared in your [Blueprint](https://render.com/docs/blueprint-spec), a new Postgres instance. These copies don't include data from the original services. Reviewers can open a live deployment of the web service (with _View deployment_ in the pull request) and test the change end to end, including changes to service configuration in the Blueprint. The database in a preview environment starts empty unless you seed it with [preview environment initialization](https://render.com/docs/preview-environments#preview-environment-initialization). Each preview stack uses real provisioned resources, so budget for them. To turn preview environments on, set `previews.generation` to `automatic` or `manual` in your `render.yaml`. Use the database's `previewPlan` field to give preview databases a smaller compute plan than production. Preview environments require a Pro workspace plan or higher.

Branching answers _"what does my change do to this data?"_ while preview environments answer _"does my whole system work with this change?"_ A team might use a data branch to validate a migration against production-shaped data, and a preview environment so a product manager can click through the feature. Neither replaces the other. A data branch won't tell you whether your new worker deploys, and an empty preview database won't show how a migration behaves on realistic data at scale.

## High availability, backups, and durability

[High availability (HA) for Render Postgres](https://render.com/docs/postgresql-high-availability) maintains a standby instance of your primary. If the primary becomes unavailable for 30 seconds, Render automatically fails over to the standby. HA requires a compute plan with at least 1 CPU and PostgreSQL version 13 or later. You enable it with a toggle on the database's _Plan_ page in the Render Dashboard or with `highAvailability.enabled` in your `render.yaml`. Enabling HA restarts your database. The standby always has the same compute plan and storage as your primary and is billed the same. Replication to the standby is asynchronous, so an automatic failover can lose the last few seconds of writes. HA also adds about 1 ms of response latency because Render runs a proxy in front of the database, and your clients need retry logic to reconnect after a failover.

For data protection, Render provides [point-in-time recovery (PITR)](https://render.com/docs/postgresql-backups) for paid databases. You can restore your database to a specific moment within your workspace's recovery window (the past 3 days on Hobby, the past 7 days on Pro or higher), so you can recover from an accidental table drop or other data loss. The restore point must be at least ten minutes in the past. PITR creates a new database instance, so you can check the restored data before you point your services at it.

Neon handles durability in its storage layer. Per [Neon's high availability documentation](https://neon.com/docs/introduction/high-availability), Neon replicates the write-ahead log across availability zones and keeps a history of changes that supports restores to earlier points in time. The same history powers branching. Neon keeps no idle standby compute. After a failure, it restarts compute elsewhere. Recovery takes seconds for a Postgres crash and up to several minutes for an availability zone failure. How far back you can restore depends on the history window you set for the project.

Render's primary/standby model is explicit and easy for operations teams to reason about, but you pay for the standby. Neon puts durability in the storage layer and does not maintain idle standby compute, but compute recovery time depends on the type of failure. In your ADR, record the retention window and failover behavior you rely on, with a link to the documentation and the date you checked it.

## Private networking and colocation

Each sequential query your application sends can add one network round trip, so the network path between your application and database affects every request.

When a Render Postgres database and a Render web service run in the same region and workspace, they share a [private network](https://render.com/docs/private-network). Traffic on Render's private network uses stable internal hostnames and doesn't cross the public internet. Your database has an internal connection URL that routes over this network. Fewer network hops and no public-internet transit usually mean lower, more consistent round-trip times per query.

When your application runs on a different provider than your Neon database, each query usually crosses the public internet. This adds round-trip latency unless you put both in the same cloud region. For example, a request that makes fifteen sequential queries with 5 ms of extra round-trip time each spends 75 ms more on the network.

Neon connections use TLS, which is standard practice and works for many architectures. Neon can also serve an application well if you choose regions carefully. Neon's Scale and Business plans offer [private networking](https://neon.com/docs/guides/neon-private-networking) through AWS PrivateLink for applications that run on AWS in the same region. If your application already runs on Render, a Render Postgres database in the same region gets private networking with no extra setup.

## Decision framework

Use the following table to classify your workload:

| Characteristic      | Leans Neon                              | Leans Render Postgres                     |
| ------------------- | --------------------------------------- | ----------------------------------------- |
| Traffic pattern     | Spiky, long idle periods, dev/test      | Steady, sustained daily traffic           |
| Latency sensitivity | Tolerates first-request wake-up delay   | Strict p95/p99 budgets, user-facing       |
| Dev/preview needs   | Many cheap production-like data copies  | Full-stack previews of app + infra per PR |
| Ops appetite        | Comfortable modeling compute-hour costs | Wants fixed, forecastable monthly spend   |
| Topology            | App hosted elsewhere or region-flexible | App already on Render's private network   |

Render Postgres fits best for a steady-traffic production API that runs on Render. Always-on compute removes scale-to-zero wake-up delays, private networking can reduce per-query latency, HA and point-in-time recovery cover failures, and billing is predictable.

Neon fits best for a fleet of development and preview databases, or for a spiky, low-traffic service, where compute-hour billing and copy-on-write branching match the usage pattern. Many teams use both. For example, a team can run Render Postgres in production and create a Neon branch for each pull request's test suite.

The following Blueprint declares a Render Postgres database next to a web service, with preview environments turned on. The plan and size values are placeholders:

```yaml
# Illustrates instance-based provisioning: plan/size values are placeholders
previews:
  generation: automatic # Create a preview environment for every pull request
databases:
  - name: app-db
    plan: 2c-8g
    diskSizeGB: 20
    previewPlan: 1c-4g # Smaller compute plan for preview copies of this database
    highAvailability:
      enabled: true # Enable only if your workload requires automatic failover
services:
  - type: web
    name: app-web
    runtime: node
    buildCommand: npm install
    startCommand: npm start
    envVars:
      - key: DATABASE_URL
        fromDatabase:
          name: app-db
          property: connectionString
```

Before you deploy, add your own environment variables and secrets, and check the syntax against the [Blueprint YAML reference](https://render.com/docs/blueprint-spec).

Before deciding, work through these questions:

- What percentage of each day is your database actually idle?
- What does your p95 latency budget allow for a first-request penalty?
- Do you need data branches, full-stack previews, or both?
- Can your team model variable compute-hour costs, or do you need a fixed number?
- Where does your application actually run?
- Have you verified current pricing, retention windows, and resume-time figures against each provider's live documentation?

## Common mistakes to avoid

- Benchmarking against warm compute. If you measure latency while serverless compute is active, production cold starts will surprise you. Measure after an idle period longer than the suspend delay.
- Assuming compute-hour billing is always cheaper. Model your idle-to-active ratio, plus storage, transfer, and minimum compute settings. A database that is busy 20 hours a day can cost more on compute-hour billing than a provisioned instance.
- Treating data branching and preview environments as the same thing. A data branch gives you a copy of your data. A preview environment gives you a running application stack. If you expect either tool to do both jobs, your pre-merge testing will have gaps.
- Ignoring the network path and connection behavior. If you compare platforms without accounting for where your application runs and how it manages connections, the latency comparison is wrong. Render offers integrated [connection pooling](https://render.com/docs/postgresql-connection-pooling) with PgBouncer at no additional cost on paid databases. Turn it on from the database's _Info_ page in the Render Dashboard or with `connectionPool: pgbouncer` in your `render.yaml`.
- Treating documentation as permanent. Resume times, pricing, retention windows, and HA requirements change between provider releases. In an ADR, give each number a date and a source link so the next reviewer can check it.

## Choosing between Render Postgres and Neon

Workload shape decides between Render Postgres and Neon. Neon's storage-compute separation makes idle time cheap and data copies fast to create, but it adds wake-up latency and variable billing. Render Postgres serves every request from running compute and can use Render's private network when your application is in the same workspace and region, but you pay for capacity around the clock. Compare your traffic pattern, latency budget, preview needs, and network path against the framework above, and check current pricing and behavior in each provider's documentation.

## Frequently asked questions

###### Can I migrate an existing Neon database to Render Postgres without downtime?

There's no built-in migration tool between the two platforms. The usual approach is to provision a Render Postgres database, copy data with pg_dump and pg_restore, and switch your application's `DATABASE_URL` during a short maintenance window. To reduce downtime further, use logical replication to keep the Render database in sync until the cutover. Render Postgres doesn't enable [logical replication](https://render.com/docs/postgresql-logical-replication) by default. Your workspace must be on a Pro plan or higher, and your database needs at least 10 GB of storage. Once you meet those requirements, ask Render support to turn it on for the subscriber database. On the Neon side, enable logical replication for the source project first. You can't turn this setting off after you enable it, and the Neon compute stays active while a subscriber is connected, so it doesn't scale to zero during the sync.

###### Does Render Postgres support scale-to-zero like Neon?

No. A Render Postgres database runs continuously and doesn't suspend compute when idle, so it doesn't incur a scale-to-zero wake-up delay. If your database is idle most of the day and you don't want to pay for idle time, Neon's compute-hour billing fits that pattern better.

###### Why did my Neon connection suddenly time out or feel slow?

This usually happens when a connection arrives after Neon's compute has suspended for inactivity. The compute must resume before it runs the query. Check whether your driver's connection timeout is shorter than Neon's typical resume time, and add retry logic with backoff. On a paid Neon plan, you can also turn off scale to zero for that compute. If the workload is user-facing and latency-sensitive, an always-on instance such as Render Postgres avoids the problem.

###### Can I turn off scale to zero on Neon to avoid cold starts?

Yes, on a paid Neon plan. On the Free plan, computes always scale to zero after 5 minutes of inactivity. With scale to zero off, the compute runs and bills around the clock, so you lose the idle-cost advantage. If your application runs on Render, compare that cost with a Render Postgres database in the same region, which also gives you private networking to your application.

###### How do I decide between enabling Render Postgres HA and just relying on backups?

High availability reduces downtime during a failure. Backups and point-in-time recovery protect against data loss, such as an accidental table drop. Because the standby replicates every change, HA alone doesn't undo a table drop. If your workload can tolerate a short outage but not data loss, point-in-time recovery may be enough, and it's available on every paid compute plan. If downtime itself is costly, enable HA. It requires a compute plan with at least 1 CPU and PostgreSQL 13 or later, and the standby doubles the database's compute and storage charges.

###### Is Neon's public-internet connection a security risk compared to Render's private network?

Not by itself. Neon encrypts connections with TLS, which is standard practice for production databases. The main difference is latency. A Render Postgres database on the same private network as your application avoids public-internet transit and extra network hops, which can reduce per-query round-trip time and variance, especially for requests that make many sequential queries. If you need Neon traffic to stay off the public internet, Neon's Scale and Business plans offer private networking for applications on AWS.


