An administrator in Salesforce attempts to deactivate a user but receives an error, or the Deactivate checkbox is unavailable, so the user remains active. This usually happens because a validation rule on the User object blocks the change, or because the user is still referenced in an active system configuration such as Default Workflow User, Default Lead Owner, Default Case Owner, or an approval process approver.
This article explains why an administrator may be unable to deactivate a Salesforce user, and walks through the most common blockers and how to resolve each one.
A validation rule on the User object can prevent the Active field from being set to false. This is the most common cause. The validation rule may have been created to enforce data quality on user records but inadvertently blocks deactivation.
Salesforce blocks deactivation when the user is assigned to specific system roles, such as Default Lead Owner, Default Case Owner, Default Workflow User, or an approval process approver.
If you want to restrict access to the user right away while you resolve deactivation blockers, freeze the account first.
Note: After deactivation, the user's records, owned folders, and Chatter group memberships are not automatically reassigned. Transfer ownership of records and reassign the user's Chatter groups manually.
Review the full blockers list: Default Workflow User, Default Lead Owner, Default Case Owner, approval process approver, workflow email alert recipient, and custom hierarchy fields. Navigate to Setup > Users and check the user's related lists for active dependencies.
Use the Freeze action on the user record. This blocks all login access immediately without requiring deactivation. The user's license is still consumed until the user is fully deactivated.
Go to Setup > Process Automation Settings. The Default Workflow User field shows the current setting. Change it to an active System Administrator before attempting deactivation.
No. All records owned by the deactivated user remain intact. The user's name still appears on records they owned. You must manually transfer ownership if needed.
005385527

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.