What does Habit Curves and the 21-Day Myth conclude, in numbers, about “Where Twenty-One Days Came From: Maltz's Minimum and Lally's Sixty-Six”?

Answer: Chapter 1 traces the 21 days to Maltz's clinical impression of how plastic-surgery patients adjusted their mental image, which he stated as a minimum; the 2010 tracking study of Lally and colleagues found a median of 66 days, with individuals ranging from 18 to 254. In a lognormal rebuilt from its summary, only 0.027 of people arrive within 21 days, and only 0.228 even at the largest spread a later review allows.

Scope of the numbers: Its population parameters, forgetting rates and cue indices are illustrative; all calculations are generated by its programs; it is not medical or psychological advice, nor personalised business advice. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.027, 0.228, 18, 21, 66

sourcesigmaP(T95<=21)P(T95<=21)
median 66median 59
range 18-254, n=390.5930.0270.041
drinking IQR 39-750.4850.0090.017
exercise IQR 44-1180.7310.0590.079
eating IQR 35-1060.8210.0820.104
review 106 / 660.9730.1200.144
review 154 / 591.3850.2040.228
largest 21-day share in the scan: 0.228
even then, odds against 21 days: 3.4 to 1
Show the full program
# Chapter 1. p12: Sensitivity scan. How large could the 21-day share be?
# The log-sd sigma of T95 is not published, so we infer it four ways:
# (a) range 18 to 254 of 39 people (p11); (b) the quartiles of the eating,
# drinking and exercise subgroups in Lally et al. (2010): 35-106, 39-75,
# 44-118 days; (c) the review of Singh et al. (2024), whose medians run
# 59 to 66 days and means 106 to 154 days, read as a lognormal with
# mean / median = exp(sigma^2 / 2). Medians 59 and 66 are both scanned.
# Pairing (c) across studies is the author's assumption (illustrative).
import math
from statistics import NormalDist

Z = NormalDist()
zq = Z.inv_cdf(0.75)
zx = Z.inv_cdf((39 - 0.5) / 39)

cases = [
    ("range 18-254, n=39", math.log(254 / 18) / (2 * zx)),
    ("drinking IQR 39-75", math.log(75 / 39) / (2 * zq)),
    ("exercise IQR 44-118", math.log(118 / 44) / (2 * zq)),
    ("eating IQR 35-106", math.log(106 / 35) / (2 * zq)),
    ("review 106 / 66", math.sqrt(2 * math.log(106 / 66))),
    ("review 154 / 59", math.sqrt(2 * math.log(154 / 59))),
]

print("  source                 sigma   P(T95<=21)        P(T95<=21)")
print("                                 median 66         median 59")
worst = 0.0
for name, s in cases:
    p66 = Z.cdf(math.log(21 / 66) / s)
    p59 = Z.cdf(math.log(21 / 59) / s)
    worst = max(worst, p59)
    print("  %-21s %6.3f   %9.3f   %15.3f" % (name, s, p66, p59))
print("")
print("largest 21-day share in the scan: %.3f" % worst)
print("even then, odds against 21 days: %.1f to 1"
      % ((1 - worst) / worst))

Single source and citation

Fan, Y. (2026). Asymptotic Habit-Formation Curves, Debunking the 21-Day Myth and a Cue-Based Automaticity Index (Version 1.0.0), Chapter 1: Where Twenty-One Days Came From: Maltz's Minimum and Lally's Sixty-Six. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-197 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026197,
  author    = {Fan, Yafu},
  title     = {Asymptotic Habit-Formation Curves, Debunking the 21-Day Myth and a Cue-Based Automaticity Index},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book