An administrator attempts to deactivate a Salesforce user but receives an error, or the Deactivate checkbox is unavailable. The user remains active and the administrator cannot complete the deactivation.
Active Validation Rule on the User Object
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.
User Is Referenced in Active System Configurations
Salesforce blocks deactivation when the user is assigned to specific system roles, Like : Default Lead Owner, Default Case Owner, Default Workflow User, approval process approver.
Step 1 — Freeze the User Immediately (Optional but Recommended) if you'd like to restrict the access to that user.
Step 2 — Check for Blocking Validation Rules
Step 3 — Resolve System Configuration Dependencies
Step 4 — Deactivate the User
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.
FAQ
Q: I deactivated the validation rule but still cannot deactivate the user. What else should I check?
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.
Q: I need to revoke access immediately but cannot complete deactivation right now.
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.
Q: The default workflow user was set to the user I'm trying to deactivate. How do I find this?
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.
Q: After deactivating the user, will their data be deleted?
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.
Additional Resources:
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.