Join our Newsletter — 33% off our NHI Course

How should teams decide whether to rotate or disable an old service account?

Start with ownership, application dependency, and effective access. If the account cannot be tied to a current workload and its permissions cannot be explained, it should be treated as a remediation candidate rather than a standing exception.

How teams decide whether to rotate or disable an old service account

Make the decision by answering three practical questions in order: who owns it, what still depends on it, and whether its current access is still justified. If you cannot tie the account to an active workload or explain its permissions, treat it as a remediation item, not a standing exception.

The safest path is not always immediate deletion. Some accounts are truly dormant, some are legacy dependencies, and some are poorly documented but still embedded in production flows. The decision should reflect operational continuity, not just age, because an account can be old and still be business critical.

If the account is still in use, rotation is usually the first move when the secret may have been exposed, the password is long lived, or the account is shared across systems. If the account has no defensible owner, no known dependency, or no valid business purpose, disable it first and only re-enable it after a specific application owner proves the dependency.

What evidence should justify rotation instead of disablement?

Rotate when there is a believable need to preserve the identity while improving its security posture. That typically includes active application dependency, a named owner, a clear service mapping, and a reason to believe the account is still part of a supported workload. A managed credential can be refreshed quickly, but the underlying service relationship must still be understood.

Rotation is also the better choice when you are responding to suspicion rather than certainty. If you suspect credential exposure, stale password reuse, or overly broad access but the workload is still required, rotate the secret, validate the caller path, and then narrow permissions. A full shutdown is appropriate only when the dependency is already understood well enough to absorb it.

For service account hygiene, the key comparison is between business continuity and control confidence. The more confident you are that the account is needed, the more rotation makes sense. The less confident you are, the more the decision shifts toward disabling access until the owning team can prove why it exists. Service Account Security Guide is a useful reference for that ownership, least-privilege, and lifecycle view.

When should an old service account be disabled first?

Disable first when the account is orphaned, undocumented, or impossible to map to a current system of record. That is the right move when the permissions are broader than the workload needs, when the account has no recent legitimate use, or when nobody can explain why it still exists. Old service accounts become risky precisely because their “temporary” status often outlives the application that created them.

Disablement is also the right choice when the account is tied to an application that should have been replatformed, retired, or replaced. In that situation, rotating the credential only extends the life of an unnecessary access path. If the account survives purely because it is convenient, the right question is whether the dependency should be removed instead of preserved.

When ownership is unclear, the account should be treated like an exception with an expiry date, not a permanent exception. NHI Ownership and Accountability Guide is relevant here because orphaned access is often the real problem, not the secret itself.

Risk and Threat Considerations

Old service accounts tend to accumulate hidden risk because they outlast the people, tickets, and systems that originally justified them. The main threat is not just compromise, but silent persistence: an attacker who finds a long-lived credential can keep using it without needing to break a modern login flow.

Failure mechanism: Stale service account credentials, overbroad permissions, and weak ownership make it easy for an old identity to remain valid after its operational need has changed. That creates a durable access path that defenders may not monitor closely because it looks “legacy” rather than active.

Impact: The result can be unauthorized access, lateral movement, or unnoticed reuse of an account that was assumed to be harmless. Ultimate Guide to NHIs, key challenges and risks and The 52 NHI Breaches Report both illustrate why stale access and credential exposure are high-value targets for attackers.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack surface, NIST SP 800-53 Rev 5 sets the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 — Improper Offboarding Old service accounts need decommissioning when their workload no longer exists.
NHI-05 — Overprivileged NHI Rotation decisions must also address excess access that makes old accounts dangerous.
Recommendation — Disable and revoke accounts that no longer map to an active workload. Reduce permissions before keeping any old service account active.
NIST SP 800-53 Rev 5 IA-5 — Authenticator Management Rotation of old service account credentials is authenticator lifecycle management.
AC-2 — Account Management The question is fundamentally about whether the account should remain enabled at all.
Recommendation — Rotate or invalidate credentials when the account remains in use. Review ownership and disable accounts that lack a current business purpose.
ISO/IEC 27001:2022 A.5.16 — Identity management Old service accounts require identity ownership, lifecycle and accountability controls.
Recommendation — Maintain ownership and lifecycle records for every service account.

Practitioner Guidance

What to verify: Before deciding, confirm three things in writing: the business owner, the application or job that calls the account, and the exact permission set it actually needs. If any of those are missing, do not treat the account as healthy just because it has not caused an incident.

Decision rule: If the account is still required and the dependency is real, rotate the credential and reduce privilege. If the account cannot be tied to a current workload, disable it first and require the owner to prove necessity before reactivation.

What good looks like: Each service account has a named owner, a documented workload, a narrow permission set, and a review date. Old accounts without that evidence should be handled as cleanup candidates, not preserved as “just in case” access.

Practitioner takeaway: Age alone is not the decision criterion, evidence of current, explainable use is. If the account’s purpose, owner, and dependency are unclear, disablement is the safer default; if the workload is real and needed, rotate and constrain rather than leave it untouched.