Habit Stacking With NFC Tags: Build a One-Tap Habit Tracker on Your Bathroom Mirror

Image

You already brush your teeth every night. That is the hard part, and it is done. The habit you keep failing to add, two minutes of slow breathing before bed, slips because nothing in the room reminds you, and when you do remember, you spend the two minutes hunting for the audio instead of doing it.

Habit stacking solves the reminder half: you attach the new habit to one you already have. The formula, popularized by James Clear in Atomic Habits, is "After I [current habit], I will [new habit]." What the formula does not give you is a physical cue or a record of whether you did it.

An NFC tag on the bathroom mirror covers both, and it doubles as a habit tracker. Tap the phone, and your iPhone sets the volume, plays the track, starts a two-minute timer, and adds a dated line to a note called Habit Log. Then the phone snaps onto the dock and your hands are free. This guide builds that habit stacking routine with iPhone Shortcuts and shows you how to test it.

Why the bathroom mirror is the right anchor

A habit stack needs a cue that happens at the same place and time every day. Brushing your teeth, washing your face, and stepping out of the shower all qualify, and they happen within arm's reach of the mirror, usually with your phone already in your hand.

TapNest is a magnetic phone dock with three customizable NFC tap zones, designed to live on your mirror. It mounts with 3M double-sided adhesive on smooth, non-porous surfaces such as mirrors and glossy tile, with no drilling. Each zone can anchor one stack, so you get three "after I…, I will…" cues in one spot.

To be clear about who does what: TapNest provides the NFC tap point. Your iPhone Shortcut can then trigger supported apps, playlists, timers, volume settings, Focus modes, or compatible smart-home actions. The dock does not run anything by itself.

The recipe: "After I brush my teeth, I will breathe for two minutes"

What you need

  • An iPhone with the Shortcuts app (preinstalled). A MagSafe-compatible iPhone or case works best on the dock.
  • An unassigned TapNest zone. If the dock is new to you, the TapNest setup guide covers mounting and tap technique.
  • A note in Apple Notes called Habit Log. Create it first and give it a title line; the Shortcut appends to an existing note.
  • Two minutes of calm audio in a library your Shortcut can control. A breathing track or short ambient playlist in Apple Music works directly. Spotify or a meditation app may offer its own Shortcuts actions, but that depends on the app, so check before you build around it.

What happens after the tap

  1. Media volume drops to about 35 percent, so nothing blasts at 11 p.m.
  2. Your breathing track or playlist starts.
  3. A two-minute timer starts in the Clock app.
  4. A line like "Breathe · Mon, Oct 26" is appended to your Habit Log note.
  5. A notification confirms it: "Logged. Two minutes starts now."
  6. You snap the phone onto TapNest and look at the mirror instead of the screen.

Method 1: Describe it in iOS 27

If your iPhone runs iOS 27 and supports Apple Intelligence (iPhone 15 Pro or later), the Shortcuts app opens a Describe a Shortcut screen when you tap the plus button to make a new shortcut. You type what you want in plain language and Apple Intelligence assembles the actions. Try this:

Set the media volume to 35 percent, play my Breathing playlist, start a 2-minute timer, append a line with the word Breathe and today's date to my note called Habit Log, then show a notification that says Logged. Two minutes starts now.

The first result may not be quite right. Open the generated shortcut and check that every action is there, in that order, and that Append to Note points at your Habit Log note rather than a new one. Ask for fixes in plain language with Describe a change, or switch to the manual editor and adjust actions yourself. Run it once with the play button before you connect it to the dock. Treat the generated version as a draft, not a finished product.

Method 2: Build it by hand

This works on any iPhone with Shortcuts, and it is also how you fix a generated shortcut that is slightly off. Tap the plus button, name the shortcut "Breathe," and add these actions in order:

  1. Set Volume – 35 percent.
  2. Play Music – choose your breathing track or playlist.
  3. Start Timer – 2 minutes.
  4. Date – leave it on Current Date.
  5. Format Date – custom format EEE, MMM d, so the line reads "Mon, Oct 26."
  6. Append to Note – text Breathe · [Formatted Date], note: Habit Log.
  7. Show Notification – "Logged. Two minutes starts now."

Run it once from the editor. Music playing, timer visible, one new line in the note: the shortcut is ready.

Connect it to a TapNest zone

  1. In Shortcuts, open the Automation tab and tap the plus button.
  2. Choose NFC, tap Scan, and hold the top edge of your iPhone against the center of the zone you want to use.
  3. Name the tag something you will recognize later, such as "Zone 1 – Breathe."
  4. Turn off Ask Before Running so the routine starts without a confirmation prompt.
  5. Choose your Breathe shortcut and finish.

How to test the routine

Do this before you rely on it at bedtime, when you will be least patient with a tap that does nothing.

  1. First tap. With the screen on, bring the top edge of the phone to the zone and hold it still for a moment. You should hear the audio and see the timer. Open Notes and confirm one new line in Habit Log.
  2. Two more taps. Wait for each run to finish. The note should now have three lines, not three notes. If you see new notes, Append to Note is pointing at the wrong target.
  3. The snap. Place the phone on the dock and check that the timer is readable in the mirror without touching the screen.
  4. Clean up. Delete the test lines so day one starts clean.

After a week, open the note. Seven lines means the stack held. Three lines means the cue is fine and the habit is too big; cut it to one minute and keep going. The line count is the tracker, and that is usually all the feedback a new habit needs.

Two more stacks for the other zones

Keep the same shape for each: a cue you already do, one small action, one logged line.

After I wash my face at night, I will write one line. Ask for Input ("What went right today?"), then Append to Note into a note called One Line, with the date. No music on this one; the point is quiet. If a zone already runs your sleep toggle, you can add the input step to the front of that routine instead of using a separate zone.

After I shower, I will stretch for one minute. Set Volume, Open URL to a specific one-minute stretch video, Start Timer for 1 minute, Append to Note "Stretch" with the date. The phone goes on the dock so you follow along hands-free. A morning version with music and a timer is in three NFC shortcuts for your morning routine.

Three zones, three stacks, one note per habit. A fourth habit does not need a fourth tag; it needs one of these three to become automatic first. If you would rather log several habits from one zone, add a Choose from Menu step before Append to Note. A habit-tracking app's own Shortcuts action can replace the note if the app you use provides one; that is up to the app, not to Shortcuts or TapNest.

Troubleshooting and limits

The tap does nothing. Apple's background tag reading runs while the display is on, so wake the screen first. It does not run in Airplane Mode or while the Camera app or Wallet is open, and after a restart the iPhone must be unlocked once before tag reading is active. If the automation asks permission every time, confirm Ask Before Running is off.

It works sometimes. The NFC reader sits near the top edge of the iPhone, so approach the zone with the top edge and hold still rather than swiping past. Thick cases, metal plates, and magnetic wallets between the phone and the zone can block the read. Try without the case to confirm.

The note or audio misbehaves. Append to Note writes to the note you picked when you built the shortcut; if you rename or delete that note, edit the action and select it again. Play Music needs a specific track or playlist selected in the action and available on the phone.

Android. TapNest is built around iPhone Shortcuts and guided iPhone setup. Some NFC-capable Android phones can build routines with their own tools, depending on the device, NFC settings, apps, and operating system, and most need a magnetic ring to dock. Treat it as a do-it-yourself path.

Water. Keep sprays and running water away from the phone, the NFC zones, and the magnetic surface. The dock belongs at the mirror, not in the shower.

Start with one zone

Pick the cue you never miss, attach one two-minute habit to it, and let the note keep score. In a week you will know whether the stack holds, and you will have a spot on the mirror that means "do the thing," which is more than a reminder notification ever managed.

If you want the tap zone and the phone dock in the same place, see TapNest. It gives you three NFC zones on the mirror and a magnetic dock for the phone; your Shortcuts do the rest.

Back to blog
Leave a comment

Please note, comments need to be approved before they are published.