Connect to Neon Postgres from a Mac
Last updated: November 30, 2026. Tested with SQLPro Studio 2026.331 on macOS 27 against a Neon database running PostgreSQL 17.
To browse and query a Neon database in a native Mac app, click Connect in the Neon Console and copy the connection details. Then, in SQLPro Studio, choose New › PostgreSQL / Redshift, fill in the host, login, password and database, set SSL mode to require, and click Save & Connect. You can also paste Neon's whole connection string into the Connection string field instead.
Neon is serverless Postgres, so to SQLPro Studio it is a regular PostgreSQL server that requires TLS. Nothing extra needs to be installed. SQLPro Studio ships with its own copy of libpq 17, which sends the server name (SNI) that Neon uses to route your connection, so you will not see Neon's "Endpoint ID is not specified" error. SQLPro for Postgres, our PostgreSQL-only Mac app, uses the same connection code, so the steps are the same there.
Watch it
Recorded in SQLPro Studio 2026.331 against a Neon database loaded with sample data. More tutorials: youtube.com/@hankinsoftdev
What you need
- A Neon project. The free plan is enough.
- SQLPro Studio for Mac. Download the free 7-day trial.
Step 1: Copy the connection details from Neon
- Open your project in the Neon Console and click Connect.
- In the Connect to your branch dialog, pick the branch, database and role you want.
- Turn Connection pooling off to get the direct connection, which is the better choice for a GUI client (see pooled or direct below).
- Copy the connection string. It looks like this:
postgresql://neondb_owner:YOUR_PASSWORD@ep-cool-darkness-123456.us-east-2.aws.neon.tech/neondb?sslmode=require&channel_binding=require
The parts you need are the role (neondb_owner), the password, the host (everything between @ and the next /) and the database name (neondb). The port is the standard 5432.
Step 2: Add the connection in SQLPro Studio
Click Connect…, then the + menu, and choose PostgreSQL / Redshift. Then fill in the form one of two ways.
Option A: fill in the fields
- Name: anything you like, such as Neon or your project name.
- Server host: the Neon host, for example
ep-cool-darkness-123456.us-east-2.aws.neon.tech. - Port: leave it at 5432.
- Login and Password: the Neon role and its password.
- Database:
neondb, or whichever database you picked. - Security (TLS/SSL) › SSL mode: require. The default, prefer, also connects, because Neon only accepts encrypted connections. Choosing require means the app will never fall back to an unencrypted one.
Option B: paste the connection string
Expand Connection string and paste the whole string from the Neon Console. SQLPro Studio reads the host, login and database from it and greys out the fields above, and Neon's sslmode=require and channel_binding=require settings are kept. This is the quickest way, and it works with both pooled and direct strings.
Step 3: Connect and run a query
Click Save & Connect. The connection appears in the sidebar with the PostgreSQL version, and you can browse tables, views, materialized views, functions, types and sequences. Click New Query to open a SQL editor tab. Press Shift-Command-E to run everything in the tab; you get a result for each statement.
If the database has been idle, the first connection can take a moment longer. Neon suspends a compute after 5 minutes without activity on the free plan and starts it again when a connection arrives.
Pooled or direct?
Neon gives every branch two host names. The pooled one has -pooler in it (ep-cool-darkness-123456-pooler.us-east-2.aws.neon.tech) and goes through PgBouncer in transaction mode. The other one connects straight to Postgres. SQLPro Studio works with both. We tested both.
| Connection | Use it for | Keep in mind |
|---|---|---|
| Direct (recommended for a GUI) | Day-to-day querying, schema changes, creating indexes, long-running queries, anything that changes session settings | Each open connection uses one of the compute's Postgres connections. |
Pooled (-pooler) | Quick look-ups, or when your app already uses up most of the direct connections | Neon lists session features that do not work over the pooler: SET/RESET, LISTEN/NOTIFY, SQL-level PREPARE, session advisory locks and some temporary table options. A SET search_path can also carry over to other clients. |
A GUI client keeps a session open and often changes session settings, so the direct connection is the one to use unless you have a reason not to. For pg_dump and schema migrations, Neon says to use the direct connection too.
Troubleshooting
"Endpoint ID is not specified"
Neon returns this when the client does not send the server name (SNI), which libpq only does from PostgreSQL 14. SQLPro Studio bundles libpq 17, so it should not happen. If you see it, check that you are on a current version of SQLPro Studio and that the host is the full Neon host name and not an IP address.
connection to server at "localhost" failed
The Server host field still has its default value. Paste the Neon host into it, or use the connection string field.
password authentication failed for user
Copy the password again from the Connect dialog, or reset it for that role under Roles in the Neon Console. If you pasted a connection string, check that the password part was not cut off.
Tables you just created don't show up in the sidebar
Right-click the database and choose Refresh.
Questions people ask
Does SQLPro Studio work with Neon?
Yes. Neon is Postgres, and SQLPro Studio connects to it as a PostgreSQL server with TLS. We tested SQLPro Studio 2026.331 with both the direct and the pooled Neon connection, using the connection form and a pasted connection string.
Which SSL mode should I use for Neon?
Use require. Neon only accepts encrypted connections, so the default (prefer) also works, but require makes sure the connection is never made without TLS.
Should I use the pooled or the direct Neon connection in a GUI client?
The direct connection. The pooled one goes through PgBouncer in transaction mode, which does not support session features such as SET, LISTEN/NOTIFY and session advisory locks. Neon also recommends the direct connection for schema migrations and pg_dump.
Why does Neon say "Endpoint ID is not specified"?
The client did not send the server name (SNI), which libpq does from PostgreSQL 14 onwards. SQLPro Studio bundles libpq 17, so it sends it.
Can I use SQLPro for Postgres instead of SQLPro Studio?
Yes. SQLPro for Postgres is our PostgreSQL-only Mac app and uses the same connection code, so the steps on this page are the same.
Is SQLPro Studio free?
There is a free 7-day trial on macOS. After that it is $15.99 a month or $99.99 a year (covering macOS, iPhone, iPad, Android and Windows), or $219.99 for a lifetime license on one platform. Students can get it free for a year.
Comparing PostgreSQL clients? See the best PostgreSQL GUIs for Mac and the best database software for Mac.