Skip to content
Sovereign SecureSovereign Secure

PCI DSS Requirement 3

PCI DSS Encryption Requirements for Stored Card Data (Requirement 3)

Updated

A QSA company's guide to Requirement 3 of PCI DSS v4.0.1: what card data you may keep, how stored card numbers must be made unreadable, and how the keys that protect them must be managed.

Prefer to talk? Call +44 161 523 5276

  • Every Requirement 3 sub-requirement in one table
  • Covers the 31 March 2025 changes, including 3.5.1.1 and 3.5.1.2
  • Written by a PCI SSC-approved QSA company

The short answer

PCI DSS Requirement 3 protects stored account data. Keep as little as possible, never store sensitive authentication data after authorisation, mask displayed card numbers to at most the BIN and last four digits, and make stored PAN unreadable with keyed hashes, truncation, index tokens or strong cryptography. Since 31 March 2025, disk encryption alone no longer counts for fixed disks.

On this page
  1. What does PCI DSS Requirement 3 cover?
  2. What card data can you store, and for how long?
  3. Can you store sensitive authentication data?
  4. How must card numbers be masked on screen?
  5. What are the PCI DSS encryption requirements for stored card numbers?
  6. Are hashed card numbers acceptable under PCI DSS?
  7. Is disk encryption enough for PCI DSS?
  8. How must encryption keys be managed for PCI DSS?
  9. Does Requirement 3 cover encryption in transit?
  10. Why work with Sovereign Secure?
  11. Need a second opinion on how you store card data?

PCI DSS encryption requirements for stored card data sit in Requirement 3: Protect stored account data. In short: keep as little card data as you can for as short a time as you can, never keep sensitive authentication data after authorisation, mask card numbers when they are displayed, and render every stored primary account number (PAN) unreadable using keyed hashing, truncation, index tokens or strong cryptography, with the keys properly managed. Two PCI DSS 4.0 encryption requirements that became mandatory on 31 March 2025 changed what many organisations had in place: hashes of PAN must now be keyed (3.5.1.1), and disk encryption on its own no longer counts for non-removable media (3.5.1.2).

This guide covers each part of Requirement 3 in PCI DSS v4.0.1, the evidence an assessor asks for and the gaps that commonly lead to findings. For the other 11, see our overview of the PCI DSS requirements, or take our free PCI compliance check to see your likely SAQ and where you stand across all 12.

What does PCI DSS Requirement 3 cover?

Requirement 3 covers account data at rest: cardholder data (the PAN, cardholder name, expiry date and service code) and sensitive authentication data (full track or chip data, card verification codes, PINs and PIN blocks). Our explainer on what counts as PCI data sorts each element into its category.

The requirement has seven sections. Items marked † became mandatory on 31 March 2025.

Sub-requirement What it requires Typical evidence Common audit finding
3.1.1, 3.1.2 Policies, procedures, roles and responsibilities for Requirement 3 Policies, responsibility matrix Procedures describe a system that has been replaced
3.2.1 Retention and disposal for every location of account data, with a check at least every three months Retention policy, data discovery results, deletion records Card numbers in logs, tickets or backups the policy misses
3.3.1 to 3.3.3 No sensitive authentication data (SAD) after authorisation; SAD held before authorisation is encrypted (3.3.2†) Data flows, log and recording samples Security codes in call recordings or debug logs
3.4.1, 3.4.2† PAN masked on display; remote access cannot copy PAN without authorisation Screenshots by role, remote desktop settings Full PAN on back-office screens; clipboard left on
3.5.1, 3.5.1.1† PAN unreadable wherever stored; hashes must be keyed Cryptographic design, sample queries Unkeyed SHA-256 of the card number
3.5.1.2†, 3.5.1.3 Disk encryption alone only on removable media, and managed apart from operating system logins Storage and encryption design “Encrypted at rest” means volume encryption only
3.6.1 to 3.6.1.4 Keys protected, stored separately and held by the fewest custodians; service providers also document their cryptographic architecture Key procedures, HSM or key management configuration Data key in a configuration file on the same server
3.7.1 to 3.7.9 The full key lifecycle, from generation to retirement Key ceremony records, custodian forms No cryptoperiods; custodian forms never signed

What card data can you store, and for how long?

Only what you have a legal, regulatory or business need for, and only for as long as that need lasts. Requirement 3.2.1 expects a written retention policy that names every location where account data is kept, sets a retention period with a justification, explains secure deletion, and includes a check at least once every three months that anything past its retention date has gone.

The weak point is usually the word “every”. Card numbers turn up in support tickets, inboxes, spreadsheets, application logs, backups and call recordings, so run a data discovery exercise before you write the policy. The smaller the footprint, the smaller your cardholder data environment: our PCI DSS scoping guide shows how deleting data shrinks what an assessor has to test.

Can you store sensitive authentication data?

Not after authorisation, even if it is encrypted. Full track data, the card verification code and the PIN or PIN block must be unrecoverable once authorisation completes (3.3.1.1 to 3.3.1.3). Since 31 March 2025, any sensitive authentication data held electronically before authorisation completes, for example in a payment queue, must be encrypted with strong cryptography (3.3.2). Only issuers and companies supporting issuing services may keep it longer, limited to a legitimate issuing business need and secured (3.3.3). For everyone else, a typical breach of this rule is a call recording in which the customer reads out the security code. Our guide to PCI compliance for call centres explains how to keep it out of call and screen recordings.

How must card numbers be masked on screen?

Requirement 3.4.1 limits any displayed PAN to the BIN and last four digits, unless a person has a documented business need to see more. Masking controls what people see; it does not protect the stored value, which is the job of 3.5.1. Requirement 3.4.2, mandatory since 31 March 2025, adds that remote desktop and virtual desktop tools must stop users copying or moving PAN, through the clipboard or local drives for example, unless they have documented, explicit authorisation and a defined business need.

What are the PCI DSS encryption requirements for stored card numbers?

PCI credit card encryption rules apply to the PAN wherever it is stored: in databases, files, backups and logs. Requirement 3.5.1 allows four ways to make it unreadable, and they behave very differently:

Method How it works Conditions under PCI DSS v4.0.1 Can the PAN be recovered?
Keyed cryptographic hash One-way function of the entire PAN using a secret key Must be keyed (3.5.1.1), with the key managed under 3.6 and 3.7 No
Truncation A segment of the PAN is permanently removed Hashing must not replace the removed segment; truncated and hashed versions must not be correlatable No
Index tokens A substitute value replaces the PAN, with the mapping in a token vault The vault and anything that can detokenise stay in scope Only through the vault
Strong cryptography The PAN is encrypted with an accepted algorithm and key length Key management processes under 3.6 and 3.7 Yes, with the key

The PCI DSS glossary defines strong cryptography as industry-tested and accepted algorithms with at least 112 bits of effective key strength, plus proper key management. The rule covers every copy of the PAN, including backups, audit logs and troubleshooting logs. A merchant holding only its payment provider’s tokens may not store PAN at all. Our guide to PCI tokenisation compares tokens with encryption and explains what stays in scope.

Encrypting stored card numbers also helps with UK GDPR, which names encryption as an example of an appropriate security measure under Article 32. Our guide to GDPR and PCI compliance shows which PCI DSS controls evidence that duty.

Are hashed card numbers acceptable under PCI DSS?

Yes, but only keyed hashes. Since 31 March 2025, Requirement 3.5.1.1 says hashes used to render PAN unreadable must be keyed cryptographic hashes of the entire PAN, with the key managed like any other cryptographic key. A plain SHA-256 of a card number no longer qualifies.

The reason is arithmetic. Card numbers are short, their first digits identify the issuer and the last digit is a check digit, so an unkeyed hash can be reversed by trying every possible number. The same weakness drives the correlation rule: if a database holds a truncated card number and a hash of the full number, the missing middle digits can be found by trial. A secret key, held apart from the data, removes that shortcut.

Is disk encryption enough for PCI DSS?

Not on its own for fixed storage. Since 31 March 2025, Requirement 3.5.1.2 allows disk-level or partition-level encryption to be the only protection for PAN on removable media. On non-removable media, such as server disks, PAN must also be made unreadable by another 3.5.1 method, such as column-level or field-level database encryption, keyed hashing, truncation or tokenisation.

Disk encryption protects against theft of the disk. Once the system is running, data is decrypted for anyone who can log in and for any compromised process, which is how card data is usually stolen. Where disk encryption is used, 3.5.1.3 adds that access must be managed separately from operating system logins and that decryption keys must not be tied to user accounts. A useful test of any “encrypted at rest” claim: what protects the PAN from someone already logged in?

PCI database encryption is where 3.5.1.2 bites hardest, because “the database is encrypted” can mean very different things:

Approach What it protects against Enough for PAN on fixed storage?
Full-disk or partition encryption Theft of the physical disk or a decommissioned drive No, not on its own (3.5.1.2)
Transparent data encryption (TDE) of database files Theft of database files and backups Treat with care: it decrypts automatically for any authenticated connection, so agree its role with your assessor before relying on it alone
Column-level or field-level encryption Database users, administrators and processes without access to the key Yes, as strong cryptography, with keys managed under 3.6 and 3.7
Tokenisation, keyed hashing or truncation in the database Anyone without access to the token vault or hashing key Yes, under the conditions in 3.5.1 and 3.5.1.1

How must encryption keys be managed for PCI DSS?

Keys that protect stored account data must be protected (3.6) and managed through their whole lifecycle (3.7). Under 3.6.1.2, secret and private keys must always be held in one of three forms: encrypted with a key-encrypting key that is at least as strong and stored separately; inside a secure cryptographic device such as a hardware security module (HSM); or as at least two full-length key components or shares. Clear-text key components are restricted to the fewest custodians necessary, and keys are kept in the fewest possible locations (3.6.1.3, 3.6.1.4).

The lifecycle requirements in 3.7 cover generation, distribution and storage of keys (3.7.1 to 3.7.3); changing keys at the end of a defined cryptoperiod, set using guidance such as NIST SP 800-57 (3.7.4); retiring keys whose integrity is weakened or suspected compromised (3.7.5); split knowledge and dual control for manual clear-text key operations (3.7.6); preventing unauthorised key substitution (3.7.7); and written acknowledgement by key custodians (3.7.8). Service providers must also document their cryptographic architecture (3.6.1.1) and give customers guidance when keys are shared (3.7.9).

Developers designing field-level encryption will find the OWASP Cryptographic Storage Cheat Sheet a useful companion. Organisations that process PIN-based transactions or manage the keys that protect PINs, such as acquirers, processors and key injection facilities, are assessed against the separate PCI PIN Security Requirements, which our guide to PCI PIN compliance explains.

Does Requirement 3 cover encryption in transit?

No. Card data sent over open, public networks falls under Requirement 4, which requires strong cryptography and trusted certificates for PAN in transmission (4.2.1), an inventory of trusted keys and certificates (4.2.1.1), and protection for PAN sent through end-user messaging such as email or chat (4.2.2).

Why work with Sovereign Secure?

Sovereign Secure is a PCI SSC-approved Qualified Security Assessor (QSA) company, Qualified PIN Assessor (QPA) and Card Production Security Assessor (CPSA), and a member of the PCI SSC Global Executive Assessor Roundtable (GEAR) for 2026 to 2028. Because we also assess against the PIN Security and Card Production standards, where HSMs, key management and key ceremonies are central, we review Requirement 3 cryptography with that depth. We are ISO 27001 certified and have been a UK company since 2012. Where we both advise and assess, the two pieces of work are kept separate, as the PCI SSC expects of a QSA company.

Need a second opinion on how you store card data?

If you are unsure whether your hashing, tokenisation or encryption meets Requirement 3, our PCI DSS consultancy team can review the design before your assessment. The official requirement text and testing procedures are free from the PCI SSC document library. Contact us or call +44 161 523 5276 for a fixed quote.

Your next step

Last reviewed October 2026 by the Sovereign Secure assessment team.

Trusted by banks, payment providers and global brands

  • Accor
  • Fiserv
  • JCPenney
  • Ticketmaster
  • Nitecrest
  • Cashplus
  • Ahli United Bank
  • Kuwait Finance House
  • AYA Bank
  • Bank of Palestine
  • Liquid Pay
  • DataFlow Group
  • Wilmington
  • The Growth Company
  • Wahyukart

FAQ

Frequently asked questions

Can't find your answer? Call us on +44 161 523 5276 or send us a message.

What does PCI DSS Requirement 3 cover?

Requirement 3 covers account data at rest: how long you keep it, the ban on storing sensitive authentication data after authorisation, masking card numbers on screen, rendering stored PAN unreadable, and managing the cryptographic keys that protect it. Data in transit is Requirement 4.

Are hashed card numbers acceptable under PCI DSS?

Yes, if the hash is a keyed cryptographic hash of the entire PAN and the key is managed under Requirements 3.6 and 3.7. Since 31 March 2025, Requirement 3.5.1.1 means a plain, unkeyed hash of a card number no longer meets the standard.

Is disk encryption enough for PCI DSS?

Only on removable media. Since 31 March 2025, Requirement 3.5.1.2 says that if you use disk-level or partition-level encryption on non-removable media, PAN must also be made unreadable by another method that meets Requirement 3.5.1, such as field-level encryption or tokenisation.

Do we need a hardware security module (HSM) for PCI DSS?

Not always. Requirement 3.6.1.2 accepts three ways to hold secret and private keys: encrypted with a key-encrypting key at least as strong and stored separately, inside a secure cryptographic device such as an HSM, or as at least two full-length key components or shares.

How many digits of a card number can be displayed?

Requirement 3.4.1 allows at most the BIN and the last four digits to be shown, unless a person has a legitimate business need to see more. Masking applies wherever PAN is displayed, such as screens, printed reports and receipts.

Does tokenisation take us out of Requirement 3?

If you hold only tokens that your systems cannot turn back into card numbers, the PAN-protection controls largely sit with your token provider instead. You still need a retention policy and must make sure no card numbers remain elsewhere. Our guide to PCI tokenisation explains where the boundary falls.

How often must encryption keys be changed under PCI DSS?

At the end of each key's cryptoperiod, which you define for each key using the vendor's guidance and industry practice such as NIST SP 800-57, and straight away if a key's integrity is weakened or compromise is suspected (3.7.4 and 3.7.5).

Free consultation

Talk to an assessor

We aim to reply within one working day, and send a fixed quote once your scope is confirmed.

  • PCI SSC-approved QSA, QPA, CPSA, P2PE and 3DS assessors
  • IASME-licensed Cyber Essentials certification body
  • Clients across the UK, US, Europe, Middle East and Asia since 2012

“We would happily recommend them to any company in need of the services mentioned.”

Emir Handan, Executive Director, Bamcard. Read the full testimonial

By sending this form you agree to us contacting you about your enquiry. See our privacy policy.

We aim to reply within one working day. The first consultation is free.