NFC tags inside 3D prints

Design· 9 min read· Updated 16 October 2026

An NFC tag is a coil antenna and a tiny chip, powered by the phone that reads it. Ordinary plastic is no obstacle to the field, so a tag can be sealed completely inside a print and still work. What limits it is distance, metal and the size of the antenna, and all three can be designed for before you start the print.

How a phone reads a tag

The tags used in printed fobs and coasters are passive: they have no battery. The phone's reader coil creates an alternating magnetic field at 13.56 MHz; the tag's coil picks up enough energy from it to power the chip, which then answers by modulating the same field. Because the energy comes through the field, the useful distance is short. With a phone, expect a few centimetres at best, and less with small tags.

Two practical points follow from the physics. The tag works only when its coil lies roughly parallel to the phone's coil and close to it, so the tag should sit under the face the user will touch. And anything that absorbs or distorts the magnetic field near the tag, mainly metal, matters far more than the plastic around it.

Tag chips, memory and sizes

Most printable projects use NTAG21x chips, which every NFC-capable phone can read and write. They differ in memory:

ChipUser memoryGood for
NTAG213144 bytesa URL, a phone number, a short text, an automation trigger
NTAG215504 bytesa short contact card, Wi-Fi details plus a URL
NTAG216888 bytesa fuller contact card, several records

A URL is stored compactly (the "https://" prefix takes one byte), so even NTAG213 holds a URL of well over 100 characters. Contact cards grow quickly with every field and are the usual reason to choose a larger chip.

The physical form matters more for printing than the chip:

Measure the actual tag with calipers before you design the pocket. Thickness varies between suppliers, and a sticker with its liner on is thicker than one without.

How much plastic can cover the tag

The plastic itself costs almost nothing; the distance it adds costs range. Every millimetre between tag and phone is a millimetre less of the phone's reach, and the field falls off quickly with distance. As working numbers for a 25 mm tag:

Below about three layers the outline of the tag can show through on the top surface, especially with light colours. If you want an invisible tag, the cap needs enough layers to close cleanly; the cap layer section of the embedding guide covers that trade-off.

A five-minute range test

Before designing the real part, print a stepped plate with steps of 0.4, 0.8, 1.2, 1.6 and 2.0 mm, each about 30 mm square. Hold the programmed tag under each step and tap with the phone that will be used. The thickest step that still reads at the first tap is your limit; stay one step below it.

What reduces read range

Sealed, glued or open: three ways to fit a tag

MethodHowStrengthsWeaknesses
Sealed with a pausethe printer stops at the top of the pocket, you insert the tag, the next layers cover itinvisible, tamper-proof, protected from wear and moistureneeds you at the printer; the tag cannot be replaced
Back pocket with a lidan open pocket on the underside, closed with a printed lid that is glued or press-fittedno pause; replaceable with a press-fit lidvisible seam; glue can fail on a part carried in a pocket
Open recessa shallow recess on the back, tag stuck in with its own adhesivesimplest, fastesttag exposed to wear; only for wall signs and fixed objects

For a key fob that lives in a pocket with keys, sealing is worth the minute at the printer. For a coaster, a shelf label or a wall sign, a back pocket is usually enough and lets you swap the tag later.

Size the pocket the same way for all three: diameter = tag diameter + 0.6 to 1.0 mm, since printed holes come out small (why holes shrink) and sticker edges are not perfectly round; depth = measured tag thickness + 0.1 to 0.2 mm, rounded up to whole layers. Place the pocket close to the face the phone will touch, and keep two or three walls of plastic around it.

Sealing a tag with a pause

The general procedure, finding the pause layer, slicer and firmware pause commands, and what to do at the printer, is in the embedding guide. Points that are specific to tags:

The NFC keychain generator seals its pocket inside the fob: the pocket is 26 mm across and 0.4 mm deep, with 0.8 mm of plastic below it and 1.2 mm above it (0.8 mm under the recessed logo). At 0.2 mm layers with a 0.2 mm first layer, the pocket occupies layers 5 and 6, so the pause goes before layer 7, which starts at 1.2 mm. Confirm it in the slicer preview, because first-layer height changes the count.

Tags and heat

Tags are generally fine under a layer of PLA or PETG printed over them, because the hot nozzle never touches the tag and the plastic cools quickly. Higher-temperature materials and long pauses with the nozzle parked hot near the part increase the risk of a warped sticker. Seal a spare tag in a test print first if you plan to use a hotter material.

Writing the tag and setting up the phone

  1. Write before you embed. Use an NFC writing app to store the record: a URL, text, phone number, contact card or Wi-Fi details. Read it back once to confirm it works.
  2. Decide on locking. A tag can be locked permanently so nobody can overwrite it, or left open so you can change the content later through the plastic. Locking cannot be undone. A tag on a public sign is worth locking; a personal key fob usually is not.
  3. Enable NFC on Android. It is a switch in the connection settings. Most phones read tags only with the screen on and unlocked.
  4. On iPhones, recent models read URL tags in the background when the screen is on; older NFC-capable models need the reader in Control Centre or an app. Writing always needs an app. Some record types, such as Wi-Fi details, are handled natively on Android but may need a shortcut or app on an iPhone, so test the record on the phones that will use it.
  5. For automations, phone automation apps can react to a specific tag instead of its content, for example to switch on a light when the phone touches a tag by the door. The tag can stay empty for this.

Mark the tap spot on the print: a small raised ring, an icon or a different colour. People tap where they see a target, and a fob that reads only at its centre needs one. For a fallback that works on phones without NFC, print a QR code on the same part; the QR printing guide covers the sizes.

A key fob with a tag pocket The NFC Keychain generator makes a round fob with a 26 mm pocket for a standard 25 mm tag and an optional two-colour logo.
Open the NFC keychain generator →

Frequently asked questions

Does PLA or PETG block NFC?

No. Ordinary PLA, PETG, ABS and TPU are effectively transparent to the 13.56 MHz field. What reduces the range is the distance the plastic adds, plus anything metallic or conductive, such as metal-filled filament, steel parts or a metal surface behind the print.

How thick can the plastic over an NFC tag be?

With a 25 mm tag, a cover of 0.6 to 1.2 mm keeps most of the range. Two millimetres usually still reads but makes the phone position more critical. Small tags lose range faster, so keep the cover as thin as the part allows and test with your own phone.

Can I reprogram a tag after it is sealed inside a print?

Yes, as long as the tag was not locked. Writing uses the same field as reading, so it works through the plastic. Locking is permanent: a locked tag can never be changed again.

Will the hot nozzle destroy the tag?

Usually not when the tag sits fully below the top of the pocket and the nozzle prints a layer over it. It can happen if the nozzle touches the tag or the sticker lifts and wrinkles. Seal one spare tag in a test print before embedding an expensive or pre-programmed one.

Which tag should I buy for a key fob?

A 25 mm round NTAG213 sticker holds a URL and fits the NFC keychain generator. Choose NTAG215 or NTAG216 if you want to store a contact card or other longer data.

Keep reading