B2 Grammar

The English past perfect continuous: had been + -ing before a past point

Quick answer

Use the past perfect continuous (had been + verb-ing) to talk about an action that was in progress for a period of time up to a moment in the past: I had been waiting for an hour when the bus finally came. It stresses the duration of the earlier activity, and it often explains the cause of a later past situation (She was tired because she had been working all night). The form never changes for person: had been working for everyone.

Use
Form and example
Positive
had been + -ing: I had been working
Negative
had not (hadn't) been + -ing: She hadn't been sleeping
Question
Had + subject + been + -ing: Had you been waiting?
Focus
duration before a past point / cause of a past result
Key points
  • Form it with had been + the -ing form; it is the same for every subject.
  • It describes an activity in progress up to (or just before) a point in the past.
  • It highlights how long the activity lasted, often with for or since.
  • It frequently explains the cause of a later past state (He was wet because it had been raining).
  • Compare it with the past perfect, which focuses on a completed action, not its duration.

What the past perfect continuous means

The past perfect continuous looks back from a point in the past to an action that was already happening before that point and had lasted for some time. Think of two past moments: a later reference point, and an activity that was running up to it. The tense zooms in on the activity's duration. It answers the question 'What had been going on for a while before that past moment?'

  • When she arrived, I had been waiting for two hours.
    The waiting lasted up to her arrival.
    Reference point = she arrived; activity = waiting.
  • By 2019, they had been living in Berlin for a decade.
    Living continued up to 2019.
    for a decade = duration.
  • We had been talking for ages before we noticed the time.
    Talking was already ongoing before 'noticed'.
    The first action was longer and continuous.

How to form it

The structure is had been + the -ing form of the main verb. Because had does not change for person or number, the whole tense is identical for I, you, he, she, it, we, and they. Only the main verb's -ing form changes from sentence to sentence.

work — past perfect continuous (positive)
had been working
Ihad been working
youhad been working
he / she / ithad been working
wehad been working
theyhad been working
  • I had been studying all evening.
    had been + studying.
    Same form for I.
  • They had been driving since dawn.
    had been + driving.
    Same form for they.

Negatives and questions

For negatives, put not after had: had not been + -ing, usually contracted to hadn't been. For questions, invert had and the subject: Had + subject + been + -ing? Short answers use had: Yes, I had. / No, they hadn't. Note that the negative is more natural with longer states than with repeated short actions.

Negative and question forms
FormExample
NegativeShe hadn't been feeling well for days.
Yes/no questionHad you been waiting long?
Wh- questionHow long had they been arguing?
Short answerNo, I hadn't.
  • We hadn't been expecting visitors, so the house was a mess.
    hadn't been + expecting.
    Negative explains the later state.
  • Had he been drinking before the accident?
    Had + he + been + drinking.
    Inversion for the question.

Showing cause and result in the past

One of the most common uses is to explain why a past situation existed. The result is usually in the past simple, and the past perfect continuous gives the ongoing cause that came before it. This is especially natural with visible evidence: wet ground, tired eyes, red faces.

  • The ground was wet because it had been raining.
    Result (wet) + cause (raining).
    The rain was ongoing before 'was wet'.
  • Her eyes were red; she had been crying.
    Evidence now, continuous cause before.
    Explains the red eyes.
  • He was out of breath because he had been running.
    Cause of being out of breath.
    Ongoing activity leading to the state.

Duration words: for, since, how long, all

Because this tense is about length of time, it is often paired with for (a period: for two hours), since (a starting point: since Monday), how long in questions, and quantifiers like all day or the whole morning. These words make the duration explicit.

Typical time markers
MarkerExample
for + periodfor three hours, for weeks
since + start pointsince 9 a.m., since Tuesday
how longHow long had you been working there?
all / the wholeall morning, the whole afternoon
  • I had been revising since early morning.
    since + start point.
    Start of the ongoing activity.
  • They had been queuing for over an hour.
    for + period.
    Measured duration.

Continuous vs. simple: duration or completion?

Use the past perfect continuous to emphasise the ongoing activity and its length; use the past perfect (had + past participle) to emphasise a finished action or its result. Compare: 'She had been painting the fence' (we picture the long activity, maybe unfinished) with 'She had painted the fence' (the job was done). State verbs like know, be, belong, and own are not normally used in the continuous, so they take the simple past perfect.

Past perfect continuous vs. past perfect
Past perfect continuousPast perfect (simple)
Focus: duration / activityFocus: completion / result
I had been reading that book.I had read that book.
They had been cooking all day.They had cooked three meals.
Not used with state verbsUsed with state verbs: had known
  • I had been painting the wall, so my hands were covered in blue.
    Activity + its messy result.
    Continuous = the process.
  • I had painted the whole wall by lunchtime.
    Completed result by a deadline.
    Simple = the finished job.
  • She had known him for years before they married.
    know is a state verb.
    Use the simple past perfect with states.

Common mistakes

WrongI was been waiting for an hour.
RightI had been waiting for an hour.
The auxiliary is had, not was: had been + -ing.
WrongShe had been knowing him for years.
RightShe had known him for years.
Know is a state verb and is not used in the continuous; use the past perfect simple.
WrongThey had been waited a long time.
RightThey had been waiting a long time.
After had been you need the -ing form, not the past participle.
WrongHe had being working all night.
RightHe had been working all night.
The fixed part is had been (past participle of be), not had being.
WrongWe had been living there since two years.
RightWe had been living there for two years.
Use for with a length of time; since is for a starting point (since 2018).
WrongWhen I arrived, she cooked for an hour.
RightWhen I arrived, she had been cooking for an hour.
To show the activity was already in progress before your arrival, use the past perfect continuous, not the past simple.

Frequently asked questions

How is the past perfect continuous different from the present perfect continuous?
The present perfect continuous (have been + -ing) connects a duration to now, while the past perfect continuous (had been + -ing) connects a duration to a point in the past. Compare 'I have been waiting for an hour' (now) with 'I had been waiting for an hour when he came' (past).
Do I always need a reference point in the past?
Usually yes. The tense makes most sense with a later past moment (when the bus came, by 2019, before they left) that the activity ran up to. Without that context it can sound incomplete.
Can I use it with state verbs like be, know, or own?
No. State verbs normally avoid the continuous, so use the simple past perfect instead: She had owned the car for years, not had been owning.
Is 'for' or 'since' better with this tense?
Both are common. Use for with a length of time (for two hours) and since with a starting point (since Monday). Both emphasise the duration the tense is built around.
Why not just use the past perfect simple all the time?
You could, but you would lose the sense of an ongoing, drawn-out activity. Choose the continuous when the length or the process matters, and the simple when the result or completion matters.

Practice

Choose the correct auxiliary.
I ___ been waiting for twenty minutes when she arrived.
past perfect continuous.
had was have
Show answer
had — The tense uses had been + -ing: had been waiting.
Pick the correct verb form.
They had been ___ since early morning.
after 'had been' use -ing.
driven drive driving drove
Show answer
driving — After had been you need the -ing form: driving.
Choose the right time word.
We had been living there ___ three years.
a length of time.
since for from
Show answer
for — Use for with a period of time: for three years.
Select the natural sentence.
Why was the ground wet?
ongoing cause of a past state.
Because it rained once. Because it is raining. Because it had been raining. Because it rains.
Show answer
Because it had been raining. — The past perfect continuous shows the ongoing cause behind the wet ground.
Fix the state-verb error.
She ___ him for years before they married.
know is a state verb.
had been knowing had known was knowing
Show answer
had known — State verbs use the simple past perfect: had known.
Make the question.
___ you been waiting long?
yes/no question.
Were Did Had Have
Show answer
Had — Invert had and the subject: Had you been waiting?
Choose the correct negative.
He ___ been sleeping well, so he looked exhausted.
negative.
wasn't didn't haven't hadn't
Show answer
hadn't — The negative is hadn't been + -ing.
Choose duration vs. completion.
Her hands were covered in paint; she ___ all afternoon.
emphasise the long activity.
had painted had been painting painted
Show answer
had been painting — The continuous stresses the ongoing activity that left paint on her hands.
Pick the correct 'be' form.
They had ___ working since dawn.
fixed part of the tense.
been being be was
Show answer
been — The fixed structure is had been + -ing.
Choose the correct sentence.
Which is correct?
duration before a past point.
When he called, I was been cooking for an hour. When he called, I had been cook for an hour. When he called, I had being cooking for an hour. When he called, I had been cooking for an hour.
Show answer
When he called, I had been cooking for an hour. — The correct form is had been + -ing: had been cooking.
Complete with 'since'.
I had been revising ___ nine o'clock.
a starting point.
for during since
Show answer
since — Use since with a starting point in time: since nine o'clock.

Related guides