Skip to content

SMTP error 5.7.13 User Account Disabled

What SMTP error 5.7.13 means

The password was right and the account is still switched off. A reply of 525 5.7.13 is the polite way of saying stop retrying and go and speak to an administrator, because re-entering the password will never help. In a Microsoft 365 tenant it maps to a blocked sign-in, a licence that has been removed or a user who has been deleted, and in Google Workspace to a suspended account. The classic version is an offboarding: the leaver is blocked on their last day and three weeks later somebody notices the despatch notifications stopped arriving.

What SMTP error 5.7.13 User Account Disabled actually means

The distinguishing feature is the order of events. Authentication succeeded, and only then did the server refuse, which is why the specification is careful to separate this from a generic credential failure. A client receiving an ordinary authentication error is supposed to prompt for the password again on the assumption the user mistyped it. A client receiving this one is supposed to stop, because the problem is administrative and no amount of typing will move it. Only the permanent class is registered, so there is no transient variant to wait out. Keep it distinct from 5.2.1, which concerns a mailbox that will not accept incoming messages; this code is about an identity that is no longer allowed to sign in and send.

Sometimes a system administrator will have to disable a user's account (e.g., due to lack of payment, abuse, evidence of a break-in attempt, etc). This error code occurs after a successful authentication to a disabled account. This informs the client that the failure is permanent until the user contacts their system administrator to get the account re-enabled. It differs from a generic authentication failure where the client's best option is to present the passphrase entry dialog in case the user simply mistyped their passphrase.

RFC 5248

How 5.7.13 appears in a bounce

A server reporting this condition sends it alongside a three-digit reply code, and a bounce prints the two together. The registry lists 525 5.7.13 as the pairing for this status.

The leading 5 is the server's verdict rather than part of the code's identity: it marks this as a permanent failure, which means the sending server has given up and returned the message.

What causes SMTP error 5.7.13 on a business phone system

How to fix SMTP error 5.7.13

  1. Identify the account signing in, not the address on the messageThese are frequently different. Read the sign-in name out of the device or application configuration, because the From address it puts on messages tells you nothing about which identity it authenticates with.
  2. Look at the user object in the admin centreCheck three things in one visit: whether sign-in is blocked, what licences are assigned, and whether the account is flagged as restricted from sending. That covers the great majority of occurrences without any command line work.
  3. Move the function off a departed person's identityDo not simply re-enable a leaver so the printer works again. Create a dedicated account for the device or application, or convert the mailbox to a shared one where that fits, then block the leaver again properly.
  4. Work through a compromise fully before unblockingReset the password, revoke active sessions, review inbox rules and forwarding for anything the attacker left behind, and check what was sent whilst they had access. Unblocking first and investigating later usually means doing it all again in a fortnight.
  5. Build a leaver checklist that lists systems, not just peopleBefore disabling anybody, enumerate what authenticates as them. Ten minutes at offboarding removes an entire class of mystery failure that otherwise surfaces weeks later with no obvious cause.

Fixing the underlying problem

This page explains the code. These guides walk through the fix in detail.

Questions about SMTP error 5.7.13

Will resetting the password fix this?
No, and it is the most common wasted hour on this fault. The password was already accepted before the refusal happened. What needs changing is the state of the account: unblocking the sign-in, restoring a licence, or lifting a restriction placed after a security event.
We deleted a leaver and now an application is failing — what now?
That application was authenticating as them. Restore the account if it is still within the recovery window, or create a purpose-built service account and reconfigure the application to use it. Take the opportunity to write down what else might have been using the same credentials.
How long should we keep a leaver's mailbox after they go?
Long enough to satisfy whatever retention your sector expects, which for most UK businesses means months rather than weeks. Converting to a shared mailbox removes the licence cost whilst keeping the content accessible, and taking a proper export or backup first means the decision is reversible.
Does this affect incoming mail to that person as well?
Not necessarily. A blocked sign-in stops the account authenticating whilst mail may still be delivered to the mailbox, depending on how the account was disabled. If incoming mail is also failing, that is a different condition and 5.2.1 is the closer match.

Related SMTP status codes

Source. SMTP error 5.7.13 User Account Disabled is defined in RFC 5248 and registered in the IANA SMTP Enhanced Status Codes registry. The causes and fixes above are drawn from our own experience supporting UK business email systems.

All Email delivery & SMTP codes

Sitemap