Guides · Goals · Atomic Habits
How to build a habit: 7 steps and how long it really takes
You decide to read every day. The first week goes great. The second, not so much. By the third, the book is gathering dust and you have one more piece of proof that you "have no willpower." But the problem is almost never willpower. It's that the habit was too big, too vague and had no set place in your day. Here's how to build a habit that sticks, step by step.
Write a letter to yourself on this page It comes back to you by email in a few months. Free.
How long does it take to form a habit? Not 21 days
The famous "21 days" is a myth that research doesn't back up. The most widely cited study on habit formation was done by Phillippa Lally's team at University College London in 2009. People picked a new daily habit, like eating a piece of fruit with lunch or doing a bit of exercise, and the researchers tracked when it started to happen on its own. The median was about 66 days, but the range was huge: from 18 days to more than eight months.
James Clear draws an important conclusion from this: what counts isn't the number of days, it's the number of repetitions. A habit doesn't form while you wait. It forms while you do it.
How to build a habit in 7 steps
1. Decide who you want to be, not what you want to achieve. "I want to read 20 books" is a goal. "I'm someone who reads" is an identity. Clear writes that every action is a vote for the person you want to become. One page counts as a vote, too.
2. Write down when and where. The formula from the book: "I will [what] at [when] in [where]." For example: "I will read 10 pages at 9:30 p.m. in bed." A vague "I'll read more" loses to every show you could binge instead.
3. Attach the new habit to an old one. The formula: "After [something I already do], I will [new habit]." After I pour my morning coffee, I open my book. After I brush my teeth, I do five squats. The old habit becomes the cue for the new one. Clear calls this habit stacking.
4. Start with two minutes. The two-minute rule: at first, a new habit should take two minutes or less. Not "I run 3 miles," but "I put on my running shoes." Not "I read for an hour," but "I read one page." It sounds silly. The point is to learn to show up first. You can only improve a habit that exists.
5. Set up your surroundings. The book on your pillow, not on the shelf. Your shoes by the door. Fruit on the table, cookies in the cupboard. People with great willpower often just have fewer temptations in plain sight.
6. Pair it with something you enjoy. Clear calls this temptation bundling: your favorite podcast only while you run, your favorite show only on the exercise bike.
7. Mark every win and never miss twice. An X on a calendar or on a printable habit tracker. If you miss a day, that's okay. Clear has one rule: never miss twice in a row. Missing once is an accident. Missing twice is the start of a new habit.
How to build a habit: 5 examples
Reading
When and where: 9:30 p.m., in bed
Attach it to: Brushing your teeth
Two-minute version: One page
Running
When and where: 7:00 a.m., outside your building
Attach it to: Your first cup of coffee
Two-minute version: Putting on your shoes and stepping outside
Waking up early
When and where: 6:30 a.m., alarm clock in another room
Attach it to: Lights out at 10:30 p.m. the night before
Two-minute version: Getting up and opening the blinds
Journaling
When and where: 10:00 p.m., at your desk
Attach it to: Turning off the TV
Two-minute version: One sentence about your day
Drinking water
When and where: With every meal
Attach it to: Filling your plate
Two-minute version: One glass
The most common mistakes when building a habit
- Too much at once. One habit. Add a second one only when the first runs on its own.
- Starting too big. Motivation is high at the start, and that's the trap. Your plan has to work on the days you don't feel like doing anything.
- Waiting for motivation. Clear writes that professionals stick to the schedule, while amateurs wait until they feel inspired.
- All or nothing. One missed day doesn't wreck your week. Only a second one in a row does.
Our take: sometimes it's not the system
Clear writes as if a good system could solve any habit problem. Sometimes it can't. If you can't get yourself to do anything, everything wears you out and nothing brings you joy, it may be exhaustion or depression, not a missing system. Then start with rest and with talking to someone, such as a doctor or a therapist, not with a tracker.
Exercise: a letter about one habit
Pick one habit and write a letter to yourself: who you want to become through it, when and where you'll do it, what you'll attach it to and what the two-minute version looks like. In three months, the letter comes back to your inbox. You'll count your X's and see whether the person you wanted to become is even a little closer.
A side note
You don't have to do a lot every day. You just have to show up every day. The rest comes with time.
See also
- Atomic Habits summary: the 4 laws of behavior change
- Printable habit tracker: a monthly sheet and how to use it
- New Year's resolutions you'll actually keep
- How to stop procrastinating
Updated: November 24, 2026.