How does a bank card chip work?
- Press “Pay 25” to start.
Each chip payment carries a fresh one-time code tied to a counter (ATC) and the amount. The bank rejects any code it has already seen, so a copy is worthless.
Overview
Short answer
The chip on a bank card is a tiny computer with a secret key that can’t be read out. For every payment it creates a one-time code from the key, a counter and the payment details, so copied data can’t be reused, unlike the old magnetic stripe.
The small gold square on your bank card is a complete computer, with its own processor, memory and secret keys. It was added to make cards far harder to copy than the old magnetic stripe.
Play with the figure, then press Next (or the → key) to go step by step.
The problem with the stripe
A magnetic stripe stores your card details as magnetised patterns, just like an old cassette tape. It sends exactly the same data every time. A skimmer (a small reader hidden in a card slot or terminal) could copy it, and criminals wrote it onto blank cards that worked exactly like yours.
A computer with a secret
The chip holds a secret key that is generated securely and can never be read out. Not even the bank's staff, the shop or the chip's own pins can extract it. The chip is built to resist tampering: probing or overheating it destroys the data.
A new code for every payment
When you pay, the terminal sends the chip the amount, the date and a random number. The chip combines them with its secret key and a counter that rises with every transaction, producing a short one-time code called an application cryptogram. Your bank, which also knows the key, checks the code. A copied code is useless, because the counter and random number will be different next time: press "thief replays copy" in the figure.
Chip and PIN
For many payments the chip also checks your PIN, either itself or by passing it to your bank encrypted, so a stolen card is hard to use. The same chip, with an antenna, also powers contactless payments, and similar chips sit in passports, SIM cards and transit cards.
Common myths
- "The chip has a battery." It is powered through the gold contacts by the terminal, or by radio for contactless.
- "Chip cards can't be used for fraud at all." Online and phone payments don't use the chip, which is why websites ask for extra checks like one-time codes.
- "The chip contains GPS or tracks you." It has no location hardware and only wakes up when powered by a reader.
Questions people ask
Why do some cards still have a magnetic stripe?
For compatibility with older terminals in some countries. Many banks are now removing stripes as chip terminals are everywhere.
What is EMV?
The global standard for chip cards, named after Europay, Mastercard and Visa, which developed it in the 1990s.
Why does my card sometimes ask for a PIN on contactless?
After several contactless payments, or above a limit, the card asks for a PIN to confirm it is still in your hands.
Can a chip be cloned?
Copying the data a chip sends is possible, but without the secret key inside the chip, a copy can’t produce valid new codes, so cloning is impractical.
What do the gold contacts do?
They carry power, a clock signal, data and a reset line between the terminal and the chip when you insert the card.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01Why was the magnetic stripe easy to copy?
02What does the chip send to prove a payment is genuine?
03Why can’t a thief reuse a copied chip code?
04How does the chip get power?
Sources & more
Sources
- EMV (Wikipedia)(opens in a new tab)
- Smart card (Wikipedia)(opens in a new tab)
- Magnetic stripe card (Wikipedia)(opens in a new tab)
- Credit card fraud (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Money & SecurityExplore it
How does tap-to-pay work?
- Money & SecurityExplore it
How does an ATM work?
- Money & SecurityExplore it
How does two-factor authentication work?
- Money & SecurityExplore it
How does a security camera work?
- Money & SecurityExplore it
How do online card payments work?
- Money & SecurityExplore it
How do metal detectors and airport scanners work?