In one sentence
Use the past perfect continuous (had been + -ing) for an activity that continued for a while before another moment or action in the past.
Tip: I had been waiting for an hour when the bus finally came. — the waiting started earlier and continued until the bus came.
The form
| Form | Example | |
|---|---|---|
| Positive | subject + had been + -ing | She had been studying for three hours. |
| Negative | subject + hadn't been + -ing | They hadn't been sleeping well. |
| Question | Had + subject + been + -ing? | Had you been waiting long? |
| How long | for + period · since + point in time | …for twenty minutes / since 8 a.m. |
Compare: present perfect continuous = up to now (I've been working all day.) · past perfect continuous = up to a moment in the past (I'd been working all day, so I was tired.)
When to use it
- How long before a past moment — When Leo arrived, Mia had been waiting for 40 minutes.
- Explaining a past result — His eyes were red because he had been crying.
- With a past simple action that interrupts — We had been driving for hours when the car broke down.
- Not with state verbs — know, like, own, believe → use past perfect simple: I had known her for years. (not
had been knowing)
Tip: Past perfect simple focuses on a finished result or number (She had written three emails); past perfect continuous focuses on the activity and its duration (She had been writing emails all morning).
Examples with Leo & Mia
- Leo: Why were you so tired at the party?
- Mia: I'd been working on my presentation since six in the morning.
- Leo: No wonder! And the floor was wet when I got there — had it been raining?
- Mia: Yes, it had been raining all afternoon.
Common mistakes
- ❌ I had been knowing him for ten years. → ✅ I had known him for ten years. — state verb.
- ❌ She had being working. → ✅ She had been working.
- ❌ When I arrived, they waited for two hours. → ✅ …they had been waiting for two hours.
- ❌ He was out of breath because he has been running. → ✅ …because he had been running. — past story → past perfect.
- ❌ We had been visiting five museums. (a number of completed things) → ✅ We had visited five museums.