The Past Perfect Continuous (also known as the Past Perfect Progressive) is the "storyteller’s" tense. It describes an action that was ongoing in the past right up until another point or event interrupted it.
Think of it as the past version of "I have been doing."
1. The Formula
To build this tense, you need three ingredients: the auxiliary verb had, the past participle been, and the verb + -ing.
| Sentence Type | Structure | Example |
| Affirmative | Subject + had been + V-ing | They had been running. |
| Negative | Subject + had not (hadn't) been + V-ing | I hadn't been sleeping well. |
| Question | Had + subject + been + V-ing? | Had you been waiting long? |
2. When to Use It
We use this tense to emphasize the duration or the process of an action before something else happened.
A. Duration Before a Past Event
It shows how long an action had been happening before another point in the past.
"He had been driving for six hours before he finally saw a gas station."
B. Cause of a Past Result
It’s used to explain the reason for a state or situation in the past.
"The ground was wet because it had been raining all night." (The rain might have stopped, but the evidence was still there).
3. Past Continuous vs. Past Perfect Continuous
The difference is all about the timeline.
Past Continuous: Focuses on an action happening at a specific moment.
"I was working when you called."
Past Perfect Continuous: Focuses on the "how long" leading up to that moment.
"I had been working for ten hours when you called."
4. The Golden Rule: Stative Verbs
Just like other continuous tenses, you generally cannot use the Past Perfect Continuous with "stative" verbs (verbs of thinking, feeling, or owning).
Incorrect: I had been belonging to that club for years.
Correct: I had belonged to that club for years. (Use Past Perfect Simple instead).
Pro Tip: If you want to sound more natural in casual speech, use the contraction 'd.
"I**'d** been waiting..."
"She**'d** been practicing..."