The Complete Psychology of Habits: How to Form Habits that Stick

Benyamin Elias
Ascent Publication
Published in
19 min readFeb 23, 2017

--

“Man, I can’t wait to finish this workout so I can get home and eat dinner.”

I think that often in the hour-long trip from work to the gym. Lunch was six hours ago by the time I get to the locker room, and it’s going to take me two more hours to work out, sauna, shower, and walk home.

At first, it might seem like I’m complaining, or like the workout is a chore. But take a closer look; the statement is important because of what it isn’t.

It could very easily be “I’m tired and hungry. I’m just going to go straight home.”

For the most part I love working out, and being fit feels amazing. But like anyone, there are days I feel tired, hungry, grumpy, and generally lazy.

And I still work out on those days.

Here’s that first statement again: “I can’t wait to finish this workout so I can get home and eat dinner.” Even though it can seem like a complaint, it assumes that I’ll be working out. The idea of skipping the workout never even enters my mind.

Because working out is my habit.

“Excellence is not an act, but a habit.” — Aristotle

I’m very vocal about my dislike for the idea of “just do it” and the exercise industry idea that exercise has to suck.

Whether your habit formation is focused on exercise or anything else (business, writing, friendships, relationships etc.), excellence and success are really just the result of your deeply ingrained habits.

You don’t need to lift for 4 hours or write 200 pages every day. If you want to use habits to change your life your ability to always do something, even something small, will move you forward.

In order to develop habits, it’s important that you understand what they actually are. And what they are not. Habits are not just “something you do every day.”

When most people think of a habit, they think “something you do everyday.” If you were trying to start an exercise “habit,” you might set the goal of doing a certain number of sets/reps, running a certain distance, or exercising for a certain amount of time each day.

If you were trying to start a writing habit you might target a certain number of pages or words per day. If you were trying to network more you might send a target number of emails per day.

It’s true that habits are frequently recurring behaviors, and an “X per day” approach isn’t automatically bad, but just doing something regularly is not enough form an actual habit.

Because that isn’t how the psychology of habits works.

Do you ever feel like you have to “make yourself” do something? Do you ever put off your daily activity until later in the day, even if you do eventually get it done? That’s how you know you don’t actually have a habit — you have an obligation.

So what is a habit?

If you want to know how to form habits, you need to understand what they are. That means understanding the psychology of habits, knowing how habits are formed.

I know I risk sounding like an annoying teacher on the first day of class (e.g. “what is history?”), so if you want to skip to the end of this section go right ahead. I’ll keep it brief.

I’ll promise I won’t do this.

One of the most popular studies on the psychology of habits [1] found that it takes an average of 66 days to form a habit (more on this later). In an interview with UCL News, the researchers of that study defined habits:

“Habits are behaviours which are performed automatically because they have been performed frequently in the past. This repetition creates a mental association between the situation (cue) and action (behaviour) which means that when the cue is encountered the behaviour is performed automatically. Automaticity has a number of components, one of which is lack of thought.”

The researchers agree that habits are actions you do a lot, which is where the idea that a habit is something you do every day comes from.

But notice the other factors that need to be present. Repetition creates a connection between the situation and the behavior.

Under this definition, you don’t necessarily need to do something every day for it to become a habit. Whenever you find yourself in a specific situation, you find yourself automatically doing specific actions. That’s a habit.

When I exercise after work, the thought of not going to the gym never enters my mind. The situation and frequency of the action makes it automatic. That’s why my thought is “I can’t wait to finish this workout so I can get home and eat dinner.”

Essentially, there are a few boxes to check before you can call something a habit. To be a habit, an action needs to:

  • Occur regularly
  • Be cued by a situation or something in your environment
  • Occur without thought.

In his book The Power of Habit, Charles Duhigg summarizes a lot of the literature on habit formation into a similar set of steps. In Duhigg’s model, a habit has three components:

  1. A Cue
  2. An Action
  3. A Reward

With that understanding of how habits are formed, it’s easy to see how doing X number of push-ups per day isn’t actually that productive on its own. If you can instead set up your environment to make doing those push-ups automatic, you’ll be much more successful.

To give a one sentence definition of a habit: a habit is an action you do frequently and automatically in response to something in your environment.

With that definition, we can create an environment that triggers and rewards our habits.

I think this model is useful, so I’ll use it as the framework to guide the rest of this article. We’ll learn about what kind of cues, actions, and rewards are most effective by looking at personal experiences and primary research to answer a question: where do habits come from?

First we need to decide what those habits are.

Choosing the Right Actions: What Habits Lead to Success

Actions are where most people start and stop. Most people decide “ok, I’m going to work out X amount of times per week” or “I’ll write 3 pages per day,” and then go off and try to do those things.

But that isn’t how to form habits that make you successful.

Chances are, you already have an idea of which action you want to turn into a habit. But pause for a moment and look at your larger goal. What is your ideal endpoint? What is the grand vision you are trying to accomplish?

Without the answer to those questions, you won’t be able to figure out what habits lead to success.

Not everyone likes the idea of “goal setting.” A lot of people want to jump right into taking undirected action. Those people are likely going to burn out.

Dilbert creator Scott Adams boldly claims that “losers have goals, winners have systems,” but the key value of goal setting (in the context of building habits) is that your goals tell you which system to create.

Or, as habits expert James Clear puts it:

“If you completely ignored your goals and focused only on your system, would you still get results?”

You don’t want to end up like a human Rube Goldberg machine, spending a whole lot of effort for tiny results.

That’s the reason to come up with clear goals. It’s easy to come up with a random set of actions to accomplish every day; you need to make sure that the set you choose is advancing you in the direction of your ultimate vision.

You need to know what habits make you successful.

Aside from stopping you spinning your wheels and going nowhere, research shows that goals help you achieve more [2] by helping you put in more effort and stay motivated over the long term [3].

Are you trying to build habits to help lose weight? Habits to replace drinking? Habits to help quit smoking? Habits of a thin person? Habits of a fit person? Habits to help you advance your career, or build a business?

Set your sights on a specific goal to figure out what habits lead to success.

Also note, it’s tempting to pick big, sweeping actions when you set out to change a habit. Cool your jets.

You’re just starting. You probably aren’t going to work out 2 hours a day or write 10 pages. You might be able to do 10 push-ups or write a 100 words.

Once the habit is in place, you can scale up. But start small.

Choosing the Cues: How to Form Habits

Every morning I get to the office, drop off my jacket, and head over to the coffee maker. I grab the (black) coffee, sit down, lean back (my chair reclines), and get to work.

I don’t make the decision to drink coffee every morning. Instead, because of my environment and the cues around me, I do it automatically.

In this example, there are actually a few different cues that guide my behavior. The first cue is walking in the door of the office, but on its own this isn’t enough to trigger the behavior. Otherwise I would have coffee every time I got back from lunch.

It needs to combine with the second cue, time of day, to execute the action.

But wait! There’s actually a third cue. Sometimes I actually don’t get coffee, but I still go through almost the same sequence of steps. On those days I drink water, because there’s a critical third cue missing: tiredness.

Internal states (exhaustion, thirst, hunger, happiness, anger, etc.) can also function as cues. My action, getting coffee, is triggered by the combination of:

  • Entering the office
  • Time of day
  • My own level of exhaustion

As another example, imagine brushing your teeth in the morning. You don’t brush your teeth every time you walk into the bathroom, and you probably don’t brush your teeth in bed just because it’s the morning. In my case, I specifically brush right after getting out of bed for work.

So the cues for brushing are:

  • In the bathroom
  • Morning
  • Just got out of bed

The idea that environmental cues trigger specific responses is a core component of research on the psychology of habits [4,5].

I’ve covered the idea of “chaining” in previous articles, and it applies here as well. In everyday life, we have sequences of behavior that we follow. If we want to add a new behavior, the easiest way is to add it into, or even better directly after, an existing chain.

That’s how habits develop.

Sticking with dental hygiene, one study looked at habit formation in people trying to start flossing [6]. One group was asked to floss immediately before brushing, the other immediately after.

After 8 months, people that flossed after brushing had stronger flossing habits. Having a cue made it easier to remember to floss, and after a while the association between flossing and brushing was forged (and became automatic).

The researchers also found that people with more positive attitudes towards flossing established stronger habits, but I’ll talk more about that in the next section.

Great, so what does all of this mean for actually creating new habits?

If you are trying to create new habits, find or create environmental cues that trigger your new behavior.

Psychologist Robert Cialdini offers one simple way of thinking about these triggers: “if/then…when” statements [7].

These statements provide a simple formula for changing behaviors. You simply pick a trigger (the “if”) and an action (the “then”). Examples might be:

  • If I brush my teeth, then I will floss
  • If it is Wednesday after work, I will ride the bus two extra stops to the gym
  • If someone offers me a dessert, I will say no thank you

Creating these plans in advance makes it easier to follow through on them. The exact cues and actions will be specific to your life, but the “if/then” structure can be quite useful.

When you do this right, working out, writing, reading, and any other habit becomes much easier. In one study on people trying to lose weight, participants described their new habits as “second nature” [8].

It takes a little effort up front, but eventually the habit becomes automatic.

As I’ve hinted at already, some cues are more effective than others. The authors of one review article agree:

“It seems likely however that in the flow of everyday routines, there may be certain points at which it is easier to insert a new behaviour [9].”

They later comment that, as with flossing and brushing, the best time to add a new behavior is immediately after an established sequence of behaviors.

After you work through a chain of behaviors, there is not an obvious “next action.” Because of that, you’re free to add one — to extend the chain.

If I want to start writing in a morning planner, I should do it immediately after I get my morning coffee. If I wanted to start meditating before leaving my apartment, I should do it immediately after my morning bathroom routine (which is what I do).

When I want to work out after work, I do it by following 95% of the steps I take to get home. I ride the same bus, and simply take it 2 stops further to the gym.

You can use your existing habits in the same way. Find chains you already have and tack a new action to the end of them.

Why Habits Are Hard to Change — And How to Change a Habit

The research agrees that habits are automatic actions cued by environments. But what if the environment changes?

A lot of people find it harder to work out on the weekends, even though there is so much more time. Without the structure of existing chains, there’s nothing to cue you to get moving.

Similarly, if you go on vacation, you find that you leave a lot of habits behind. When you move to a new apartment, you have to settle yourself into a new routine because your old one has been uprooted.

Of course, the automatic nature of habits means that if the cue appears again you’ll go right back into your old routine. This is why it only takes a few days to get back into a routine after vacation, and also (to use an extreme example) why environmental cues are a major factor in addiction research and relapses among addicts [10].

That’s why habits are hard to change, but it’s also how to change a habit.

If you want to establish a habit, create environmental cues. If you want to break a habit, remove them.

Choosing the Right Rewards with the Psychology of Habits

Rewards are one idea from habit psychology that have made it into popular culture. Most fitness experts or personalities will recommend rewarding yourselves for your workouts.

Most of them do it wrong.

Rewards have been studied almost to death by behavioral psychologists, and the most common examples of rewards fly in the face of the science.

Giving yourself a reward at the end of a day, week, or month doesn’t work. Most of the time, people talking about “rewarding themselves” are picking rewards that are too large and too infrequent to make a difference.

Not only are big rewards like new clothes, new games, a vacation, or a big night out not effective, they can be actively harmful to developing habits.

A reward is not a prize that you set out to win in the end; it is a quick boost, received immediately after you do something, that makes you feel good about doing it. Somewhere along the line, the way we understand rewards got warped.

The psychology research agrees:

“Extrinsic rewards are likely to facilitate habit formation only where attainment of the reward does not become the goal of performance” [9].

If you are doing an action just for the reward, you are much less likely to follow through. What happens when you reach that reward, and there is no next one? What happens when you decide that being miserable on a daily basis is not worth the reward?

Research on rewards shows that providing rewards that are too large, or for actions you already enjoy, actually makes you less motivated [11].

If you are going to develop an exercise routine, or a writing routine, or any routine that you want to build into your life, you need to actually like it. You will never last long doing things you hate.

The traditional methods of reward do not help you actually like anything. They may even do the opposite; using fitness as an example, if exercise is something you “suffer through” to get a reward, you are not very likely to like exercise.

If you use rewards the right way, to make you like things you’re already doing instead of trying to force yourself to do things you hate, they can be extremely effective.

Good rewards have three key characteristics. They:

  1. Occur immediately after the action
  2. Are actually related to the action
  3. Are small

Good Rewards Occur Immediately After the Action

A reward at the end of the day is not effective. Rewards do not motivate behavior; they reinforce it. To reinforce a behavior, the reward needs to occur immediately.

Put another way, a reward doesn’t help habit formation by giving you something to work towards; it helps you form habits by making you feel good about actions after you do them.

Some non-psychologists have uncovered this truth as well. In the leadership book Turn Your Ship Around, Lieutenant David Marquet argues that recognizing accomplishments is critical:

“Immediate recognition means just that, immediate. Not thirty days. Not thirty minutes. It should be immediate.”

Your brain responds to rewards rapidly, in several ways. The reward systems of the brain include a long list of brain areas related to processing rewards, emotions, risk taking, decision making, movement, and others.

To give you a sense of how complicated these systems are, the cortico-basal ganglia-thalamo-cortical loop is one of the major pathways of the overall reward system.

But, because of the multiple functions of every part of the brain, it also plays a role in Parkinson’s Disease, Huntington’s Disease, ADHD, and OCD. In fact, many drugs for Parkinson’s Disease are specifically aimed at increasing dopamine levels in this loop.

Finally, the brain areas activated by a reward can actually change based on your motivation! I’ll go further into internal and external motivation in a moment, but different areas of the brain activate depending on what drives you to complete an action [12].

The point of all this is: the brain is in many ways complicated.

But it is also, in some ways, simple. When your brain responds to a reward, it does so almost instantaneously. If you are going to associate a reward with an action, the two need to be really close together.

Good Rewards are Related to the Action

This is critical, and something most people miss. Your reward needs to be something you can’t get without doing the action.

If you use a nap as a reward for working out, what’s stopping you from just taking a nap and skipping the gym altogether? If you buy new clothes as a reward for writing or eating well, why can’t you just buy the clothes right now?

When the reward doesn’t have anything to do with the action, you don’t need to actually do the action. What do new clothes have to do with forming habits about…anything?

That, and the action doesn’t become associated with the warm fuzzies you get from the reward. Remember, rewards are useful because they make actions feel good.

The connection between the reward and action doesn’t need to be particularly large either. Is there a coffee shop near your gym? A book store you can browse after workouts? Those are enough for habit formation.

In college, I had friends that would meet up in the athletic building to hang out at night. I scheduled my workouts so that I could lift, then immediately head downstairs. Social time was my reward for lifting.

In a sillier example, I fucking love grape juice. But I never buy it because I know I would go through a bottle of the stuff a day. So when I needed to stretch a ton for physical therapy (something I definitely do not love), I’d follow it up with a shot of grape juice — and that was literally the only time I drank it.

Your rewards will be specific to you. What’s do you enjoy that’s near your gym? How can you reward yourself with things you wouldn’t be able to get otherwise?

Creating relevant rewards will help you stay consistent while developing habits.

Good Rewards are Small

Finally, your reward should be small.

Wait, how does that make sense? Wouldn’t a larger reward make you more motivated to work towards something?

Yes, it would. At least, until you actually receive the reward, at which point your habit will disappear.

Again, rewards shouldn’t be used to motivate behavior. They reinforce it.

What happens when you use rewards to motivate behavior? You disconnect from the actual habit. You can tell yourself that you are just doing it for the reward.

Don’t use these
Use these

In a classic psychological study, Festinger and Carlsmith paid participants to do a boring task, then lie to the next participant and tell them it was entertaining.

The fascinating result is that some participants were paid $20 and some were only paid $1. Participants paid $1 actually liked the task more; in their minds $1 isn’t enough money to buy them into a lie, so they resolved the cognitive dissonance by deciding they like the task.

The participants paid $20 said they just did it for the money. The reward was large enough that it justified the small lie [13].

What does this mean for the psychology of habits? Nearly 50 years later, researchers Ryan and Deci established Self-Determination Theory [14].

At the core of SDT is the difference between extrinsic and intrinsic motivation.

Are you doing something because you like it? You’re intrinsically motivated.

Are you doing something for a reward? You’re extrinsically motivated.

But here’s the kicker: if you get a substantial external reward for doing something that you are already doing because you like it, you start to shift over to external motivation [11].

And you do it less.

If you want exercise, or writing, or strong relationships, or flossing or literally anything to become a long-term habit, you want to stick with intrinsic motivation.

If you are doing things you hate, you won’t be doing them for long. “Forcing yourself” or “suffering through” habits is a recipe for disaster.

That’s why the rewards have to be small. They need to be small enough to avoid shifting your motivation, and just large enough to create an extra boost of good feelings that you associate with your action.

Combine rewards with environmental cues and carefully selected actions, and you have a recipe for strong and successful habits.

Conclusion: How Long Does it Take for Habits to Form?

We’ve covered three steps to creating habits so far:

  1. Identify your goal. This will help you decide on the specific actions that move you in the right direction. Start with small actions.
  2. Create environmental triggers. Connect the actions of your habits to activities you already do regularly.
  3. Use small, regular, related rewards. Don’t motivate yourself with rewards; use them to help you enjoy your habits.

If you manage to complete each of these steps, how long will it take to form a habit?

Google that question and you’ll come up with one of two answers: 21 days or 66 days. Neither answer is correct.

To be honest, I have no idea where the number 21 comes from; exactly three weeks makes it seem like someone pulled it out of thin air.

But 66 days come from the study I cited previously [1]. All signs point to this being a fine study, but there’s a problem; it doesn’t actually say “it takes 66 days to form a habit.”

It says that in this study with this habit with these participants it took an average of 66 days to form a habit.

The real answer, as usual, is that it depends.

It depends on the habit you are creating. It depends on your ability to control your immediate environment. And even then, participants in that study took anywhere from 18 to 254 days to establish their habits.

It may be possible for you to establish a habit in just 18 days, or it may not.

If you focus on choosing the right small actions, building the right environment, and using the right small rewards, the habit you build will be stronger and develop faster.

If you want help putting together your habit-building game plan, I put together a free guide to give you a hand. Just let me know where to send it.

Send me the guide

(You’ll also get the free eBook 51 Motivation Tips, for when you need an extra boost)

References:

[1] Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40, 998–1009.

[2] Zimmerman, B. J., Bandura, A., & Martinez-Pons, M. (1992). Self-motivation for academic attainment: The role of self-efficacy beliefs and personal goal setting. American Educational Research Journal, 29, 663–676.

[3] Locke, E. A. (1996). Motivation through conscious goal setting. Applied and Preventive Psychology, 5, 117–124.

[4] Orbell, S. & Verplanken, B. (2010). The automatic component of habit in health behavior: Habit as cue-contingent automaticity. Health Psychology, 29, 374–383.

[5] Gardner, B. (2012). Habit as automaticity, not frequency. European Health Psychologist, 14, 32–36.

[6] Judah, G., Gardner, B., & Aunger, R. (2013). Forming a flossing habit: an exploratory study of the psychological determinants of habit formation. British Journal of Health Psychology, 18, 338–353.

[7] Cialdini, R. (2016). Pre-suasion. New York, New York: Simon & Schuster.

[8] Lally, P., Wardle, J., & Gardner, B. (2011). Experiences of habit formation: A qualitative study. Psychology, Health & Medicine, 16, 484–489.

[9] Lally, P., & Gardner, B. (2013). Promoting habit formation. Health Psychology Review, 7, 137–158.

[10] Weiss, F., Ciccocioppo, R., Parsons, L. H., Katner, S., Liu, X. I. U., Zorrilla, E. P., … & Richter, R. R. (2001). Compulsive drug‐seeking behavior and relapse. Annals of the New York Academy of Sciences, 937, 1–26.

[11] Ryan, R.M. & Deci, E.L. (2000). Intrinsic and extrinsic motivations: Classic definitions and new directions. Contemporary Educational Psychology, 25, 54–67.

[12] Linke, J., Kirsch, P., King, A. V., Gass, A., Hennerici, M. G., Bongers, A., & Wessa, M. (2010). Motivational orientation modulates the neural response to reward. Neuroimage, 49, 2618–2625.

[13] Festinger, L., & Carlsmith, J. M. (1959). Cognitive consequences of forced compliance. The Journal of Abnormal and Social Psychology, 58, 203.

[14] Ryan, R. M., & Deci, E. L. (2000). Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being. American psychologist, 55, 68.

--

--

Benyamin Elias
Ascent Publication

I teach the psychology of exercise and habits at routineexcellence.com/. Get the free Roadmap to a Fitter You, the system I used to gain 50lbs and then drop 10.