PostgreSQL for Windows

Download PostgreSQL for Windows (64-bit) — Installer and Setup Guide

Verified installer for Windows 10/11. Follow the steps below to install safely and test your setup in minutes.

Affiliate disclosure: this direct download link may be monetized. This is an unofficial site.

System requirements

  • Operating System: Windows 11 or Windows 10 (64-bit)
  • CPU: x64 processor; 2+ cores recommended
  • RAM: 4 GB minimum (8+ GB recommended for production)
  • Disk: 1 GB for binaries; provision additional space for data
  • Privileges: Administrator rights recommended
  • Network: Port 5432 available (or choose another during setup)

Step-by-step installation (Windows 10/11)

  1. Run the installer and select your data directory. Avoid system folders; use a dedicated path like C:\PostgreSQL\data.
  2. Set a strong postgres superuser password. Store it securely.
  3. Choose port 5432 (default) unless it's already in use.
  4. Review components (PostgreSQL server, command-line tools). Optional: pgAdmin.
  5. Finish and let the installer register the Windows service.
  6. Open Command Prompt and run psql --version. If it fails, fix PATH issues.

Post-install checks

Service status

Open Services (services.msc) and confirm PostgreSQL is running. If not, see the service guide.

Local connection

Run psql -U postgres and enter your password to access the local server.

Firewall note

For remote access, add an inbound rule for port 5432 and configure pg_hba.conf accordingly.

Version selection tips

This guide links to PostgreSQL 18.3-3 (64-bit). For most users on Windows 10/11, this is a stable choice. If you maintain older apps or need specific extensions, confirm compatibility before upgrading.

Troubleshooting — quick answers

“psql is not recognized”

Add the PostgreSQL bin folder to your PATH, restart the terminal, then verify with where psql. See PATH guide.

Port 5432 already in use

Choose another port (e.g., 5433) during setup. Update client DSNs and connection strings accordingly.

Service fails to start

Check data directory permissions and logs. Run Services as admin. See service guide.

Related guides

Disclaimer: This is an unofficial resource. PostgreSQL is a registered trademark of the PostgreSQL Community Association of Canada. Links may include affiliate tracking.