The core idea — a repeated activity that had become part of someone's life
Think about a time when your life changed significantly. You moved to a new city, you got injured, you changed jobs, you started a new relationship. Before that change, you had been doing certain things regularly — going to a particular gym, taking a certain route to work, meeting the same group of friends every Friday. Those repeated, habitual activities were part of your daily or weekly routine up until the point when something changed.
The Past Perfect Continuous is perfect for describing those kinds of habitual or repeated past activities. It doesn't just say he went to the gym (a single event) — it says he had been going to the gym every day, communicating that this was a sustained, repeated pattern over a period of time before something in the past brought it to an end or interrupted it.
What makes this use different from Lesson 1?
In Lesson 1, we looked at continuous events — a single unbroken activity that lasted for a stretch of time (she had been running for two hours). In this lesson, the action is repeated rather than unbroken. The student had been going to the gym — not continuously, but regularly, again and again, as a habit. The key is that the repetition itself had been going on over a period of time.
Lesson 1 — One continuous activity
She had been running for two hours when she stopped.(One unbroken activity lasting two hours.)
Lesson 2 — Repeated habitual activity
She had been running every morning before the injury stopped her.(A repeated habit carried out over a long period.)
The grammar is identical — had been + -ing — but the meaning shifts. Context and time expressions like every day, regularly, for years signal that we are talking about a habit rather than a single extended event.
The structure
He had been going to the gym every day before the injury.
She had been taking the same bus to work for years before she bought a car.
Negative: Subject + hadn't been + verb-ing
He hadn't been sleeping regularly for months before the diagnosis.
Question: Had + subject + been + verb-ing + ?
How long had she been attending those classes before she quit?
The logic — a habit that existed up to a past turning point
The Past Perfect Continuous habitual always works in relation to a turning point in the past — a moment when the habit ended, changed, or was disrupted. The turning point is usually expressed with the Past Simple or with a prepositional phrase (before the injury, until he moved).
Ask yourself: What had this person been doing regularly, before something changed? That is the habitual Past Perfect Continuous.
Frequency expressions that signal habitual use
These time expressions flag that you are talking about a habit rather than a single ongoing event:
Affirmative examples — the habit that was there
- She had been meditating every morning for two years before she stopped. (regular morning habit)
- He had been taking the same route to work for a decade before the road closed. (repeated daily route)
- They had been meeting for coffee every Tuesday before one of them moved away. (weekly social habit)
- She had been seeing the same therapist every fortnight for three years before she felt ready to stop. (regular appointments)
- The company had been holding its annual conference in that hotel for fifteen years before the venue closed. (yearly recurring event)
Negative examples — the habit that was absent
The negative form shows that a healthy or expected habit had not been maintained — which often explains a problem, decline, or change at the reference point.
- He hadn't been eating regularly for weeks, which is why he felt so weak. (absence of a regular eating habit)
- She hadn't been attending her lectures regularly, so she failed the exam. (absence of a study habit)
- They hadn't been communicating properly for months before the partnership collapsed. (absent communication habit)
- He hadn't been taking his medication consistently, which made the condition worse. (inconsistent medical habit)
- The team hadn't been training together regularly before the tournament, and it showed. (absent team habit)
Common mistakes to watch out for
✗ He used to go to the gym every day before the injury. (grammatically fine, but misses the "up to that point" nuance)
✓ He had been going to the gym every day before the injury stopped him.
Used to is a general past habit with no strong connection to a specific past turning point. The Past Perfect Continuous specifically anchors the habit to a moment in the past when it ended or changed. When the context includes a past turning point (before the injury, until she moved, when the pandemic started), the Past Perfect Continuous is the stronger and more precise choice.
✗ She went to yoga every week before she had her baby.
✓ She had been going to yoga every week before she had her baby.
The Past Simple (she went) describes individual completed events. When you want to emphasise that a repeated activity had been happening regularly over a sustained period before a past turning point, use the Past Perfect Continuous. The continuous form carries the sense of an established, ongoing pattern — not just a series of individual events.
✗ Before moving to London, he would cycling to work. (grammatically wrong)
Before moving to London, he would cycle to work. (grammatically correct, but no duration/pattern emphasis)
✓ Before moving to London, he had been cycling to work every day for three years.
Would + infinitive can express past habits but does not carry information about how long the habit had been going on. The Past Perfect Continuous is the form to use when you want to emphasise the sustained, established nature of the habit and its connection to a specific past turning point.
✗ She had been knowing him for years before they became close friends.
✓ She had known him for years before they became close friends.
Even when describing a long-standing situation (which feels like a sustained habit), stative verbs — know, believe, love, hate, own, need, understand, seem — do not take the continuous form. Use the Past Perfect Simple instead. This rule applies regardless of whether the context is a single event or a repeated habitual situation.