Quick Answer: A family 2FA code is a shared time-based one-time password (TOTP, RFC 6238) that every relative scans into their authenticator app. It changes every 30 seconds, so you use it as a rotating family password: one person reads the first three digits, the other reads the last three, and both verify. It blocks most impersonation calls, but not a stolen phone, a coerced relative, or a relay sitting in the middle.

“Hi mum, I've broken my phone. This is my new number. Can you save it?” If that message makes your stomach drop, you already understand the scam. A stranger in a call centre impersonates your child and walks you toward a bank transfer. A family password could stop them, but passwords get overheard, forgotten, or typed into the wrong group chat. Terence Eden's original post suggests a better tool: a family 2FA code built from the rotating codes already on your phone. Here's how it works, how to set one up, and where it fails.

Why a Rotating Code Beats a Family Password

A static password has one fatal property: once it's known, it's known for good. Your nephew mentions it at a barbecue, someone overhears, and the lock is broken until somebody notices. A rotating code expires every 30 seconds, so anyone who captures it has a short window to use it.

Here's the counter-intuitive part. Calling this “two-factor authentication” is a stretch. The shared secret behind the code is a knowledge factor, the same kind as a password. What makes it stronger is that the secret never gets spoken aloud. Only the derived six-digit value does, and only briefly. Think of it as a password that rotates itself. That's a big upgrade, but it isn't magic.

The maths is simple. A six-digit TOTP code gives a random guess a one-in-a-million chance of success. Split into two three-digit halves, as the scheme does, each half gives an attacker one chance in a thousand per attempt. That's the number you're trading against when you read codes aloud.

Set Up the Shared Code in Five Steps

The setup takes about ten minutes, but the order matters. Here's the sequence I'd follow:

  1. Gather everyone around one laptop, not separate phones. The QR code is the secret, so anyone who photographs it can generate your codes forever. Treat it like a password.
  2. Open the Family TOTP QR Generator. Eden says it runs in your browser and sends nothing to a server. Check that yourself: the project is on Codeberg, so you can read the source.
  3. Have each person scan the code into their normal authenticator app, such as Google Authenticator, Microsoft Authenticator, or the open-source Aegis on Android.
  4. Compare the six-digit value on every screen. If one differs, the secret or the time settings are wrong. Fix that before you rely on it.
  5. Close the browser tab, delete any screenshots, and keep the QR code out of group chats. Some authenticator apps sync to cloud backups, so check where your family's codes are stored.

That said, the setup is the easy part. The habit is where families fail.

The Split-Code Check, Step by Step

The verification works like a call-and-response. Suppose Alice gets a call from someone claiming to be Bob:

Bob: It's me! Bob! Alice: What are the first three digits of the family code? Bob: 867. Alice: That's correct. Now give me the last three. Bob: 309. Alice: Thanks, Bob. Verified.

Notice two design choices. First, you don't wait for the code to roll over. Waiting costs time, and the whole point is a check you can run mid-call. Second, the check runs in both directions. A scammer can simply say “yes, that's correct” without knowing the code. Requiring each side to produce half the code forces both parties to prove something.

Here's where most guides go wrong: they stop at the protocol and skip the human part. Say the check out loud, every time, even when you're sure. A real relative will shrug. A scammer will stall, change the subject, or claim a dead battery.

Where the System Breaks: Five Failure Modes

The code verifies a device or a secret, not a person's free will. Five failure modes matter:

  • Compromised device: A stolen, unlocked, or hacked phone shows the correct code. You verified the phone, not the person holding it.
  • Coercion: A relative under threat reads the correct code. You verified the person, but not their situation.
  • Interception: A man-in-the-middle relays each half between you in real time. Both sides think they're talking to family. This is the failure most families underestimate.
  • Impersonation: One code shared by many people means any member can pass as another. A brother can pass as a sister.
  • Drift: Clocks disagree, and a valid code gets rejected. I cover this below.

The table below shows what the family code actually buys you in common scenarios:

ScenarioDoes the family code help?What to add
Scammer calls from a “new number”Yes, if they can't produce the codeRefuse any payment request until the check passes
Stolen, unlocked phoneNoStrong device lock, biometrics, and a separate authenticator for banking
Relative under threatNoAgree a duress phrase, or call a second relative
Live relay between two peoplePartly, because relays pass codes in real timeAsk an unpredictable question only the real person can answer
Voice or video deepfakeYes, if the attacker lacks the codeDemand the code even on video calls

Here's the catch: the deepfake row looks reassuring, but it only holds if the secret stays secret. Every device that holds the code is a potential leak.

Drift, Code Length, and the Trade-Off You'll Actually Face

Most phones keep reasonable time because they sync to network time servers, so drift is usually small. When it isn't, a valid code gets rejected. Many validators accept the code from one 30-second step either side of the current time, which keeps things working when clocks wobble a little.

The generator also offers 5- or 10-minute codes, and that's where the trade-off bites. Longer periods tolerate drift better, but a relayed code stays valid long enough to be passed across a phone call. Some apps reject non-30-second periods entirely, so test every device before you trust the setup.

My recommendation: stick with 30 seconds unless one family member's phone genuinely can't stay in sync. The tighter window makes relay attacks harder. Test the setup once a quarter, not just on day one.

Is It Worth It for Your Family?

AI voice cloning changed the threat model. How sure are you that you'd recognise your daughter's voice over a crackly line? Would you still trust a video call if the face and voice both looked right?

This isn't hypothetical. In early 2024, an employee at engineering firm Arup was widely reported to have transferred around HK$200 million, roughly US$25 million, after a video call in which deepfaked colleagues appeared. The lesson for families is simple: a face and a voice are no longer proof of identity.

The family code won't catch everything, and that's fine. Use it for the moments that matter: new numbers, payment requests, urgent money, and anything touching bank details. Practise with elderly parents and younger kids until the check feels normal rather than paranoid. If a family member genuinely loses their phone, you'll need a fallback, which I cover in the FAQ.

Frequently Asked Questions

What is a family 2FA code?

A family 2FA code is a single TOTP secret shared by several relatives, each of whom adds it to an authenticator app. Everyone sees the same six-digit value, which changes every 30 seconds. You use it to confirm that the person on the other end has the same secret. It's really a rotating shared password rather than true two-factor authentication.

How do you set up a family 2FA code?

Generate one QR code with a trusted TOTP generator, such as the browser-based Family TOTP QR Generator, while everyone is in the same room. Have each person scan it into their authenticator app, then confirm every screen shows the same six digits. Delete the screenshot and keep the QR code out of group chats.

Why is a family code better than a family password?

A static password stays valid until someone changes it, so one overheard word can unlock everything. A TOTP value expires every 30 seconds, so a captured code is useful only briefly. The two-way check also helps, because a scammer can't simply confirm you're right without knowing the code. It doesn't stop a stolen unlocked phone or a coerced relative.

What if a family member loses their phone?

Don't rely on the code to verify them. Use a second channel you already trust, such as a call to a known landline, a video call with an in-joke only you share, or an in-person question. Then re-enrol their new device by scanning the family QR code from your secure copy.

Set Up a Family 2FA Code This Weekend

The most useful takeaway is simple: a family 2FA code only works if you actually use it. Set one up this weekend, run one split-code check with your parents or kids, and note how long it takes and what felt awkward. That awkwardness is the habit forming. Pass this along to anyone who has ever received a “new number” message from their child.