SMTP error 550 5.1.8: bad sender address or blocked outbound sender

In the standard, 5.1.8 means the sender domain is invalid. Here is what causes it and how to fix it.

Permanent failureUpdated November 12, 2026
Quick answerIn the standard, 5.1.8 means the sender domain is invalid. It is permanent, so the message will not be retried. Most often it is caused by: the sending account was compromised and sent spam.
TypePermanent (5xx)
Usually sent byMicrosoft 365 and other servers
Retry helps?No, fix first

What 550 5.1.8 means

In the standard, 5.1.8 means the sender domain is invalid. In Microsoft 365 it most often means "Access denied, bad outbound sender": the account was blocked from sending because it sent spam, which usually means it was compromised.

Typical bounce message

550 5.1.8 Access denied, bad outbound sender

The exact wording differs between providers, but the code is what matters. Many providers add a link after the text that explains their specific policy.

Common causes

  • The sending account was compromised and sent spam.
  • The sender domain does not resolve in DNS.

If you sent the email

  1. Change your password and contact your IT team; they must unblock the account.
  2. Check for unknown forwarding rules in your mailbox.

If you manage the mail server or domain

  1. Secure the account, then release it from the Restricted entities list in Microsoft Defender.
  2. Make sure your sending domain resolves.

How to read this code

  • 550 is the basic SMTP reply code. The first digit, 5, means a permanent failure: retrying the same message will not help.
  • 5.1.8 is the enhanced status code from RFC 3463. The class 5 again means permanent, the subject 1 means addressing, a problem with the sender or recipient address, and the detail 8 narrows it down to the exact condition described on this page.

Because this is a permanent failure, your mail server stops trying and returns the message to you with this explanation.

550 5.1.8 from each side of the email

If you areWhat you seeWhat to do first
The senderA bounce message (also called a non-delivery report) in your inbox, usually within seconds or minutes.Change your password and contact your IT team; they must unblock the account
The recipientNothing. The message never reaches the inbox, so the recipient usually does not know it was sent.Tell the sender through another channel which address works, or ask your IT team to check your mailbox and filters.
The mail adminA rejected delivery in the server logs with status 5.1.8.Secure the account, then release it from the Restricted entities list in Microsoft Defender

What the full bounce report looks like

Most mail servers send a delivery status notification in a standard format defined by RFC 3464. The human-readable part comes first, and a machine-readable part follows. For this error, the important lines look like this:

Final-Recipient: rfc822; someone@example.com
Action: failed
Status: 5.1.8
Remote-MTA: dns; mx.example.com
Diagnostic-Code: smtp; 550 5.1.8 Access denied, bad outbound sender

Action tells you whether the server gave up (failed) or is still trying (delayed). Status is the enhanced code. Remote-MTA names the server that refused the message, which tells you whether the problem is at the recipient's provider or somewhere in between. Diagnostic-Code is the exact reply that server gave, and it is the line to copy when you ask for help.

Should you resend?

Not until something has changed. A permanent error means the receiving server looked at the message and decided it will not accept it in its current form. Sending the same message to the same address again will fail the same way, and repeated hard bounces tell mailbox providers that you do not keep your list clean. That can push your future mail into spam folders for everyone, not just for this recipient.

Fix the cause first, using the steps on this page. Then send one test message, ideally to an address you control at the same provider, before you resend to the original recipient. If you send newsletters or app notifications, remove the address from your list after the first hard bounce of this kind.

Diagnose it: 550 5.1.8 usually points to an addressing problem

  1. Copy the recipient address from the bounce and compare it letter by letter with what you meant to type. Typos such as gmial.com, outlok.com or a missing letter in the name cause most address errors.
  2. Run an MX lookup on the recipient domain. If there are no MX records, the domain cannot receive mail at all.
  3. If the address worked before, ask the person through another channel whether it was closed or renamed. Employees who leave a company often lose their mailbox within days.

Stop it from happening again

  • Ask people to type their email twice on sign-up forms, or offer a "did you mean gmail.com?" hint for common misspellings.
  • Use double opt-in for newsletters so an address is confirmed before you send to it again.
  • Remove an address after the first hard bounce. Sending again to addresses that do not exist is one of the fastest ways to damage your sender reputation.

Test your fix without bothering real people

Once you have changed a DNS record, a server setting or a message template, send a test to a free temporary inbox. It accepts mail from anywhere, shows the message within a second of arrival, and the Email X-ray on each message shows whether SPF, DKIM and DMARC passed. That tells you whether your authentication is working before you send to customers, and it keeps test messages out of real inboxes and out of your bounce statistics.

Codes in the same family

CodeMeaningType
550Mailbox unavailable or message rejectedPermanent
551User not localPermanent
553Mailbox name not allowedPermanent
556Domain does not accept mailPermanent
550 5.1.1The email account does not existPermanent
550 5.1.2The recipient domain cannot receive mailPermanent
553 5.1.3Invalid address syntaxPermanent
550 5.1.6Mailbox has movedPermanent

A real-world example

A newsletter has grown over five years. Every send now produces dozens of "user unknown" bounces from old addresses. Because the list was never cleaned, those hard bounces lower the sender's reputation and more mail starts landing in spam. Removing every address after its first hard bounce, and confirming new sign-ups, fixes both problems.

Terms used on this page

Spam
Unsolicited bulk email, usually commercial, sent without the recipient's consent.
DNS
The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
Bounce
A message returned to the sender because it couldn't be delivered.
MTA
Mail Transfer Agent, server software that receives and relays email between servers.
Hard bounce
A permanent delivery failure, usually because the address does not exist.
Double opt-in
A subscription process where users confirm their address by clicking a link before being added to a list.

Related guides

Related codes

FAQ

What does SMTP error 550 5.1.8 mean?

In the standard, 5.1.8 means the sender domain is invalid. In Microsoft 365 it most often means "Access denied, bad outbound sender": the account was blocked from sending because it sent spam, which usually means it was compromised.

Is 550 5.1.8 a permanent error?

Yes. 550 5.1.8 is a permanent failure, so the sending server will not retry. Fix the cause and send the message again.

How do I fix 550 5.1.8?

If you sent the email: Change your password and contact your IT team; they must unblock the account. If you run the mail server: Secure the account, then release it from the Restricted entities list in Microsoft Defender.

Does 550 5.1.8 mean I am blacklisted?

Usually not. 550 5.1.8 points to an addressing problem, not to your reputation. Blocklist rejections normally use codes in the x.7.x family, often 550 5.7.1 or 554 5.7.1.

Can the recipient fix it?

Sometimes. A full or disabled mailbox can only be fixed by the recipient or their IT team. A wrong address can only be fixed by the sender.

Will I see 550 5.1.8 in Gmail or Outlook?

Yes, if your message fails this way. Gmail shows it in a message from "Mail Delivery Subsystem", and Outlook shows it in a non-delivery report that starts with "Delivery has failed" or "Undeliverable". The code is printed in the technical details near the bottom.

Codes and meanings follow RFC 5321, RFC 3463 and related standards, plus the published error references of major providers. Provider wording changes over time.

Install TempMailify

Add TempMailify to your device for one-tap access, like a regular app.