Skip to content

Connect to Neon PostgreSQL from Mac

Select the Neon branch, database, and role before copying connection details. Different branches can contain different versions of your data.

You need access to a Neon project and the password for the selected database role. Choose whether to connect directly or through Neon’s connection pooler.

Open your project’s connection dialog and select the branch, compute, database, and role. Copy the host, port, database name, user, and password from that selection. See Neon’s GUI connection guide.

A pooled hostname includes -pooler; a direct hostname does not. Keep all fields from the same connection choice. See Neon’s endpoint comparison.

  1. Create a PostgreSQL connection using connection basics.
  2. Give it a Name that identifies the branch.
  3. Enter the selected endpoint and database credentials.
  4. Configure SSL Mode from the project’s connection requirements.
  5. Click Test.
  6. Click Save & Connect after a successful test.

Use the hostname supplied by Neon when configuring SSL/TLS. For pooler behavior and session requirements, consult Neon’s connection pooling guide.

password authentication failed for user
timeout expired

For authentication, check the selected role’s password and that the endpoint belongs to the intended project. For a timeout, check the endpoint state and project access restrictions. If the connection succeeds but tables differ from expectations, check the branch and database first.

See 28P01 or connection failed.

Continue with browse and search, or return to the PostgreSQL overview.