How it works

How contactless payments and NFC work, and why they are secure

Tap-to-pay uses NFC, a radio link that only works over a few centimeters. Learn how a card or phone talks to the terminal, and why the card number is never sent.

Plugpixels Editorial TeamTechnology 6 min read
A market stall where a shopper holds a card near a small payment terminal beside crates of fruit

Contactless payments work using NFC, near-field communication, a short-range radio link that only operates over a few centimeters. When you tap a card, phone or watch on a terminal, the two exchange a one-time code that proves the payment is genuine, without sending your real card number in a form that can be reused.

This explainer covers how NFC powers a card with no battery, what happens in the second you tap, why tokens and one-time codes make it secure, and the realistic risks to know about.

What is NFC?

NFC is a set of standards for very short-range wireless communication, usually up to about 4 centimeters. It grew out of RFID, the technology used for tags in shops and building access cards. It runs at a frequency of 13.56 MHz, far lower than Wi-Fi or Bluetooth, and works by magnetic coupling between two coils of wire rather than by sending radio waves across a room.

Besides payments, NFC is used for transport cards, building passes, pairing headphones by tapping, reading tags on posters and products, and checking the chip in many passports. The short range is deliberate: it makes the act of tapping a clear sign that you meant to connect.

How does a card work without a battery?

A contactless card has a tiny chip and a thin coil of wire running around its edge, hidden inside the plastic. The payment terminal constantly produces a small magnetic field. When the card comes close, that field induces a current in the coil, the same principle a transformer or wireless charger uses, and this current powers the chip for long enough to do its work.

The card then talks back by subtly changing how much energy it draws from the field, which the terminal can detect. Phones and watches have their own battery and an NFC antenna, so they can act like a card or like a reader.

Even if someone copied the data from a tap, they could not reuse it, because each payment code is valid only once.

What happens when you tap to pay?

The whole exchange takes well under a second, but several steps happen in that time.

  • The terminal’s field powers or wakes the card or phone, and they agree which payment application to use.
  • The card sends a payment number, which for phones and watches is a stand-in called a token rather than the real card number.
  • The chip creates a one-time cryptogram: a code calculated from secret keys stored on the chip plus details of this specific transaction.
  • The terminal sends the details and cryptogram to the payment network and your bank.
  • Your bank checks the cryptogram, the balance and fraud rules, and approves or declines within moments.

Why is contactless secure?

The chip’s secret keys never leave it, and each cryptogram is valid for one transaction only. Even if someone copied the data from a tap, they could not reuse it to make another payment, because the bank would reject the repeated code. This is the same chip technology used when you insert a card, just over radio instead of metal contacts.

Phone and watch payments add another layer. When you add a card, the bank issues a device-specific token, so the real card number is not stored on the phone or passed to the shop. Each payment also needs you to unlock the device with a fingerprint, face scan or passcode, which is why phone payments often have no spending cap.

Can someone steal money by tapping your card in a crowd?

This worry comes up often, but in practice it is very hard. A reader must be within a few centimeters of the card, a thief would need a registered merchant account to receive money, which leaves a trail, and the stolen transaction would be small and traceable. Banks treat unauthorized contactless payments as fraud and generally refund them.

The more realistic risk is simply losing a card: someone who finds it can tap for small amounts until you report it. Many places limit how much or how many times a card can be used without a PIN for this reason.

  • Report a lost card straight away using your bank’s app or phone line.
  • Turn on transaction notifications so you see every payment.
  • Use phone or watch payments, which need unlocking, if you want extra protection.
  • Use an RFID-blocking sleeve if it gives you peace of mind, though it is rarely needed.

Why does a contactless payment sometimes fail?

Most failures are about the radio link or the card choosing the wrong application. Holding two contactless cards together in a wallet confuses the terminal, which may refuse both or charge the wrong one. This is called card clash, and it is a common cause of charges on the wrong card at transport gates.

Hold the card or phone flat and still on the reader for a moment, rather than waving it. Thick metal cases or wallets can block the field. If a card has been bent or cracked, the coil inside may be damaged even if the chip still works when inserted.

How can you use NFC beyond payments?

Most phones can read NFC tags, small stickers with a chip and a coil. You can buy blank tags and set them to do something when tapped, such as joining your home Wi-Fi, opening a playlist, starting a timer in the kitchen or switching a smart home scene. Some museum labels, posters and product packages use tags to open a web page.

NFC also speeds up pairing: many speakers and headphones let you tap a phone on them to start a Bluetooth connection. In each case NFC does the quick introduction, and a faster radio such as Bluetooth or Wi-Fi does the heavy lifting.

Frequently asked questions

Is contactless safer than chip and PIN?

+

Both use the same chip security and one-time codes. Card contactless has no PIN for small payments, so a lost card can be misused for small amounts until reported. Phone and watch payments are generally the most secure because they need unlocking and use tokens.

Does NFC need to be turned on to pay with my phone?

+

Yes, NFC has to be enabled, but on most phones it is on by default. It uses very little power and only activates when a reader is close, so there is little reason to switch it off.

What is card clash?

+

Card clash happens when you tap a wallet with two or more contactless cards in it. The reader may fail or charge the wrong card. Keep the card you want to use separate, or tap only one at a time.

Can contactless payments work without internet on my phone?

+

Often yes. The phone stores tokens for a number of payments and the terminal handles the online part. If the phone has been offline for a long time, it may need to reconnect to refresh its tokens.

How close do you need to be for NFC to work?

+

Usually within about 4 centimeters, and touching is most reliable. The short range is built into how NFC works and is part of what makes it secure.

Do RFID-blocking wallets actually work?

+

They do block NFC signals when the card is inside. Whether you need one is another question: the real-world risk of crowd skimming is low, and bank fraud protection covers unauthorized payments.

Tapping to pay is a short, powered conversation between two coils, sealed with a code that only works once. Keep your cards apart, report losses quickly and let the cryptography do the rest.

How we research: Guides are written from established sources and checked for accuracy. They are general information, not professional advice.

Written by

Plugpixels Editorial Team

Technology

Our writers have spent years taking devices apart, on the bench and on paper, and explain them in plain language.

More Stories

View all →