Site icon JD Bots

How to Turn On Dark Mode in pgAdmin 4

Featured card for the guide Dark Mode in pgAdmin 4, with a checklist: Preferences, User Interface, Theme set to Dark, and Save with no restart.

How to Turn On Dark Mode in pgAdmin 4

Working late, or simply prefer light text on a dark background? pgAdmin 4 has a Dark theme built in, and one setting switches the whole window, from the Object Explorer to the Query Tool.

Every screen on this page is real, from pgAdmin 4 9.19 with PostgreSQL 19 on macOS.

Step 1: Open Preferences

Click the gear button at the bottom left of the pgAdmin window:

The gear at the bottom left opens Preferences.

Preferences opens in its own tab.

Step 2: Choose the Dark Theme

In the list on the left, under Miscellaneous, click User Interface. Then open the Theme list and choose Dark:

Theme offers Light, Dark, High Contrast and System.

The pgAdmin documentation lists the same four themes.

Step 3: Save

Click the Save button, the disk icon at the top left of the Preferences tab:

Dark is chosen; click the disk icon at the top left to save.

The whole window switches at once, with no restart:

After Save, the whole window switches to the Dark theme.

The Query Tool follows too:

The Query Tool in the Dark theme.

Switch Back

To go back, choose System or Light in the same list and click Save.

FAQ

Why is my pgAdmin already dark?

Because the default theme, System, follows your computer. When your computer is set to dark mode, pgAdmin is dark too.

Is there a theme that is easier to read?

Try High Contrast, in the same Theme list.

Conclusion

Open Preferences with the gear button, choose Dark under Miscellaneous › User Interface › Theme, and click Save. pgAdmin switches straight away, and System puts it back to following your computer.

Additional Resources

Related

Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.

Exit mobile version