Opens in a new tab

SMTP 221: closing connection — what it means

221 is the server’s goodbye: it answers QUIT and closes the connection. It says nothing about whether mail was delivered — that was decided by the 250 after each message.

Code221
MeaningService closing transmission channel
KindSuccess
Sent in reply toQUIT
What the sender doesNothing — the session is over
Defined inRFC 5321, sections 4.1.1.10 and 4.2

Paste your bounce

Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.

Worth knowing

Neither side should close the connection before QUIT and 221; a connection that drops early leaves an unfinished message undelivered.

Related: 220, 250, 421.

Sources

Checked on 27 September 2026 against these official sources:

See every bounce before your customers do

Add your domain and send us a test message: we show what a receiving server saw — authentication, reverse DNS, blocklists, TLS — and monitor the servers you send from for blocklistings every day. Free for your first domain.

Create a free account