Deactivating a user does not move what they own. The leads and opportunities stay with a person who cannot log in. Anything that routes to them keeps doing so.
Does deactivating a user reassign their leads?
No. The records stay with the user.
1. Find what they still own
SELECT COUNT() FROM Lead WHERE IsConverted = false AND Owner.IsActive = false
SELECT COUNT() FROM Opportunity WHERE IsClosed = false AND Owner.IsActive = false
2. Reassign it
Salesforce has a mass transfer tool for leads. List views have a Change Owner action for records you select. For large volumes, use a data import tool to set the new owner. Decide first whether the leads go to a person, a queue, or back through the rule. The rule decides differently from a manual choice.
3. Stop new ones arriving
Search your assignment rule entries, flows, round robins and routing tool for the person. Each place that names them keeps routing to them. See round robins and inactive users.
4. Check the default owner and queues
Change the default lead owner before anything else if it is the departed rep. Until then every unmatched lead goes to them. The same if they were the only member of a queue. See leads going to the default owner.
Leads moving back after a transfer
If transferred leads move again, see the owner keeps changing and a marketing sync overwriting the owner.
5. Make it part of leaving
Add the reassignment to the process for someone leaving, with a named owner. Without it, the next departure repeats this.
Related: Salesforce cases owned by inactive users.
Choose where the leads go
| Destination | What happens |
|---|---|
| A named person | One rep gets the whole pile. Check they have the time. |
| A queue | The team picks them up. Someone must check the queue. |
| Back through the rule | The rule decides, and may choose differently from you. |
Pick one on purpose, and write the reason in the change log. See leads going to the default owner if the rule has a fallback.
A made-up leaver day
A rep leaves on a Friday. The numbers below are invented, to show the order of work.
- Count open leads and open opportunities they own: 62 and 9.
- Search every rule, flow, round robin and router for their name: two hits.
- Check the default owner and queue membership: neither names them.
- Transfer the 62 leads to a queue. Give the 9 opportunities to their manager.
- Run both counts again on Monday with
AND OwnerId = '<their user Id>'added. Both should read zero.
The Monday count proves the work held. See round robins and inactive users for the search in line two.
The free scan cannot count who has left. It checks the setup behind it.
Have it checked every night instead.
Routing Forensics connects as a read-only user and checks this, and the rest of your routing, against your real leads. Three design partners get a free health report on their own CRM, free for 90 days: what is leaking, where, and what it is worth. Apply for a place.
The free scan cannot count who has left. It reads your routing setup in your browser. Scan your Salesforce or HubSpot routing. The nightly check, open to design partners, counts it.