Sub topic 11
Writing a recovery rule for missed days
This chapter assumes you have tried to build a habit before, you know the cue, routine, and reward model, and you are willing to track a behavior for a few weeks. It also assumes you have read the previous chapter on all-or-nothing thinking. That chapter explains why a miss feels like a failure. This chapter gives you a written rule to follow when one happens.
Why you need the rule before you miss
Every habit plan will meet a missed day. Illness, travel, a late work night, and a broken routine all produce misses, and none of them signals a flawed character. The question is what happens on the day after.
Without a plan, you decide in the moment. That is a bad time to decide. You feel guilty or behind, the full version of the habit looks bigger than it did last week, and the easiest move is to wait for a "fresh start" on Monday or the first of the month. A fresh start that never comes is the usual way a plan ends.
A recovery rule is a decision you make in advance, while you are calm, about what you will do after a miss. It turns the day after a miss into a task you already know how to do.
A good recovery rule has four properties:
- It is written down, not remembered.
- It names a specific action, not an attitude such as "get back on track".
- It is smaller than the full habit, so it is easy to start.
- It starts on the very next day, with no waiting period.
What a miss does to a habit
Research on habit formation suggests that missing a single day does not erase progress. In a widely cited study of people building everyday habits, an occasional missed opportunity did not noticeably hurt the long-run growth of automaticity (how automatic the behavior feels). What matters is whether the behavior resumes. A string of misses, though, weakens the link between the cue and the routine because the cue stops producing the behavior.
This gives you a practical dividing line:
| Situation | What it means | What to do |
|---|---|---|
| One missed day | A normal lapse. The cue-routine link is intact. | Resume as usual, or use the minimum version. |
| Two missed days in a row | The lapse is turning into a pattern. | Start the recovery rule right away. |
| A week or more missed | The plan has probably stopped fitting your life. | Run a review and choose keep, shrink, move, or drop. |
The "never miss twice" rule sits on the second row. You accept one miss without drama. You treat the second consecutive miss as the signal that something needs to change.
The parts of a recovery rule
A complete rule answers four questions.
- What counts as a trigger? For example, "any day I did not do the habit" or "two days in a row".
- What is the recovery action? This is usually the minimum version of the habit, done on the next day.
- When does it happen? Use the same cue as the normal habit, so you do not need a new one.
- What happens if the recovery action also fails? This is the escalation step, and it is often skipped.
Here is the habit plan template from earlier in the tutorial, with the recovery fields highlighted by their names.
habit: Daily run
cue: After I pour my morning coffee
full_version: Run 20 minutes
minimum_version: Put on running shoes and walk outside for 2 minutes
environment: Shoes by the front door the night before
reward: Check off the day and drink the coffee outside
if_missed: Do the minimum version the next day
review: Sunday evening, 5 minutesThe if_missed line is the recovery rule. It is short on purpose. It names the action ("do the minimum version"), the timing ("the next day"), and implicitly the cue (the coffee, which is unchanged).
Notice what the rule does not say. It does not say "run twice as long tomorrow" or "make up the missed run". Make-up rules feel responsible, but they raise the cost of returning at the exact moment your motivation is lowest.
Make the rule smaller than the habit
The recovery action should be easier than the normal habit. If the full version is a 20-minute run, the recovery version can be putting on your shoes and walking for two minutes. You can almost always do that, even on a bad day.
The point of the small version is not the exercise. The point is to keep the cue-routine link alive and to keep your identity as "someone who does this" intact. A two-minute walk after a missed day tells you that you came back. It also removes the biggest barrier, which is starting.
Often, once you have started, you will do more. That is allowed. But the rule counts as satisfied at the minimum, so you cannot fail it by being tired.
Avoid the make-up trap
Three common recovery rules cause trouble:
- Double up. "If I miss Monday, I do two sessions on Tuesday." This makes the return harder, and a second miss becomes likely.
- Penalty. "If I miss, I skip dessert." This links the habit with punishment, which weakens the reward you built earlier.
- Restart from zero. "If I miss, the streak resets and I begin again at day 1." This feeds all-or-nothing thinking, because the streak counter says a single miss erased everything.
A better framing is to count totals instead of streaks. "I did the habit 24 of the last 30 days" is a number that a miss reduces slightly. A streak of 24 becomes 0 after one miss, which feels like a disaster even when you are doing well.
Detecting the second miss automatically
If you track your habit in a file or spreadsheet, you can have a script flag the moment a single miss becomes two. The function below checks whether neither of the two days before today appears in your list of completed days.
from datetime import date, timedelta
def missed_twice(done, today):
"""Return True if neither of the two days before today is in done."""
return all(today - timedelta(days=n) not in done for n in (1, 2))
done = {date(2026, 11, 20), date(2026, 11, 21), date(2026, 11, 24)}
print(missed_twice(done, date(2026, 11, 26))) # False: Nov 24 was done
print(missed_twice(done, date(2026, 11, 27))) # True: Nov 25 and 26 were missedRead the two calls closely. On November 26, the previous two days are November 25 and 24. The 24th was done, so the function returns False: you have missed only one day. On November 27, the previous two days are the 26th and 25th. Neither was done, so it returns True, and the recovery rule should start today.
Two edge cases are worth knowing:
- The function looks only at the two days before
today. It does not count today itself. This lets you run it in the morning before you have had a chance to do the habit. - It treats any gap of two days the same way, even if one of them was a planned rest day. If your habit has scheduled days off, add them to the
doneset (or skip them in the check), or the function will raise false alarms.
Where the check fits
A check like this only helps if something prompts you to run it or act on it. You could attach it to your review time, to a calendar reminder, or to a daily message. Whatever you choose, the output should tell you one thing: "start the recovery rule today."
The recovery flow
The following diagram shows how the days after a miss are handled.
The last branch matters. If even the minimum version fails, the problem is probably not a single bad day. The plan itself may be mismatched to your schedule, your energy, or your environment. That points you to the weekly review in the final chapter, where you decide whether to keep, shrink, move, or drop the habit.
Writing your own rule
Use this template and fill in each blank with specifics.
- Trigger: "If I miss one day, I _____. If I miss two days in a row, I _____."
- Action: "The recovery action is ______ (smaller than the full habit)."
- Cue: "I will do it ______ (the same cue as usual)."
- Escalation: "If I miss the recovery action, I ______ (review the plan on my next review day)."
A filled-in example for a daily writing habit:
- If I miss one day, I write as usual the next day. If I miss two days, I switch to the recovery action.
- The recovery action is writing one sentence in my notebook.
- I will do it right after I sit down at my desk with my tea.
- If I miss the recovery action, I put "writing" on the agenda for my Sunday review.
Common errors
- Writing an attitude instead of an action. "Be kind to myself and try again" is a nice sentiment but gives you nothing to do at 7:30 a.m. Pair it with a concrete step.
- Setting the recovery action too large. If you dread it, shrink it again. A rule you avoid is no rule.
- Using a new cue for recovery. Adding a second cue means you now have two things to remember. Reuse the original cue.
- Waiting for a clean start. Starting on a Monday or a new month adds a delay and teaches your brain that missed days are acceptable until a special date.
- Skipping the escalation step. Without a plan for what happens when recovery also fails, a second failure feels like the end.
Check your understanding
Exercise
Your plan says "Run 20 minutes after my coffee," and your recovery rule is "If I miss, run 40 minutes the next day to make up for it." Name two problems with this rule and rewrite it.
Show answer
First, it raises the cost of returning right after a miss, when energy and motivation are lowest, so a second miss becomes more likely. Second, it treats the miss as a debt to repay, which feeds all-or-nothing thinking and can attach guilt to the habit. A better rule: "If I miss one day, I run the normal 20 minutes the next day. If I miss two days in a row, I put on my shoes and walk outside for 2 minutes after my coffee."
Exercise
Using the missed_twice function, your done set contains November 20, 21, and 24, 2026. What does missed_twice(done, date(2026, 11, 25)) return, and why?
Show answer
It returns False. The two days before November 25 are the 24th and the 23rd. The 24th is in the set, so not in done is false for it, and all(...) is therefore false. You missed the 23rd but did the habit on the 24th, so there is only one miss and the recovery rule does not start.
Exercise
You set a minimum version, you missed two days, and you also failed the minimum version on the third day. According to the recovery flow, what should you do next, and what might this suggest about the plan?
Show answer
Move to the review step and decide whether to keep, shrink, move, or drop the habit. Failing even the minimum version suggests the problem is not a single bad day. The cue may not fit your schedule, the minimum may still be too large, or the environment or competing commitments may be blocking the habit.