An if-then plan for cravings makes one decision ahead of time so you don't have to make it when the urge is loud. Choose a trigger that keeps coming back. Write the earliest sign of it as the "if". Then write one small action you can actually take at that hour and in that place as the "then". For example: "If I hear the front door close after my late shift, then I will put the kettle on before I take my coat off." Add a backup line for when that isn't enough, practise it once, and check after a week whether it worked.
The plan doesn't have to be clever. It has to be specific enough to use without thinking.
What an if-then plan is, and what the evidence says
Psychologists call this kind of plan an implementation intention. It links a specific situation to a specific response decided in advance. Peter Gollwitzer and Paschal Sheeran's meta-analysis of 94 independent tests found that these plans had a medium-to-large positive effect on reaching goals. The authors suggest two reasons. The chosen situation becomes easier to notice, and the planned response starts more automatically.
Established finding: if-then planning helps with many kinds of goals, including starting an action and protecting a goal from distraction. A much larger 2024 update, covering 642 tests, again found benefits for behaviour, thinking, and emotions, though the size of the benefit varied with the kind of outcome measured.
More modest evidence for substances: a 2020 meta-analysis in Drug and Alcohol Dependence found that implementation intention interventions reduced drinking and smoking, but the effects were small. It found no studies on illicit drugs. A 2022 review in Drug and Alcohol Review found that the plans reduced weekly drinking but did not reduce heavy episodic drinking, and the effects weakened over time.
What that means in practice (editorial view): an if-then plan is worth writing, but it is a support, not a cure. It works best alongside the other things that help, such as changing your environment, getting support from other people, and professional treatment where it's needed. If a plan doesn't hold, that tells you it needs a different cue, a smaller step, or more support. It doesn't mean you lack character.
Step 1: Pick one trigger that actually repeats
If-then plans need a situation you can predict. "When I'm stressed" happens all day, in too many forms to plan for. "Thursday after the team meeting, alone at my desk" is something you can recognise as it starts.
Smokefree.gov groups smoking triggers into emotional, pattern, social, and withdrawal triggers, and says planning ahead for difficult situations can help. The NHS describes stress, situations, and daily routines as common triggers. The same idea works for drinking, betting, scrolling, gaming, and other habits.
If you're not sure which trigger to choose, look back over a week or two of notes first. How to Identify Your Craving Triggers and Difficult Times explains a simple log. Pick the combination that keeps showing up, not the most dramatic event.
A few entries can point you somewhere, but they don't prove a pattern. How many logs you need before a pattern means anything explains how to hold an early pattern loosely.
Choose one trigger to start with. A single plan you actually use is better than five you forget.
Step 2: Write the "if" as the earliest sign you can notice
Most first drafts name the peak of the urge: "If I really want a drink…" By then, attention has narrowed and the habit is already in motion. Move the "if" earlier.
Ask what usually happens before the urge feels strong:
- The time: "If it's 9pm on a Saturday and the match has finished…"
- A place or route: "If I'm walking home past the corner shop…"
- A device action: "If I pick up my phone in bed after the lights are off…"
- A body signal: "If I notice I've skipped dinner and I'm restless…"
- A thought: "If I hear myself say 'just this once, it's been a week'…"
A good "if" is concrete enough that someone watching could tell when it happened. "If I feel weak" fails that test. "If I open the betting app's home screen" passes.
Step 3: Choose a "then" you can do at that hour
The response should be one action, started within seconds, that fits where you'll be and how much energy you'll have. Going to the gym won't help at 11pm. Calling your sister won't help if she's usually asleep by then.
Test your "then" against four questions:
- Can I start it in under a minute?
- Does it work in this place, at this time, with this much money and privacy?
- Does it put some distance between me and the cue?
- Could I still do it when I'm tired, irritated, or a bit low?
The NHS gives simple smoking examples, such as taking a different route to work or chewing gum or brushing your teeth after a meal instead of smoking. Small actions like these are easy to start, so they make a good "then".
If you're stuck, choosing replacement activities that fit the actual hour goes through matching options to the time of day. When the trigger is the room itself, the most useful "then" may simply be leaving it. See how to leave the room when the cue is the room.
Step 4: Add a second line for when the first one isn't enough
Single-line plans often fail quietly. You make the tea and the urge is still there. Without a next step, you're back to deciding on the spot.
Write a fallback in the same format:
- Plan: If I get home after the late shift, then I'll put the kettle on before taking my coat off.
- Fallback: If I've finished the tea and the urge is still strong, then I'll send my prewritten message to Sam and go for a ten-minute walk without my wallet.
The fallback should put more distance between you and the habit or bring in another person, not just repeat the first action. Some people add a third line that is about safety: "If I feel unsafe or out of control, then I'll call [a named service or person]." For what to do once the urge has already arrived, How to Handle a Craving in the Moment sets out a short sequence.
If your trigger usually arrives when you're exhausted, keep every line shorter. How to make a plan that still works when you are tired has ideas for cutting a plan down to what you can manage when you're worn out.
Step 5: Rehearse it once and put it where the trigger happens
A plan you read once on a calm Sunday is easy to forget by Thursday evening. Make it easier to recall:
- Say it aloud in the exact if-then wording, once or twice.
- Picture it. Imagine the cue happening and yourself doing the first action.
- Put it near the cue, such as a note by the kettle, a line on your phone's lock screen (if that's private enough for you), or a card in your wallet.
- Remove friction so the "then" is easy and the old habit takes a little more effort. Fill the kettle in the morning, or leave your bank card at home.
Hard Bit can support this step without replacing it. The free version keeps a personal sentence that appears in the hard-moment flow, so your "then" or your reason can sit there. With Hard Bit Plus, the app learns your difficult hour from your own logs and can warn you before it arrives. That warning can serve as an early "if". The forecast needs at least five entries before it predicts anything, and it is worked out on your iPhone. The Hard Bit overview explains how this works.
Examples for different habits
These are illustrations to adapt, not prescriptions:
- Vaping with morning coffee: If I pour my first coffee, then I'll drink it standing on the back step with the vape left in a drawer upstairs.
- Betting after a match: If the final whistle goes, then I'll put my phone on charge in the kitchen and start making food. Fallback: if I'm still checking odds, then I'll turn on my bank's gambling block, if it offers one, and text a friend.
- Drinking after work, while cutting down: If I walk through the door on a weekday, then I'll pour a large glass of something cold without alcohol before deciding anything else. If you might be physically dependent on alcohol, read the safety section below before changing how much you drink.
- Late-night scrolling: If I'm in bed and reach for my phone after the lights are off, then I'll put it face down on the far side of the room and open a paper book.
- Gaming past bedtime: If a match ends after 11pm, then I'll save, turn the console off at the wall, and brush my teeth.
Each one names a moment you can notice and an action you can start almost at once.
When an if-then plan isn't enough
Some situations need more than a planning sentence.
Alcohol and sedatives: if you may be physically dependent, stopping suddenly can be dangerous. HealthLinkBC advises talking to a doctor ahead of time if you expect cravings when cutting back on or stopping alcohol, tobacco, or drugs. A plan should never replace medical guidance on withdrawal.
Smoking and vaping: general coping ideas help, but official quit services and stop-smoking medicines are the evidence-based support. Your national service, such as NHS Stop Smoking Services or Smokefree.gov, can explain the options.
Gambling: if debt, borrowing, or hiding money is involved, practical barriers such as bank blocks, self-exclusion schemes, and specialist gambling support may matter more than any single plan.
Crisis: if you're in immediate danger, thinking about harming yourself, or worried about severe withdrawal, contact emergency services or a crisis line now.
Our editorial policy explains how we separate general information from medical guidance.
Review the plan after one week
After a week, look at what happened each time the trigger came up:
- Did I notice the "if" in time?
- Did I start the "then"? If not, what got in the way?
- Did the fallback get used, and did it help?
- Did the trigger turn up somewhere or at some time I didn't expect?
Change one thing at a time. You might move the "if" earlier, make the "then" smaller, or make the fallback stronger. If the same slip keeps happening at the same point, how to change the plan after the same slip happens again goes through the adjustments in more detail.
Record slips honestly. A plan that failed on Tuesday tells you something useful for next Tuesday. It isn't a verdict on you.
Frequently asked questions
How many if-then plans should I make?
Start with one, for the trigger that comes up most often. When you use it without having to think about it, add a second. Several new plans at once are hard to remember, and that weakens the main advantage of deciding in advance.
Does an if-then plan work for every craving?
Not reliably. Research supports if-then planning for goals in general, but the effects measured for alcohol and smoking are small, and one review found no effect on heavy episodic drinking. It works best for predictable triggers, combined with changes to your environment and with support.
Should my "then" be something I do or something I avoid?
Choose something you do. "Then I won't drink" leaves a gap with nothing in it. "Then I'll put the kettle on and stand in the garden" gives your hands and attention something to do. Avoidance can still be part of the action, such as leaving the room or putting the device away.
What if I forget the plan when the trigger happens?
That usually means the "if" is too vague or too late, or the plan isn't visible at the right moment. Move the cue earlier, put the plan where the trigger happens, and rehearse it once. Forgetting is a design problem to fix, not a personal failure.
