Primary Account Number (PAN)
A Primary Account Number (PAN) is the string of digits printed or embossed on a credit, debit, or prepaid card that identifies the card and links transactions to a specific account. It is typically 16 digits but can range from 12 to 19 digits. The PAN is used by payment processors to route and verify a transaction during payment processing.
The PAN is the payment card identifier found on credit, debit, and prepaid cards, generally 12 to 19 digits in length (commonly 16), used to identify the issuing account and route transactions through the payment networks. Under PCI DSS, the PAN is the defining element of cardholder data; its presence determines whether an environment is in scope for cardholder data protection controls. The PAN is distinct from sensitive authentication data (such as full track data, CAV2/CVC2/CVV2/CID, and PIN/PIN blocks): the PAN may be stored under defined controls such as rendering it unreadable through methods like truncation, masking, tokenization, hashing, or strong cryptography, whereas sensitive authentication data must not be retained after authorization. The specific protection and rendering requirements, along with their requirement numbering and wording, differ between PCI DSS versions and should be confirmed against the current published standard.
Why it matters
The PAN is the central data element that determines PCI DSS scope. Under PCI DSS, the presence of the PAN is what defines an environment as containing cardholder data and therefore subject to protection controls. Any system that stores, processes, or transmits the PAN generally falls within the cardholder data environment, which is why accurately identifying where PANs flow is one of the first steps in scoping an assessment. Misunderstanding where the PAN resides can lead to gaps in protection or to over-scoped environments that are costly to maintain.
Because the PAN is the identifier that links transactions to a specific account, it is a high-value target for attackers and a focal point for controls such as truncation, masking, tokenization, hashing, and strong cryptography. It is important to distinguish the PAN from sensitive authentication data such as full track data, CAV2/CVC2/CVV2/CID, and PIN or PIN blocks: the PAN may be stored under defined controls when rendered unreadable, whereas sensitive authentication data must not be retained after authorization even if encrypted. Confusing these categories is a common source of compliance and security failures.
The specific requirements governing how the PAN must be rendered unreadable, protected in transit, and restricted in display differ between PCI DSS versions, including their requirement numbering and wording. Teams should confirm the applicable obligations against the current published standard rather than relying on a fixed requirement number, since both the controls and the accepted methods evolve over time.
Who it's relevant to
Inside PAN
Common questions
Answers to the questions practitioners most commonly ask about PAN.