DNSVerdict

530 5.7.0 Gmail bounce: STARTTLS required

Permanent failure (530 5.7.0): the receiving system will not accept this message as sent, so resending it unchanged will not help. Fix the cause first.

What 530 5.7.0 means

Gmail requires the connection to switch to TLS with STARTTLS before it accepts mail commands. Your server sent commands before the TLS handshake, so Gmail refused the message.

Message text

530 5.7.0 Must issue a STARTTLS command first.

Common causes of 530 5.7.0

How to fix 530 5.7.0

  1. Turn on STARTTLS in the sending server or client (submission on port 587 with STARTTLS is the usual setup).
  2. Let the TLS handshake finish, then send EHLO again before MAIL FROM.
  3. Gmail cites RFC 3207 (SMTP over TLS); check that the client library supports STARTTLS and has it turned on.

Check your domain

Read the headers of a bounced messageRuns in your browser; nothing is uploaded.

Get your domain's deliverability score

Have the full bounce message? Paste it into the bounce code lookup and it will match the code and the provider for you. Open the bounce code lookup.

How to read 530 5.7.0

The first part, 530, is the SMTP reply code. Authentication required: the server wants the client to authenticate first (RFC 4954). Replies that start with 4 are temporary and replies that start with 5 are permanent (RFC 5321 §4.2.1).

The second part, 5.7.0, is an enhanced status code (RFC 3463 §2) written class.subject.detail. Class 5 is a Permanent failure (5xx): the command was rejected and the sender should not repeat it unchanged (RFC 5321 §4.2.1; RFC 3463 §2).. Subject 7 is security or policy: authentication, authorization or policy refused the message. The detail number refines the subject, and providers may define details of their own, which is why one code can read differently at Gmail, Microsoft and Yahoo.

Do not keep resending the same message: a permanent failure repeats until the cause is fixed. Correct the cause, then send a new message.

Official source: knowledge.workspace.google.com. Last verified 2026-10-29.

Related guides

Related codes

FAQ

What does 530 5.7.0 mean?

Gmail requires the connection to switch to TLS with STARTTLS before it accepts mail commands. Your server sent commands before the TLS handshake, so Gmail refused the message. This is a permanent failure.

How do I fix 530 5.7.0?

Turn on STARTTLS in the sending server or client (submission on port 587 with STARTTLS is the usual setup). Let the TLS handshake finish, then send EHLO again before MAIL FROM. Gmail cites RFC 3207 (SMTP over TLS); check that the client library supports STARTTLS and has it turned on.

Is 530 5.7.0 permanent, and should I retry?

530 5.7.0 is a permanent failure, so retrying the same message will fail again. Fix the cause first, then send a new message.

All bounce codes