Travel & Transportation

Contactless Transit Cards: How They Work

You tap a piece of plastic on a reader and a gate opens. Total elapsed time: roughly 200 milliseconds. Nothing about it looks like technology, and that is entirely on purpose. The whole system is engineered to feel like absolutely nothing happened — which is exactly why almost nobody understands what is going on inside the card in their pocket.

So let’s take it apart. Not literally (you will destroy it), but conceptually.

There Is No Battery, and the Card Is Not Sending Anything

Inside a contactless transit card there are exactly two interesting parts:

  • A loop of thin wire running around the edge of the plastic, acting as an antenna.
  • A single chip, usually smaller than a grain of rice, with a tiny amount of memory and a small processor.

That is it. No battery. No power source. No transmitter in the traditional sense. Left alone on your desk, a transit card is a dead object. It is not emitting anything, it is not tracking you, and it is not talking to satellites.

The reader is what brings it to life. The reader is constantly pushing out an electromagnetic field at a radio frequency that varies by system but is typically in the 13.56 MHz range. When your card enters that field, the field induces a small current in the wire loop, which powers the chip. The chip wakes up, and the conversation begins.

When the card needs to send data back, it does not broadcast. It sucks power out of the reader’s field in a specific rhythm, and the reader detects those tiny fluctuations. It is an extremely elegant trick and it is decades old.

The Tap Is a Radio Conversation, Not a Touch

Nothing electrical happens when plastic touches glass. The reader and the card are negotiating through the air. That is why you can sometimes tap a card through a wallet, a coat pocket, or the back of a phone case, and other times it refuses to work when it is a millimeter off.

What matters is not pressure or contact. What matters is:

  • Distance — usually a couple of centimeters, sometimes up to about 4 cm on a good reader.
  • Orientation — the wire loop has to catch the field properly.
  • What else is in the field — more on this shortly.

What Happens in Those 200 Milliseconds

People assume the tap does one thing. It actually runs a short script, and every step has to succeed before the gate opens.

  1. The reader polls. It continuously sends out a signal asking if any card is present.
  2. Anticollision. If multiple cards are in the field, the reader has to figure out which one to talk to. This is a formal process, not random luck.
  3. The card hands over its serial number. Every contactless card has a permanent, unchangeable identifier baked in at manufacture. It is the same number for the life of the card.
  4. Mutual authentication. The reader proves it knows a secret key, and the card proves it knows the matching key. This is why a random off-the-shelf reader cannot just copy your card. The card refuses to open up to a reader it does not trust.
  5. Read and write. The reader reads a data block, decides what to do, and often writes a new value back to the card.

Then the gate opens and you have already stopped thinking about it.

Why the Gate Opens Before Your Money Actually Moves

This is the part that surprises people. Transit gates are, functionally, terrible places to do payment processing. A gate has to decide in a fraction of a second, thousands of times an hour, with no reliable connection to anything central.

So most systems split the work into two models:

  • Stored value on the card. The balance literally lives in the card’s memory. The gate reads it, subtracts the fare, writes the new balance back, and opens. No network involved at all.
  • Server-side accounting. The card is essentially an ID badge. The gate logs the tap and lets you through, and the money is reconciled later, in batches.

Plenty of systems run a hybrid. In almost every case, the gate trusts the card. It has to. There is no time to call home.

The safety net is a blocklist — a list of blocked or stolen card serial numbers that the readers download periodically. If your card gets blocked, it will still work until that list propagates to the specific reader you are standing in front of. That gap is not a bug. It is the cost of a system that has to keep working when the network does not.

What the Card Quietly Remembers

Transit cards are not just balance holders. Most of them keep a rolling transaction log in memory, and a lot of it can be read by any reader that authenticates successfully.

Depending on the system, that log may contain:

  • Your last several taps, with timestamps
  • Which entry or exit points you used
  • The fare deducted at each one
  • The card’s permanent serial number

That last one matters more than people think. The serial number is effectively a cookie that never expires and cannot be cleared. If a system logs serial numbers at entry points, movement patterns can be reconstructed without you ever registering the card. And if you did register it — for balance protection, for a replacement, for auto-reload — then that cookie is now attached to your name.

Your transit card is a small movement log with a radio interface. It does not need to phone home to incriminate you. It carries the receipts.

Why Your Wallet Sometimes Works and Sometimes Does Not

A few practical realities of the physics:

  • Stacking two cards breaks things. Both enter the field, anticollision picks one, and the reader takes whichever answers in a way it can parse. It is effectively a coin flip, which is why your gate experience feels random when your wallet is stuffed.
  • Metal kills the field. A card behind a metal plate, in a metal-clasped case, or next to a foil-lined pocket will not respond.
  • Phone antennas are not centered. On most phones the relevant antenna sits near the top edge or around the camera bump. That is why the tap only works in one specific spot.
  • Sleeves work. A thin layer of conductive material around the card blocks the field entirely. This is the same principle used by anyone who does not want a card readable while it is sitting in a bag.

Handheld Readers Exist and Are Used

Inspectors carry portable readers that can query a card in the field at short range. The same class of hardware exists commercially. The good news is that a serial number alone usually does not hand over your identity. The less good news is that it is a stable, unique identifier that can be matched against logs later.

If you care about that, the rules are simple and old: buy the card with cash, never register it, never attach a payment method, and keep it in something that blocks the field when you are not using it.

The One Free Ride Most Systems Are Built to Allow

Here is a design decision that has been common for decades. Walk into a station with a stored-value card that has a small balance, ride to an expensive destination, and exit. If the fare is larger than your balance, most gates will open anyway and let the card go negative.

This is not a clever exploit. It is a deliberate trade-off. The cost of a stuck, confused passenger blocking a gate and needing staff to intervene is far higher than the cost of one unpaid fare. The system takes the loss and moves on.

The card is then dead until it is topped up enough to clear the debt — and the debt usually gets paid, because you want the card back. Some systems let you just buy a new one for the price of the card itself. Either way, the accounting works out in the operator’s favor on average, and that is why the behavior persists.

Expiration, Dormancy, and Money That Stops Being Yours

Two more things buried in the fine print:

  • The chip has a lifespan. Read/write cycles wear it out. Cards get retired.
  • Inactivity fees and balance expiry exist. A card that sits unused for long enough can start losing value or stop working entirely, depending on the system.

That stored balance is not a bank account. It is a stored permission, and permissions come with clocks attached.

The Bottom Line

Contactless transit cards run on radio physics older than most people using them, and they work so smoothly precisely because nobody is supposed to think about it. Once you do, a few things click into place: why stacking cards fails, why the gate trusts a piece of plastic over a network, why the card knows where you have been even when it has no battery, and why the single most reliable way to stay anonymous is to pay cash, never register, and never let it touch your bank account.

It is not magic. It is a wire loop, a chip, and a very old conversation happening in the air between your hand and a reader — about two hundred milliseconds at a time.