Open the console

Duplicate Accounts Created During Onboarding

A user who hits a snag mid-signup often just signs up again. Here's how to merge or prevent the checklist progress loss that follows.

Duplicate Accounts Created During Onboarding

A user starts your onboarding checklist, gets interrupted — a typo in their email, a confirmation link that lands in spam, a second tab left open from yesterday — and instead of recovering the first attempt, they sign up again with a slightly different email or through a different auth provider. Now you have two accounts, and the checklist progress from the first one is still sitting there, attached to an identity the user may never come back to.

Why this happens more than it looks like it should

Signup forms are built around the assumption that the person filling them in is doing it for the first time. In practice a meaningful share of "new" signups are retries: the confirmation email didn't arrive fast enough, the OAuth provider bounced back to a blank state, or the user simply forgot they'd already started and typed their email with a typo the second time. None of these are malicious or even unusual — they're what a slightly impatient person does when a flow doesn't give clear feedback.

The checklist doesn't know any of this happened. It just sees a brand-new account with zero steps completed, sitting next to an older account that may have two or three steps done and will quietly age out, unseen, because the user is now using the new one.

Decide what "duplicate" means before you build anything

There are at least three different situations hiding under the same word, and each needs a different response:

  • Same email, failed first attempt. The user never completed verification on account one and is now creating account two with the same email. This is detectable at signup time and is the easiest case to catch.
  • Different email, same person. A work address the first time, a personal one the second. Nothing at the database level links these — you'd need a signal like device fingerprint, IP plus timing, or the user telling you directly.
  • Different auth method, same identity. Google OAuth the first time, email/password the second, no shared identifier at all unless you've captured one (verified phone, matched name plus company domain).

Most teams can only reasonably solve the first case automatically. The other two usually mean a support conversation, not a background job.

The cheap fix: block the retry, don't let it diverge

For the same-email case, the fix is at signup, not after the fact. Before creating a new account record, check whether an unverified account with that email already exists. If it does, resend the verification instead of minting a second row. This single check removes the most common source of orphaned checklist progress, because it never lets a second account exist in the first place.

// pseudocode: signup handler
existing := accounts.findByEmail(email)
if existing != nil && !existing.verified {
    resendVerification(existing)
    return redirectTo("check-your-email")
}
// otherwise proceed with a normal new-account create

This is a few lines, it ships without a migration, and it's the highest-leverage change most products can make this week. See the docs for how step completion is keyed to an account id — the reason this matters is that nothing downstream has to change if you stop the duplicate before it's created.

When the duplicate already exists: merge, don't delete

If two accounts already exist and you've confirmed — through a support ticket, a password reset request, or the user telling you directly — that they're the same person, the checklist side of a merge is usually simpler than the billing or data side. Union the completed-step sets between the two accounts, keep the earliest completion timestamp for any step done on both, and mark the losing account inactive rather than deleting its history outright. Keeping the record instead of deleting it means you can always answer "why does this account show a step from before it existed" if the merge is ever questioned later.

Don't try to automatically detect and merge the second and third case above (different email, different auth method) without a human confirming identity. The cost of silently merging two different people's progress — and possibly their data — is much higher than the cost of a user asking support to combine their accounts manually.

What to measure instead of guessing

We don't have a measured rate for how often this happens in practice — no number here should be treated as typical, because duplicate-signup rates vary enormously by auth method, verification friction, and audience. What's worth instrumenting instead:

  • Count of accounts created with an email domain or verified phone number matching an existing account within a short window (say, 24 hours) — this gives you your own real duplicate-signup rate rather than an industry guess.
  • Count of checklist step completions attached to accounts that were never verified and went inactive — this tells you how much progress is being orphaned today, before you build anything.

Run those two queries before deciding whether this is worth engineering time. If the orphaned-progress number is near zero, the same-email check above is enough and a merge flow is not worth building yet.

Related reading

If you're thinking about identity more broadly, onboarding with SSO and SAML covers the case where identity comes from an external provider instead of a local signup, and what happens to progress after account deletion covers the opposite direction — a user leaving rather than accidentally arriving twice. Try the checklist itself in the live preview to see how step state is keyed to one account id end to end.

Try it on your app