Home Net Guide

Home / Port numbers / Port 25

Port 25: SMTP

Mail delivery between mail servers. Port 25 uses TCP.

Port
25
Commonly used for
SMTP
Transport
TCP
Encrypted
Optional (STARTTLS)
Range
System (well-known) port, 0 to 1023
Our advice
Normally open on a server that provides this service
IANA registration
smtp Simple Mail Transfer (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 25 is used for

Port 25 is where mail servers hand email to each other using SMTP. When you send a message, your provider's server looks up the recipient domain's MX record and connects to port 25 on the server it names. Encryption is opportunistic: servers upgrade with STARTTLS when both sides support it.

Should port 25 be open?

A mail server must have port 25 open to receive mail, and must refuse to relay for strangers, or spammers will use it within hours. Most home internet providers block outgoing connections to port 25 to stop infected computers sending spam, which is why mail apps use 587 or 465 to send instead.

Related ports

  • Port 587 (SMTP submission): sending mail from an app to your mail provider
  • Port 465 (SMTP submission over TLS): sending mail from an app, encrypted from the first byte
  • Port 2525 (SMTP alternate (unofficial)): a fallback port for sending mail

Related tool: Email security check. See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 23 (Telnet) · Next: Port 43 (Whois)