Past Perfect Progressive

Core rule. The past perfect progressive looks back from a past point and highlights an activity that had continued, repeated, or recently stopped before that point.

When to use it

Duration before a past point
They had been travelling for six hours when they stopped.
Cause of a past result
The ground was wet because it had been raining.
Repeated activity before a change
She had been applying for jobs before she accepted that offer.

Sentence patterns

Formsubject + had been + verb-ing

FormPatternExample
AffirmativeS + had been + V-ingI had been waiting for an hour.
NegativeS + had not been + V-ingHe had not been feeling well.
QuestionHad + S + been + V-ing?Had they been arguing?
Duration... + since/forWe had been living there since May.

Compare the meaning

Past perfect progressive

Meaning Focus on duration/activity

Example She had been writing all morning.

Past perfect simple

Meaning Focus on result/quantity

Example She had written six pages.

Common mistakes

Include been

Incorrect She had working all morning.

Correct She had been working all morning.

Why. The past perfect progressive needs had been before the -ing form.

Stative meanings

Incorrect They had been knowing each other for years.

Correct They had known each other for years.

Why. Most stative meanings take the simple form, including know here.

Nuance and natural usage

Past reference point
Provide or imply a later past reference point; otherwise the present perfect progressive may be appropriate.
Continuing or finished
The activity may have continued beyond the reference point or stopped shortly before it; context decides.
Duration and completion
This tense is useful when duration explains a past condition, but it should not replace the simple form when completion is the main point.