Detective con una lupa inspeccionando unos zapatos llenos de barro, con huellas de barro hasta la puerta
Verb Tenses

The past perfect continuous in English: had been + -ing, uses and exercises

The past perfect continuous in English: how it is formed (had been + -ing), when it is used, differences from the past perfect simple, the past continuous and the present perfect continuous, common mistakes and 30 exercises.

Table of contents

You get home and the kitchen smells of burning. There is flour on the floor, an apron hanging on the door handle and a frying pan in the sink. Nobody is cooking now, but it is perfectly clear what has happened: Someone had been cooking. You do not know whether they finished or not, or what they made; what matters is the activity and how long it lasted. That is the past perfect continuous (in Spanish, pasado perfecto continuo): the tense for saying what had been going on for a while before another moment in the past.

The name is scary (three words: had been doing), but it is easier than it looks, because you already know its pieces: had (from the past perfect) and been + -ing (from the present perfect continuous). In this guide I explain how it is formed, when it is used, how it differs from the past perfect simple, the past continuous and the present perfect continuous, the typical mistakes, how it helps you in Cambridge exams and how to use it to solve mysteries (and to explain your dark circles). At the end there are thirty practice sentences with answers. Let’s get started! 🙂

Detective with a magnifying glass inspecting a pair of muddy shoes, with muddy footprints leading to the door

The past perfect continuous at a glance

Past perfect continuous
Formhad been + verb + -ing
What it is forTalking about an activity that had been going on for some time before another past moment
ExampleShe had been waiting for two hours when the bus arrived.
Spanish«Llevaba dos horas esperando cuando llegó el autobús» (había estado esperando)
Words that go with itfor, since, how long, all day / morning, when, before, by the time

What the past perfect continuous is

It is the present perfect continuous (I have been working) moved into the past. With the present perfect continuous you look back from now; with the past perfect continuous you look back from a moment in the past. What matters is what had been going on before, for how long, and often the result you can see:

Timeline: I had been waiting for two hours (had been waiting) until the bus arrived

The activity starts before the past moment and goes up to it (or almost). That is why it is perfect for saying «I had been doing something when…».

How the past perfect continuous is formed

The form is always had been + verb with -ing, and had is the same for all persons.

Affirmative, negative and questions

FormStructureExample
Affirmativesubject + had been + -ingShe had been working.
Negativesubject + hadn’t been + -ingShe hadn’t been working.
QuestionHad + subject + been + -ing…?Had she been working?
With a question wordquestion word + had + subject + been + -ing…?How long had she been working?
Short answerYes, she had. / No, she hadn’t.Had you been waiting long? Yes, I had.

Contractions

Full formContraction
I had been waitingI’d been waiting
She had not been sleepingShe hadn’t been sleeping
They had been playingThey’d been playing

As in the past perfect, ‘d can be had or would. If it is followed by been, it is had.

When the past perfect continuous is used

1. The duration of an activity before a past moment

This is the main use. You want to say how long something had been going on before another event:

  • She had been waiting for two hours when the bus finally arrived.
  • We had been trying to open the door for five minutes when Jane found her key.
  • By the time he got the job, he had been looking for work for almost a year.

2. The cause of something you could see in the past

Very useful to explain why there was a visible result:

  • His eyes were red because he had been crying.
  • The ground was wet. It had been raining all night.
  • She was covered in paint: she had been decorating the kitchen.
Exhausted student with dark circles, asleep over books and a huge cup of coffee

3. With «for» and «since» to talk about duration

  • They had been living there for ten years when the factory closed.
  • I had been working since six o’clock, so I was exhausted.

4. In reported speech

When you report what someone said, the present perfect continuous (and the past continuous) of their words step back to the past perfect continuous:

  • «I have been working all day.» → She said she had been working all day.
  • «I was waiting for you.» → He told me he had been waiting for me.

I cover it in depth in my guide to reported speech.

5. To tell stories

In a narrative, the past perfect continuous gives the long background of what had been going on before the scene begins:

It was midnight. Anna was still awake. She had been reading since dinner, and she hadn’t noticed that the storm had started.

Words and expressions that go with the past perfect continuous

WordWhat it showsExample
forhow longThey had been waiting for an hour.
sincesince whenShe had been studying since eight.
how longasks about durationHow long had you been waiting?
all day / all morning / all nightthroughout a whole periodHe had been working all day.
when / before / by the timethe past reference momentShe had been crying when I came in.
recently / latelyin the period before that momentHe had been feeling tired lately.

Past perfect continuous versus past perfect simple

It is the most typical doubt. The difference is one of focus: the continuous focuses on the activity and its duration; the simple, on the result or on what is finished:

Timeline comparison: past perfect continuous (the activity) and past perfect simple (the finished result)
Past perfect continuousPast perfect simple
She had been painting the room. (The activity; perhaps unfinished.)She had painted the room. (She finished, it is painted.)
He had been eating for hours. (Duration.)He had eaten all the food. (Result: there is nothing left.)
How long had you been waiting? (How long?)How many emails had you written? (How many?)
I had been reading that book. (I was in the middle of it.)I had read that book. (I finished it.)

A practical rule: if the natural question is «how long?», use the continuous; if it is «how many?» or «did it finish?», the simple. And with state verbs (know, be, have, like, want) the simple is always used: She had known him for years (and not had been knowing). You have the list in the guide to stative and dynamic verbs.

Past perfect continuous versus past continuous

The past continuous talks about what was happening at that moment; the past perfect continuous, about what had been going on from before up to that moment:

Timeline comparison: past continuous (at that moment) and past perfect continuous (from before up to that moment)
TenseExampleMeaning
Past continuousWhen you came, I was cooking.When you came, I was in the middle of cooking.
Past perfect continuousWhen you came, I had been cooking for an hour.When you came, I had been cooking for an hour already.

Past perfect continuous versus present perfect continuous

Both talk about an activity in progress, but from a different moment. The present perfect continuous looks from now; the past perfect continuous, from a past moment:

TenseExampleMeaning
Present perfect continuousI have been waiting for two hours.I have been waiting for two hours (and I still am).
Past perfect continuousI had been waiting for two hours when he arrived.I had been waiting for two hours when he arrived.

The past tenses, all together

In a story, the past tenses take turns, each with its role. See how they work together in a single paragraph:

It was a cold night. The streets were empty (past simple). Mark was walking home (past continuous: the action in progress) when he realised that someone was following him. He had been working late (past perfect continuous: the long background) and he had forgotten his phone at the office (past perfect simple: what was finished earlier). He turned round and saw the cat.

TenseIts role in the story
Past simpleWhat happened (the plot)
Past continuousWhat was in progress in the scene
Past perfect simpleWhat had already happened (finished)
Past perfect continuousWhat had been going on from before (duration)

Spanish versus English: where we get confused

In Spanish, this idea is almost always expressed with «llevaba + gerundio» or with the imperfect; «había estado + gerundio» exists, but is used less. These are the most useful equivalences:

🇪🇸 Spanish🇬🇧 EnglishWhat happens
Llevaba dos horas esperando cuando llegó.I had been waiting for two hours when he arrived.«Llevaba + gerundio» equals had been + -ing.
Estaba cansado porque había estado trabajando todo el día.I was tired because I had been working all day.Direct equivalent («había estado + gerundio»).
Hacía diez años que vivían allí.They had been living there for ten years.«Hacía… que» is translated with had been + -ing + for.
Hacía años que se conocían.They had known each other for years.State verbs: simple, not had been knowing.

Common mistakes with the past perfect continuous

❌ Incorrect✅ CorrectWhy
I had been wait for an hour.I had been waiting for an hour.After been, the verb takes -ing.
She had waiting for two hours.She had been waiting for two hours.Been is missing: it is had been + -ing.
They had been knowing each other for years.They had known each other for years.Know is a state verb: simple.
Had been you studying all night?Had you been studying all night?In questions: Had + subject + been.
He was tired because he has been working all night.He was tired because he had been working all night.If the sentence is in the past, had been is used.
I had been eating three sandwiches.I had eaten three sandwiches.With quantities (three) the simple is used.
They had been been living there.They had been living there.Been appears only once.

The past perfect continuous in Cambridge exams

You are expected to master this tense from B2 First onwards, and it is common in C1 Advanced:

  • Use of English (Part 4, key word transformations) in B2 First and C1 Advanced: with key words such as FOR, SINCE or the -ing verb itself.
  • Writing in B2 First and C1 Advanced: in stories, the past perfect continuous gives the background and the cause of what happens.
  • Speaking: telling an anecdote («I’d been waiting for hours when…») sounds natural and precise.

Two examples in the style of Use of English Part 4:

  • I started waiting at six and the bus arrived at eight. WAITING
    I ______ for two hours when the bus arrived. → had been waiting
  • It started to rain at nine and we left at midnight. RAINING
    It ______ for three hours when we left. → had been raining

Fun uses: the past perfect continuous detective

This tense is the favourite of detectives: they see the evidence and deduce what had been going on. A small collection of clues:

The clueThe deduction
Muddy shoesHe had been walking in the park.
Red eyesShe had been crying. (Or cutting onions.)
Flour all over the kitchenThe kids had been baking.
Dark circles and a huge coffeeI had been studying all night.
Wet hairIt had been raining. Or someone had been in the shower.
The sofa, all messed upSomeone had been sleeping here.

Past perfect continuous summary table

WhatHowExample
Formhad been + -ingShe had been working.
Negativehadn’t been + -ingShe hadn’t been working.
QuestionHad + subject + been + -ingHad she been working?
Main useDuration of an activity before a past momentI had been waiting for two hours.
CauseExplaining a visible result in the pastHis eyes were red: he had been crying.
Reported speechBackshift of tensesShe said she had been working.

FAQ: the past perfect continuous

When is the past perfect continuous used?

To talk about an activity that had been going on for some time before another moment in the past, to explain the cause of a visible result and in reported speech.

How is the past perfect continuous formed?

With had been + verb + -ing: She had been working. For the negative, hadn’t been; for questions, Had she been working?

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

The simple focuses on the result or on what is finished (She had painted the room); the continuous, on the activity and its duration (She had been painting the room).

Can it be used with state verbs?

No. With know, be, have, like, want, understand… the past perfect simple is used: He had known her for years.

What is the difference between «I had been waiting» and «I was waiting»?

I was waiting talks about what you were doing at that moment; I had been waiting adds that you had been doing it for some time before that moment (for two hours).

Is it the same as the present perfect continuous?

No. The present perfect continuous looks back from the present (I have been waiting). The past perfect continuous looks back from a moment in the past (I had been waiting).

Past perfect continuous exercises

Thirty sentences to check you have understood. Below you have three interactive exercises that mark themselves, so you will know straight away how you did.

And if you prefer a version in text that you can copy and paste, you have it down here 👇

Exercise 1: choose the correct form

Choose the correct option to complete each sentence.

  1. She was exhausted because she (had run / had been running) for two hours.
  2. I (had read / had been reading) three chapters before dinner.
  3. Her eyes were red. She (cried / had been crying).
  4. How long (had you waited / had you been waiting) when the bus came?
  5. The room smelled of smoke. Someone (smoked / had been smoking).
  6. I (have been working / had been working) there for ten years when I was fired.
  7. He told me he (has been working / had been working) all morning.
  8. She (had known / had been knowing) him since 2010.
  9. They (had been building / had built) the house for months, but it still wasn’t finished.
  10. By nine o’clock, the children (were playing / had been playing) for three hours.
Show answers
  1. had been running
  2. had read
  3. had been crying
  4. had you been waiting
  5. had been smoking
  6. had been working
  7. had been working
  8. had known
  9. had been building
  10. had been playing

Exercise 2: complete the sentences

Complete each sentence with the past perfect continuous of the verb in brackets. Write only the missing words.

  1. I was tired because I _______________ (work) all day.
  2. They _______________ (wait) for an hour when the bus finally arrived.
  3. _______________ (she / cry)? Her eyes were red.
  4. How long _______________ (you / learn) English before you moved to London?
  5. He _______________ (not / sleep) well, so he looked terrible.
  6. The ground was wet. It _______________ (rain) all night.
  7. We _______________ (drive) for six hours when the car broke down.
  8. She said she _______________ (study) since seven.
  9. My hands were covered in paint because I _______________ (paint) the kitchen.
  10. Why _______________ (they / argue)? Everyone was staring.
Show answers
  1. had been working
  2. had been waiting
  3. Had she been crying
  4. had you been learning
  5. hadn’t been sleeping
  6. had been raining
  7. had been driving
  8. had been studying
  9. had been painting
  10. had they been arguing

Exercise 3: correct or incorrect?

Decide whether each sentence is correct. If it is incorrect, rewrite it correctly.

  1. She had been waiting for two hours when he arrived.
  2. I had been wait for an hour.
  3. They had been knowing each other for years.
  4. How long had you been working there?
  5. He was tired because he has been working all night.
  6. She hadn’t been sleeping well, so she looked tired.
  7. We had been walking since eight when it started to rain.
  8. I had been eating three sandwiches before the film.
  9. Had been you studying all night?
  10. They had been been living there for ten years.
Show answers
  1. Correct
  2. I had been waiting for an hour.
  3. They had known each other for years.
  4. Correct
  5. He was tired because he had been working all night.
  6. Correct
  7. Correct
  8. I had eaten three sandwiches before the film.
  9. Had you been studying all night?
  10. They had been living there for ten years.

Conclusion

To sum up in three ideas: the past perfect continuous (had been + -ing) talks about an activity that had been going on for some time before a past moment; it is used to give duration, explain the cause of something visible and give background in stories; and the simple focuses on the result, the continuous on the activity, and with state verbs the simple is always used.

If you want to continue with verb tenses, see the guides to the Past Perfect, the Past Continuous and the Present Perfect Continuous. Do you have doubts about the past perfect continuous? Write to me and I will help.

Did you find this post useful? Share it with other English students and teachers. And if you want more content like this, subscribe to my newsletter and follow me on Facebook, Twitter, Pinterest, Instagram and YouTube.

See you in the next post. Until then, don’t forget to keep smiling! 🙂

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.