Menu

1 / 2

21 Days to Build a Coding Habit? The Real Study Found 66. Some People Needed 254.

DEV Community: productivity·Spartan Rich·about 10 hours ago
#oFZvVKSR
#devtoproductivity#devto#dev#habit#days
Long article (1234 words) — no AI summary yet.
Reading 0:00
15s threshold

The "21 days to form a habit" rule came from a plastic surgeon watching people get used to their new noses.

Not from a lab. Not from a habit study. From a preface.

I went looking for it because I'd tried the 21-day thing twice with a daily LeetCode habit, and both times I quit somewhere around week four, feeling like I'd failed a test everyone else passes. Turns out the test was made up.

Where 21 came from

In 1960, Maxwell Maltz published Psycho-Cybernetics . In the preface he wrote that "it usually requires a minimum of about 21 days to effect any perceptible change in a mental image." His examples: surgery patients getting used to a new face, the phantom-limb feeling after an amputation, a new house starting to feel like home ( UCL Health Chatter, 2012 ).

Notice the words. Minimum. About. Mental image.

That's getting used to a change. It isn't building a behaviour that runs on its own.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.