# How to Connect Neon Database to Local pgAdmin 4

### How to Connect Neon Database to pgAdmin 4 (Quick Reminder)

I always forget the exact steps when connecting my **Neon** Postgres database to **pgAdmin**, so I'm writing this as a personal reminder.

#### Step-by-Step Guide:

1.  **Open pgAdmin 4** and right-click on **Servers** → **Register** → **Server...**
    
2.  **General Tab:**
    
    *   Name: `Neon DB` (or any name you like)
        
3.  **Connection Tab:**
    
    *   **Host name/address**: Paste the host from Neon (e.g., `ep-cool-forest-123456.neon.tech`)
        
    *   **Port**: `5432`
        
    *   **Maintenance database**: Usually `neondb` or your database name
        
    *   **Username**: Your Neon username (usually ends with `owner`)
        
    *   **Password**: Your database password
        
4.  **SSL Tab (Very Important):**
    
    *   **SSL mode**: Set to `Require`
        
5.  Click **Save**.
    

That’s it! Your Neon database should now appear in pgAdmin.

* * *

### Common Issues & Fixes

*   **Connection refused / SSL error** → Make sure SSL mode is set to **Require**
    
*   **Password authentication failed** → Double-check your username and password from Neon dashboard
    

### Pro Tip:

Always get your connection details from Neon Console → **Connection Details** section.
