Spelling & grammar

Past Perfect Continuous: Formula and Examples

AdeptWrite Editorial TeamUpdated 8 min read

The past perfect continuous is formed with had been + the -ing form (She had been waiting). It shows an action that was in progress for some time before a later past moment, often explaining a visible result. Below are the formula, a timeline, the contrast with the past perfect simple, signal words, common errors and exercises with answers.

The short answer

The past perfect continuous (also called the past perfect progressive) describes an action that had been going on for a period of time before another moment in the past. You build it with had been + verb-ing.

When the bus finally arrived, we had been standing in the rain for an hour.

Two past moments are involved: the bus arriving, and the hour of standing that came before it. The past perfect continuous stresses the duration or the ongoing activity, not just the fact that it was finished.

The formula

FormPatternExample
Affirmativesubject + had been + verb-ingShe had been working since six.
Negativesubject + had not (hadn't) been + verb-ingThey hadn't been paying attention.
QuestionHad + subject + been + verb-ing?Had you been waiting long?
Short answerYes, I had. / No, I hadn't."Had he been sleeping?" "Yes, he had."
Wh- questionWh-word + had + subject + been + verb-ing?How long had they been travelling?

Had is the same for every subject (I, you, he, she, it, we, they). Only the main verb changes, always to its -ing form. The spelling rules for -ing are the usual ones: write becomes writing (drop the e), run becomes running (double the consonant), lie becomes lying.

Contractions

In speech and informal writing, had is shortened to 'd: I'd been waiting, she'd been running. The negative is hadn't been. Avoid contractions in formal academic writing unless your style guide allows them. Be careful: 'd can also stand for would (I'd go means I would go), so the full form had been helps the reader when the meaning is not obvious. The guide to contractions explains the pattern.

A timeline in words

Picture a line from left to right:

  1. Earlier past: the activity begins (we start waiting in the rain).
  2. Duration: the activity continues for a while (an hour passes).
  3. Later past: a second event happens or a time is reached (the bus arrives).
  4. Now: the present moment, after all of this.

The past perfect continuous sits at stage 2. It looks back from stage 3 and describes what was happening during the stretch before it.

When to use the past perfect continuous

1. An action in progress up to a later past moment

Use it when you want to say how long something had been happening before another past event.

  • By the time the manager joined the call, the team had been discussing the budget for forty minutes.
  • She had been studying English for three years before she moved to Toronto.
  • The students had been revising all night when the exam was cancelled.

2. A recent activity that explains a past result

Use it to give the cause of a situation you could see or notice at a past moment.

  • His eyes were red because he had been reading all night.
  • The floor was wet. Someone had been cleaning it.
  • She was out of breath; she had been running for the train.

The activity may be finished, but its effects are visible. This use is the main reason people choose the continuous form rather than the simple one.

3. Reported speech and storytelling

When a speaker's present perfect continuous is reported in the past, it usually shifts to the past perfect continuous:

  • Direct: "I have been waiting for an hour."
  • Reported: She said she had been waiting for an hour.

Narratives also use it to give background to a scene: Mara looked tired. She had been sorting donations since dawn.

Past perfect simple or past perfect continuous?

Both forms look back from a past moment. The difference is the angle.

Past perfect simple (had + past participle)Past perfect continuous (had been + -ing)
FocusCompletion, result, number of timesDuration, activity in progress, cause
ExampleShe had written three reports by noon.She had been writing reports all morning.
Typical questionHow many? What was finished?How long? What was she doing?
VerbsAny verb, including stative verbsAction verbs; not most stative verbs

Compare these pairs:

  • I had painted the room. (The job is complete. The room is now painted.)
  • I had been painting the room. (I was in the middle of the job, or I have paint on my hands.)
  • He had read five chapters. (A count of what is finished.)
  • He had been reading since breakfast. (The length of the activity.)

For the simple form in detail, see our guide to the past perfect tense. For the same idea shifted to the present, see the present perfect continuous. The overview of verb tenses shows how all of them fit together.

Stative verbs usually do not take the continuous

Verbs that describe states rather than actions are rarely used in a continuous form. Typical examples are know, believe, understand, like, love, hate, want, need, own, belong, seem, contain. Use the past perfect simple instead:

  • Wrong: I had been knowing him for years.
  • Right: I had known him for years.
  • Wrong: They had been owning the shop since 2010.
  • Right: They had owned the shop since 2010.

Some verbs have both a stative and an active meaning. Have (possess) is stative, but have (as in have lunch) is active: We had been having lunch when the alarm rang. Think (opinion) is stative; think (consider) is active: She had been thinking about leaving. Verbs of the senses such as feel, look and taste are also flexible. Live, work and wait are active in the ordinary sense and are common in this tense.

Signal words

These words and phrases often appear with the past perfect continuous:

SignalExample
for + periodHe had been driving for six hours.
since + starting pointWe had been waiting since noon.
how longHow long had you been living there?
all day / all morning / all nightThey had been arguing all day.
beforeShe had been training before she injured her knee.
by the timeBy the time I called, he had been sleeping for hours.
until / tillIt had been snowing until midnight.
whenI had been cooking when the lights went out.

For is followed by a length of time (for two weeks); since is followed by a point in time (since March). In the past perfect continuous, both refer to a time before the later past moment, not to now.

Common errors to avoid

  1. Forgetting been. Wrong: She had working all night. Right: She had been working all night.
  2. Using the base form instead of -ing. Wrong: They had been wait for hours. Right: They had been waiting for hours.
  3. Using it with stative verbs. Wrong: I had been wanting a new phone. Right: I had wanted a new phone.
  4. Choosing it when the order of events is already clear. After she left, I made tea is fine without any perfect tense. Do not add had been just to sound advanced.
  5. Mixing it with the present perfect continuous. If the connection is to now, use has been / have been: I have been waiting for an hour (and I am still waiting). If the connection is to a past moment, use had been.
  6. Using would in place of had. I'd been means I had been, never I would been.
  7. Writing had been with a completed single event. Wrong: The train had been arriving at 9. Right: The train had arrived at 9. An arrival is a point, not a stretch of activity.

Exercises

Choose the best form: past perfect simple or past perfect continuous.

  1. By midnight, she (finish / had finished / had been finishing) all her emails.
  2. The ground was muddy because it (rained / had been raining / had rained) for days.
  3. How long (you / had you been / had you) waiting when the doctor called your name?
  4. He (didn't know / hadn't been knowing / hadn't known) about the meeting until Friday.
  5. Her hands were covered in flour. She (baked / had been baking / had baked) bread.
  6. They (had been living / lived / had lived) in Leeds for eight years before they bought a house.

Answers

  1. had finished. All her emails gives a completed result, so the simple form fits.
  2. had been raining. A continuing activity explains the muddy ground.
  3. had you been waiting. The question asks about duration.
  4. hadn't known. Know is a stative verb.
  5. had been baking. The activity explains the flour. (Had baked is also possible if you only report that the baking is complete.)
  6. had been living or had lived. Both are possible with for eight years; the continuous form stresses the ongoing, temporary feeling of the period, while the simple form states the fact.

Using AdeptWrite tools

If you are checking a draft or an assignment, paste it into the Grammar Checker. It can point out a missing been, a base form where -ing is needed, or a tense that does not match the surrounding sentences, and it highlights each change so you decide what to accept. The Spell Checker catches slips in the -ing spellings, such as runing or writting. If a sentence with several tenses sounds clumsy, the Sentence Rewriter can suggest a clearer structure. These tools offer suggestions and can miss context, so always read the result against what you mean.

Try the tools

Grammar Checker
Fix grammar, spelling and punctuation in English and other languages, with every change highlighted.
Open tool
Spell Checker
Catch typos and common misspellings in American or British English, with suggestions, checked right in your browser.
Open tool
Sentence Rewriter
Fix stiff, awkward or convoluted sentences.
Open tool
Tone Changer
Switch tone: formal for letters, casual for chat.
Open tool

Frequently asked questions

What is the formula for the past perfect continuous?

Use had been plus the -ing form of the verb: subject + had been + verb-ing. For example, "She had been working." The negative is hadn't been working, and the question is "Had she been working?" The form of had never changes.

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

The past perfect simple (had finished) focuses on completion or result. The past perfect continuous (had been finishing) focuses on duration or an activity in progress, often to explain a situation. Compare "She had written the report" with "She had been writing for hours."

Can I use stative verbs in the past perfect continuous?

Usually not. Verbs such as know, believe, own, like and want describe states, so use the past perfect simple: "I had known her for years." Some verbs, such as have and think, can be active in certain meanings and then take the continuous form.

Which signal words go with the past perfect continuous?

Common ones are for, since, how long, all day, before, by the time, until and when. For example: "They had been waiting since noon." Signal words help, but the meaning matters more: use the form when you want to stress an ongoing activity before a past moment.

All guides