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.
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.
| 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.
| Tag type | Underlying standard |
|---|---|
| Type 1 | ISO/IEC 14443 Type A |
| Type 2 | ISO/IEC 14443 Type A |
| Type 3 | JIS X 6319-4 |
| Type 4 | ISO/IEC 14443 Type A or Type B |
| Type 5 | ISO/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
- Why does NFC use 13.56 MHz and not another frequency?
- Is NFC a radio wave or a magnetic field?
- How does a phone power a tag that has no battery?
- What is load modulation, and why does a tag never transmit?
- Why can a reader and a tag never speak at the same time?
- What happens, step by step, when a tag enters the field?
- How fast is NFC, and what fits in that speed?
- What is the real read range of an NFC tag?
- Why does NFC need no pairing?
- Can NFC transfer power as well as data?
- How much battery does NFC actually use?
- Does NFC work without an internet connection?
Standards and specifications
- What does the NFC Forum actually decide?
- What is ISO/IEC 14443, and which tags follow it?
- ISO/IEC 18092 and ISO/IEC 14443: what is the difference?
- What is ISO/IEC 15693, and when do you meet it?
- What are the five NFC Forum tag types?
- What is NDEF, and why does every readable tag use it?
- What is the capability container on a tag?
- Why do Japanese transit cards not work with most NFC apps?
- Is MIFARE Classic really NFC?
- What is a tag UID, and can it be changed?
- Which standard applies to a contactless bank card?
Operating modes
- What are the three NFC operating modes?
- What is reader writer mode?
- What is card emulation, and what does it require?
- What is host card emulation on Android?
- What is a secure element, and where does it sit?
- What was peer to peer mode, and what replaced it?
- Active and passive communication explained
- What is anticollision, and when does it matter?
- Can a phone read two tags at the same time?
- Can a phone be a tag and a reader at the same time?
Physical limits
- Why does NFC fail on metal?
- What is antenna detuning?
- Does water block NFC?
- Does a phone case block NFC?
- Does NFC work through glass, wood and plastic?
- Why does antenna size change read distance?
- Does the reader or the tag determine the range?
- Can NFC interfere with wireless charging?
- What temperature can an NFC tag survive?
- How long does an NFC tag last?
- Can a magnet erase an NFC tag?
Comparisons
- NFC vs RFID vs Bluetooth
- NFC vs QR code: which one for which job?
- NFC vs barcode for labelling and traceability
- NFC and magnetic stripe: what replaced what
- NFC vs Bluetooth Low Energy
- NFC vs UHF RFID for inventory
- NFC vs ultra wideband
- NFC and Wi-Fi Direct for transferring files
- Do AirDrop and Nearby Share use NFC?
- NFC vs infrared: can a phone replace a remote control?
- Is NFC the same thing as contactless?
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.