Security Identifier
A Security Identifier (SID) is a unique code that Windows systems use to identify a user account, group, or other security principal. Rather than relying on names, which can be changed or reused, Windows uses the SID to consistently recognize an entity behind the scenes. Each account is assigned its own SID, which typically does not change over the life of that account.
A SID is a unique, variable-length value used to identify a security principal (such as a user account, group, or other trustee) within the Windows NT family of operating systems and Active Directory. In most deployments the SID is issued by an authority (for example, a local system or domain) when the principal is created, and it is treated as immutable for the lifetime of that principal, allowing the underlying identity to remain stable even if the display name changes. SIDs are primarily an identification mechanism in Windows environments; access decisions typically reference SIDs (for example, in access control entries), but the SID itself represents identity rather than performing authentication or defining authorization policy. Scope note: this term is specific to Windows/Active Directory and is distinct from cross-platform identifiers used in other directory or federation contexts.
Why it matters
The SID is the stable anchor that Windows and Active Directory use to recognize a security principal regardless of how its display name or account name changes over time. This matters because names are mutable and reusable: a user could be renamed, or an old account name could be reassigned to a different person. Because access control entries reference the SID rather than the name, the underlying identity remains consistent, and permissions granted to a principal continue to resolve to the correct entity even after cosmetic changes. Conflating the name with the identity is a common source of misunderstanding, and the SID is precisely the mechanism that keeps identification distinct from the human-readable label.
Understanding SIDs is also important because the SID is an identification mechanism, not an authentication or authorization mechanism. A SID does not verify that a principal is who it claims to be, nor does it by itself define what that principal may do; it simply names the identity that authentication establishes and that authorization decisions reference. In most Windows deployments, access decisions are made by comparing SIDs present in a user's access token against SIDs listed in access control entries. Practitioners who treat the SID as a policy object rather than as an identifier can misdiagnose access issues that actually stem from token contents, group membership, or the access control configuration.
Because SIDs are typically immutable for the lifetime of a principal, they carry operational and audit significance: they persist in access control lists, in security logs, and in objects that outlive the account itself. This can produce so-called orphaned or unresolved SIDs when a principal is deleted, and it means that reviewing raw SIDs is sometimes necessary during forensic, migration, or troubleshooting work when name resolution is unavailable or misleading.
Who it's relevant to
Inside SID
Common questions
Answers to the questions practitioners most commonly ask about SID.
