# 5.7.13 Error: User Account Disabled

URL: https://email-validation.org/bounce-codes/5-7-13/
Updated: 2026-11-26

> Documentation index: https://email-validation.org/llms.txt

**Short answer:** Your mail app's sign-in itself succeeded, but the account is disabled, so the server will not send mail for it. It is permanent until the account is enabled again: retrying does not help, so ask the account's administrator why. From Microsoft 365, 5.7.13 means instead that the recipient is a public folder closed to outside mail.

**At a glance**

- **Type:** permanent reply (class 5, RFC 3463 §2) to a command your mail app or client sent, such as its sign-in, not to a message. Nothing is queued and nothing bounces. The same command fails the same way until the cause is fixed. From Microsoft 365, 5.7.13 is a message bounce instead: a public folder refused mail from outside its organization, and the sender gets a non-delivery report.
- **Basic code:** The IANA registry lists it with 525.
- **Enhanced code 5.7.13:** “User account disabled” in the IANA registry (RFC 5248), in the group security or policy status (RFC 3463 §3.8).

A 5.7.13 reply comes when your mail app signs in to send mail. The sign-in itself succeeded, but an administrator has turned the account off. Nothing was sent.

## What it means
[RFC 5248 §2.4](https://www.rfc-editor.org/info/rfc5248/) registers X.7.13 as "User Account Disabled". The RFC explains that a system administrator sometimes has to disable a user's account, and gives lack of payment, abuse, and evidence of a break-in attempt as examples. The code comes after a successful authentication to a disabled account. It tells the client that the failure is permanent until the user contacts their administrator to get the account enabled again.

The RFC contrasts it with a generic sign-in failure, such as [535 5.7.8](https://email-validation.org/bounce-codes/535-5-7-8/), where the app's best option is to ask for the password again in case it was mistyped. With 5.7.13 the sign-in itself succeeded.

RFC 5248 notes that X.7.13 was in use in the industry before any published specification described it. The [IANA registry](https://www.iana.org/assignments/smtp-enhanced-status-codes/) pairs it with the basic reply 525, a code that the core SMTP standard does not define.

## How Microsoft 365 uses it
Exchange Online uses 5.7.13, and 5.7.135, with a different meaning: the recipient is a public folder that refuses mail from outside its organization ([Exchange Online NDR reference](https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online)). Only an administrator of the recipient's organization can change that. The page for [5.7.133](https://email-validation.org/bounce-codes/5-7-133/) covers this family of codes.

## Common causes
The RFC's own examples:
- A bill for the mail account was not paid.
- The account was used for abuse.
- There was evidence of an attempt to break into the account.

An administrator can disable an account for other reasons too, and the text after the code may say which one applies.

## How to fix it
If you are the sender:
1. Stop the app or script from trying to send, and read the text after the code for the reason.
2. Contact the administrator of the mail account: your company's IT team, or the support of the service the account is with.
3. If the account was disabled after a break-in attempt, change its password once it is enabled again, and update every app that uses it.
4. If the account is gone for good, set the app up with a different account.

If you run the server:
1. Use 5.7.13 only after a successful sign-in, as the RFC says, so users know the sign-in itself succeeded.
2. Say in the reply text how to reach you.

## What to do with the address
Under the standard meaning, nothing. This reply is about the account your mail app sends from, not about any recipient, and the addresses you were sending to are not the problem. Once your account is enabled again, send the message again.

From Microsoft 365, it is about the recipient: a public folder closed to outside mail. Keep the address and ask the recipient's admin to allow external senders.

A disabled mailbox on the recipient's side is a different code: see [550 5.2.1](https://email-validation.org/bounce-codes/550-5-2-1/).

## Related codes

- [535 5.7.8](https://email-validation.org/bounce-codes/535-5-7-8/): Username and password not accepted
- [530 5.7.0](https://email-validation.org/bounce-codes/530-5-7-0/): Authentication or STARTTLS required
- [550 5.2.1](https://email-validation.org/bounce-codes/550-5-2-1/): The mailbox is disabled and takes no mail

See [every bounce code](https://email-validation.org/bounce-codes/) in the dictionary.

_How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text._
