Registered a server twice, or no longer need one? Remove it from pgAdmin 4’s list. Only pgAdmin’s entry goes; the PostgreSQL server and its databases stay as they are.
Every screen on this page is real, from pgAdmin 4 9.19 with PostgreSQL 19 on macOS.
Step 1: Choose Remove Server
In the Object Explorer, right-click the server and choose Remove Server. This guide removes an entry named Local Server:

The menu shows its keyboard shortcut too: Option-Shift-D on a Mac.
Step 2: Confirm
pgAdmin asks first. Click Remove:

Step 3: Check the List
The entry is gone:

PostgreSQL 19, a second entry for the same server, is still connected: removing an entry doesn’t stop the server or delete anything in it.
FAQ
Does Remove Server delete my databases?
No. It only deletes pgAdmin’s saved entry for the server. Here, the same PostgreSQL server stayed connected through its other entry.
Can I get the entry back?
Yes. Register the server again, as How to Register a Server in pgAdmin 4 shows.
Conclusion
Right-click the server in the Object Explorer, choose Remove Server and click Remove. pgAdmin forgets the entry, and the server itself keeps running.
Additional Resources
- pgAdmin 4 documentation: User Interface (opens in a new tab)
- pgAdmin 4 documentation: Server Dialog (opens in a new tab)
Related
Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.
0 comments