Skip to content
Language: EN

What is NFC and how does it work?

NFC is a short-range wireless technology that operates at 13.56 MHz over distances of a few centimetres. A powered reader, usually a phone, generates a magnetic field that supplies energy to a passive tag and exchanges data with it. The tag needs no battery of its own.

What NFC is

Near field communication is a set of standards for exchanging data between two devices held within a few centimetres of each other, using a magnetic field oscillating at 13.56 MHz. The NFC Forum, the industry body that maintains the specifications, defines both the radio layer and the data format that runs on top of it.

The name is precise and worth taking literally. "Near field" is not a marketing way of saying "short range": it describes the region close to an antenna where the magnetic component of the field dominates and energy can be transferred by induction rather than radiated as a wave. Everything characteristic about NFC follows from operating in that region.

Two things are usually involved. One is powered and does the talking, typically a phone or a dedicated reader. The other is a tag, a card, or a second powered device.

How a phone powers a tag with no battery

An NFC tag is a chip connected to a flat coil of wire, usually printed as a few turns of aluminium or copper on a plastic film. There is no battery, no capacitor holding a charge, and nothing running when the tag sits on a table.

When a reader is brought close, its own coil is driven with an alternating current at 13.56 MHz. That produces an alternating magnetic field. The tag's coil sits inside this field and a voltage is induced across it, exactly as in a transformer whose two windings happen to be separated by air instead of an iron core. Rectified, that voltage powers the chip.

Inductive coupling between an NFC reader and a passive tag A phone acting as a reader drives its antenna coil at 13.56 megahertz. The alternating magnetic field it produces reaches the coil of a nearby passive tag, which draws power from it. The tag replies by varying the load on its own coil, a change the reader detects in its own circuit. Reader Powered, drives the coil Alternating magnetic field, 13.56 MHz Power Load modulation Passive tag No battery, coil plus chip
A passive NFC tag has no power source. The reader's coil produces an alternating magnetic field at 13.56 MHz, and the tag's coil converts part of that field into the current its chip runs on. The tag answers without transmitting anything of its own: it switches a load across its coil, which the reader detects as a small change in the current drawn by its own antenna.

The reply direction is the part most descriptions skip. The tag does not generate a signal. It changes how much energy it absorbs from the reader's field by switching a resistance across its coil, and the reader senses that as a fluctuation in its own antenna current. This technique is called load modulation, and it is why the tag can answer while consuming almost nothing.

Data rates defined at this layer are 106, 212 and 424 kbit/s. That is enough for a URL, a Wi-Fi credential or a payment exchange, and hopeless for anything resembling a file.

Why the range is only a few centimetres

Inductive coupling in the near field weakens extremely fast as the two coils separate. Doubling the distance does not halve the coupling, it collapses it. Past a certain point the tag simply never receives enough energy to boot its chip, and the failure is abrupt rather than gradual: the tag either answers or it does not.

Antenna size matters more than the phone. A credit card sized tag has a large coil that intercepts much more of the field than a 25 mm sticker, so it reads from noticeably further away with the same phone. If a tag reads poorly, the first thing to change is the tag, not the handset.

The second variable is where the phone's antenna actually is. It occupies a specific area on the back of the handset, and it is not in the same place across manufacturers. A phone held flat against a tag but offset by three centimetres will fail as reliably as one held ten centimetres away.

The three operating modes

The standards define three ways two NFC devices can relate to each other. Only the first two are what most people encounter.

The three NFC operating modes and what each one is for
Mode What the phone does Typical use
Reader and writer Powers a passive tag and reads or writes its content Scanning a tag, encoding a URL or a Wi-Fi credential onto a sticker
Card emulation Behaves like a contactless card in front of an external reader Contactless payment, transit gates, building access
Peer to peer Exchanges data directly with another powered NFC device Historically phone to phone transfer

Reader and writer mode is the one that concerns anyone buying tags. Card emulation is handled by the operating system and the secure element, and applications reach it through a host-based interface on Android that Google documents under host card emulation.

Peer to peer is the odd one out. It is part of the standard, but phone to phone transfer over NFC is not how either mobile platform shares files today.

Android deprecated Android Beam in Android 10 and documents it as no longer in active development, remaining optionally available to device makers.

The standards behind NFC

NFC sits on top of contactless card standards that predate it. ISO/IEC 14443 defines the proximity card interface that most tags and payment cards use, ISO/IEC 18092 defines the NFC interface and protocol itself, and ISO/IEC 15693 covers the longer range vicinity cards that the NFC Forum later adopted as one of its tag types.

On top of that radio layer the NFC Forum defines two things that matter in daily use. The first is a set of tag types, each describing the command set a compliant reader must support. The second is NDEF, the NFC Data Exchange Format, a small container format that lets any compliant device understand a tag written by any other.

NFC Forum tag types and the standard each one builds on, per the NFC Forum specifications
Tag type Underlying standard
Type 1ISO/IEC 14443 Type A
Type 2ISO/IEC 14443 Type A
Type 3JIS X 6319-4
Type 4ISO/IEC 14443 Type A or Type B
Type 5ISO/IEC 15693

The current specification texts are published by the NFC Forum.

Why NDEF matters more than the tag type

A tag written without NDEF still holds data, but only software that knows the exact memory layout can interpret it. A tag written as NDEF is understood by every compliant reader, including the one built into the operating system. For anything intended to be read by someone else's phone, NDEF is not optional in practice.

What NFC is bad at

Metal is the main one. A tag placed flat on a metal surface has its field distorted and its resonance detuned, and it usually stops working entirely rather than degrading. Tags sold as suitable for metal include a ferrite layer that separates the antenna from the surface, and they cost more for that reason. An ordinary sticker will not work on a laptop lid, a machine housing or the back of a phone.

Distance is the second. If the use case requires reading a tag from more than a hand's width away, NFC is the wrong technology and no amount of antenna tuning will change that. UHF RFID at around 900 MHz reads from several metres, which is precisely why warehouses use it and phones cannot talk to it.

Capacity is the third. Tag memory is measured in hundreds of bytes for the common consumer references, which comfortably holds a URL and nothing resembling a document or an image. The usual answer is to store a link and put the payload on a server.

There is also a failure mode that catches people out for a different reason. Most tags can be permanently locked, and a locked tag cannot be rewritten by any means. It is a one-way operation performed in software, with no physical trace, and it is easy to trigger by accident when a writing application offers it as a checkbox next to the write button.

All guides in this section

How NFC works

Standards and specifications

Operating modes

Physical limits

Comparisons

Frequently asked questions

Does an NFC tag need a battery?

No. A standard NFC tag is passive: it draws all the energy it needs from the magnetic field generated by the reader. Outside that field the chip is completely inert and holds no charge. This is why a tag survives years in a drawer and why it stops working the instant you pull the phone away.

How close does a phone have to be to read an NFC tag?

Close enough that the two antennas overlap, which in practice means touching or nearly touching. The distance depends far more on antenna size than on the phone model, so a credit card sized tag reads from further away than a small sticker. Phone antennas are small and sit in a specific spot on the back of the handset, which is why sliding the phone around often works when holding it still does not.

Is NFC the same thing as RFID?

NFC is a subset of RFID, restricted to 13.56 MHz and to very short distances, with an extra layer of standards that RFID does not have. Every NFC device is an RFID device, but most RFID systems are not NFC: the UHF tags used for warehouse inventory work at around 900 MHz and read from several metres, and no phone can talk to them.

Can an NFC tag be read through a phone case?

Usually yes, because plastic, leather and fabric are transparent to the field. What breaks the link is metal, including a metal plate for a magnetic car mount or a card with a metal core. Thickness also costs range, so a rugged case can turn a tag that reads instantly into one that needs several attempts.