Goal setting6 min read

Implementation Intentions: If-Then Plans That Make You Study

An implementation intention is an if-then plan that links a situation to an action. Here is how to write them for studying, with examples, a template and the research limits.

By , Founder, Amanix Labs

An implementation intention is an if-then plan: "If it is 7:30pm on a weekday and I have eaten, then I will open my editor and do one lesson." You decide the cue and the action ahead of time, so when the moment comes you don't have to negotiate with yourself. This article gives implementation intentions examples for studying and coding, a template, and an honest summary of what the research does and doesn't show.

What the research says (and its limits)

The idea comes from Peter Gollwitzer. In a 2006 meta-analysis, Gollwitzer and Sheeran combined 94 tests with more than 8,000 participants and found that if-then plans had a medium-to-large effect on goal attainment (d = 0.65).

Three limits are worth knowing before you get excited:

  • The meta-analysis covers goals in general, not learning to code in particular, so direct evidence for programming study is thin.
  • An average effect across studies is not a promise for you.
  • A related 2021 meta-analysis of mental contrasting combined with implementation intentions (21 studies, 15,907 participants) found a smaller effect, g = 0.336, and its authors note possible publication bias, so the true effect may be smaller still. That combination is the subject of the WOOP method.

So treat if-then plans as a cheap experiment with decent odds, not a guaranteed fix.

Why an if-then plan helps you start

Most study sessions don't fail in the middle. They fail at the start: you sit down, wonder what to do, check your phone, and the evening is gone. A plain goal ("study 3 times a week") leaves the when, where and what open. An if-then plan closes all three, so starting becomes a response to something that already happened rather than a decision.

That is why it fits people who find starting the hard part. It doesn't make you want to study. It removes the choices around starting.

The format

Write it as one sentence:

If [specific cue], then I will [specific first action].

Good cues are things that already happen reliably: finishing dinner, closing a work laptop, arriving on the train, pouring a coffee. Good actions are small and observable: "open the project and write one failing test," not "work on my app."

Implementation intentions examples for learning

To start sessions

  • If I finish dinner on a weekday, then I will sit at my desk and open the lesson I stopped at.
  • If I close my work laptop, then I will make tea and open my side-project folder before doing anything else.
  • If I get on the train in the morning, then I will spend ten minutes recalling yesterday's notes from memory, then check them.

To protect the session

  • If my phone buzzes while I study, then I will turn it face down and finish the current step first.
  • If I think of something I need to look up, then I will write it in a notes file and keep going, and look it up at the end.
  • If I open a new browser tab for a video, then I will check the official documentation first.

To handle getting stuck

  • If I am stuck on the same bug for 20 minutes, then I will write down what I expected and what happened, and ask for help.
  • If I don't understand a concept after one read, then I will explain it out loud in my own words before searching for another tutorial.

To recover from a missed day

  • If I miss a planned session, then I will do the 10-minute version the next day instead of making it up with a double session.
  • If I feel too tired to code, then I will read one page of the documentation and stop.

The recovery plans matter most. Missing a day is normal. What hurts is the all-or-nothing reaction that follows, and an if-then plan for the miss removes it in advance.

A copyable template

My learning goal: ________________________________

Start plan
  If ______________________ (cue: time, place or event),
  then I will ______________________ (first action, under 5 minutes).

Distraction plan
  If ______________________ (the thing that usually pulls me away),
  then I will ______________________.

Stuck plan
  If ______________________ (stuck for N minutes),
  then I will ______________________.

Miss plan
  If I miss a planned session,
  then I will ______________________ (smallest version I still do).

Fill in one block first. A week later, review it: did the cue actually happen? If the cue is unreliable ("if I feel motivated"), swap it for a real one.

Common mistakes

Vague cues. "If I have time" is not a cue. Use a clock time or an event.

Too many plans. Ten if-then rules become a rulebook you won't read. One to three is plenty.

Big actions. "Then I will study for two hours" fails the same way a plain goal does. Make the action the first five minutes.

Wrong goal. An if-then plan helps you act on a goal; it doesn't choose the goal. If you are not sure what to work on, start with learning goals examples first.

A sample week of if-then plans

Here is how the plans might look for someone with a day job who is learning React with TypeScript in 45-minute sessions. Swap in your own cues.

DayIf (cue)Then (first action)
MonI finish dinnerOpen the project and read the last note I left myself
TueI close my work laptopDo one lesson, then write one sentence about it
Wed(rest day)Nothing planned, on purpose
ThuI finish dinnerWrite one failing test, then make it pass
SatI finish breakfast45 minutes on the project, and push one commit

The rest day is part of the plan. It makes the other four easier to keep, and it means a missed Tuesday can slide into Wednesday without breaking anything.

How to tell whether a plan is working

Give each plan a week and ask three questions. Did the cue happen? If not, it was a poor cue, so pick a more reliable one. Did you notice the cue and still skip? Then the action is probably too big, so shrink it to two minutes. Did you do the action but drift off after the first step? That is fine for now. Starting was the job of the if-then plan, and keeping going is a separate problem, which you can tackle with a timer or a smaller task list.

Keep a short log of what you changed. Something like "Week 1: cue was 'after dinner', skipped 3 of 5, changed to 'when I sit on the sofa after washing up'." After three or four weeks you will have a set of plans fitted to your actual life, which is worth more than any list of examples from an article.

Link it to your week

If-then plans work best when they match a real schedule. Decide which days and time slots you can hold, then attach your cue to them. The study schedule for working adults walks through building that week, and how to study consistently covers what to do when motivation drops anyway.

Where GoalZen fits

The "when" of an if-then plan can become a reminder. In GoalZen you can make a task repeat and give it a reminder time, so "weekdays at 7:30pm: open the lesson I stopped at" arrives as a push reminder. Start free: the Free plan stays free, and Pro is on sale on this page.

Frequently asked questions

What is an implementation intention?

It is a plan in the form 'If situation X happens, then I will do Y.' It links a specific cue, like a time or place, to a specific action, so you don't have to decide in the moment.

How is an implementation intention different from a goal?

A goal says what you want, such as finishing a course. An implementation intention says when and where you will act on it, such as 'After I wash up on weekdays, I will do one lesson at my desk.'

Do if-then plans work for studying and learning to code?

Across many studies, if-then plans improved goal attainment on average. That research covers goals in general, so there is less direct evidence for coding. They are cheap to try, and you can check whether they work for you.

How many if-then plans should I make?

Start with one to three. Each one should be tiny and specific, and linked to a cue that already happens in your day.

Sources

  1. Gollwitzer & Sheeran (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69-119.
  2. Wang et al. (2021). A meta-analysis of the effects of mental contrasting with implementation intentions on goal attainment. Frontiers in Psychology, 12, 565202.
GoalZen Pro

Pro is on sale. Founding members pay $11/mo for as long as they stay subscribed.

The first 200 people across GoalZen and NestMarks to subscribe keep $11 a month or $110 a year; after that it's $13 a month. Any payment back in full within 14 days, and the Free plan stays free.

Your next action can be smaller

Open the app tomorrow morning and see one thing to start with.

Works in Edge, Brave and Opera via the Chrome Web Store.