English grammar

Past perfect continuous tense: formula and uses

The past perfect continuous shows how long an action had been going on before a moment in the past. Its form is had been + verb-ing for every subject: "When I arrived, she had been waiting for an hour." It is also used to explain a past result: "The ground was wet because it had been raining."

Example

Duration before a past moment

  • We had been driving for six hours when the car broke down.
  • He was tired because he had been working all night.
  • How long had you been living there before you moved?
Try the exercise
  • Rules and examples
  • Exercise with answers
  • Free to read

Past perfect continuous formula

The form doesn't change for he, she or it. Had and been stay the same; only the main verb changes.

FormPatternExample
Positivehad been + verb-ingShe had (she'd) been studying.
Negativehad not (hadn't) been + verb-ingShe hadn't been studying.
QuestionHad + subject + been + verb-ing?Had she been studying?
How long questionHow long had + subject + been + verb-ing?How long had she been studying?

When to use it

Duration up to a past moment: "By the time the doctor came, we had been waiting for three hours." Use it with for, since, how long and all day.

The cause of a past situation: "His clothes were dirty because he had been playing football."

A past activity that stopped just before another past event: "I had been reading when the power went off."

Stative verbs such as know, believe and own take the past perfect instead: "They had known each other since childhood."

Past perfect or past perfect continuous?

The past perfect focuses on a completed result or amount. The continuous form focuses on the activity and how long it lasted.

Past perfectPast perfect continuous
"She had written three reports by noon." (amount done)"She had been writing reports all morning." (activity, duration)
"I had painted the room." (finished)"I had been painting, so my hands were covered in paint." (activity, side effect)
"I had known him for years." (state verb)Not used with state verbs

Common mistakes

  • Wrong: I was waiting for two hours when the bus finally came.

    Right: I had been waiting for two hours when the bus finally came.

    A duration up to a past moment needs had been + -ing.

  • Wrong: They had been knowing each other for years.

    Right: They had known each other for years.

    Know is a stative verb, so use the past perfect.

  • Wrong: She had been work there since 2015.

    Right: She had been working there since 2015.

    After had been, the main verb takes -ing.

Using this in IELTS and PTE

This tense is not common in IELTS Writing or PTE Write Essay, and there is no need to force it in. It fits best in IELTS Speaking Part 2 stories, to explain why something happened: "I was exhausted because I had been revising all week." Use it accurately once rather than awkwardly several times.

5 questions

Exercise

Try each one, then open it to check your answer.

  1. 1. Complete this: "She ___ (run), so she was out of breath."

    had been running

    A past result (out of breath) is explained by an earlier activity.

  2. 2. Make this negative: "They had been listening carefully."

    They hadn't been listening carefully.

    Not goes after had.

  3. 3. Choose: "By 5 p.m., I had (cooked / been cooking) four dishes."

    cooked

    A number of completed dishes takes the past perfect simple.

  4. 4. Form a question: how long / they / wait / when the doors opened?

    How long had they been waiting when the doors opened?

    It asks about duration before a past moment.

  5. 5. Correct this: "He had been owning the shop for decades before he sold it."

    He had owned the shop for decades before he sold it.

    Own is a stative verb.

Frequently asked questions

What is the difference between the past perfect and past perfect continuous?+

The past perfect shows a completed action or amount before a past time. The continuous form stresses the activity and how long it had been going on.

What is the difference from the present perfect continuous?+

The present perfect continuous measures duration up to now ("I have been waiting for an hour"). The past perfect continuous measures duration up to a past moment ("I had been waiting for an hour when she arrived").

What is the formula of the past perfect continuous tense?+

Subject + had been + verb-ing, the same for every subject.

Keep going

More grammar lessons

© 2026 BandLadder. Written and checked by the BandLadder team. You may quote or cite this page with credit to BandLadder and a link to it; republishing it in full needs our written permission. Content use policy