How to install and use pgAdmin on a Mac
Download pgAdmin 4 from pgadmin.org, open the disk image and drag the app into Applications, or run brew install --cask pgadmin4. pgAdmin doesn't include a database, so you also need a PostgreSQL server to connect to. Right-click Servers, choose Register › Server, name it on the General tab, and fill in the host, port, user and password on the Connection tab. pgAdmin is free and open source; version 9.19 needs macOS 14 Sonoma or later.

pgAdmin on a Mac in four steps
Download
The disk image for Apple silicon or Intel from pgadmin.org, or brew install --cask pgadmin4.
Install
Drag pgAdmin 4 into Applications and open it.
Register
Right-click Servers, choose Register › Server and give it a name on the General tab.
Connect
Host, port, database, user and password on the Connection tab. Then Save.
Install pgAdmin 4
- Open the macOS download page on pgadmin.org and pick the newest version (9.19, released 29 October 2026). There's one disk image for Apple silicon and one for Intel. Apple menu › About This Mac shows which chip you have.
- Open the disk image and drag pgAdmin 4 into Applications. The images are signed and notarised by Apple, so macOS lets the app open.
- Or use Homebrew:
brew install --cask pgadmin4.
The first launch takes a moment. pgAdmin is a web app, and on the Mac it comes wrapped in Electron together with the Python server it runs on. That's also why it looks like a website in a window rather than a Mac app.
You still need a server
pgAdmin looks after PostgreSQL servers; it doesn't come with one. If the database runs on a server at work or with a cloud host, you have what you need. If you want one on the Mac itself, Postgres.app is the easiest option. How to install psql on a Mac covers it, and EDB's installer too.
Register your first server
In pgAdmin a saved connection is called a server.
- In the tree on the left, right-click Servers and choose Register › Server. The menu bar has the same command under Object › Register › Server.
- On the General tab, type a Name. It's only the label in the tree.
- On the Connection tab, fill in Host name/address, Port (5432 unless your server uses another), Maintenance database (usually postgres), Username and Password.
- Switch on Save password? if you don't want to type it each time, and click Save.
The Connection tab, filled in
- Host name/address
localhostthe server's address; localhost for one on this Mac- Port
5432PostgreSQL's default port- Maintenance database
postgresthe database pgAdmin connects to first- Username
annayour PostgreSQL user- Password
••••••••kept in the Keychain if you save it- Save password?
Yesso you don't have to type it each time
The server shows up in the tree. Expand it, then Databases, your database, Schemas, public and Tables. To run SQL, select the database and choose Tools › Query Tool.
The password and the Keychain
Since version 7.2, the desktop app keeps saved passwords in the operating system's password store, which on a Mac is the Keychain. So pgAdmin no longer asks you for a master password.
pgAdmin only falls back to a master password if the password store isn't available.
Through an SSH tunnel
Many production databases only accept connections from inside their own network, so you go through a server you can reach with SSH. Open the SSH Tunnel tab in the same dialog:
- Switch on Use SSH tunneling.
- Fill in Tunnel host (the SSH server), Tunnel port (usually 22) and Username.
- Under Authentication, choose Password or Identity file. For Identity file, pick your private key, such as
~/.ssh/id_ed25519.
On the Connection tab, Host name/address is now the database's address as seen from the SSH server, often localhost.
When pgAdmin is more than you need
pgAdmin is made for looking after servers: roles, backups, settings and query plans. If you mostly look at tables and run the odd query, that's a lot of app. Tabel, the Mac client I make for PostgreSQL and SQLite, opens with your connections in a list. The SSH tunnel is part of the connection form, and every connection gets an environment colour, with red for production. Tabel costs $4.99, once.


- Paste a connection URL to connect
- The SSH tunnel is part of the connection
- Each connection's environment, in colour
- Every table, with row counts
For all the options side by side, see PostgreSQL GUI clients for Mac.