How to Form the Past Perfect Continuous
The Past Perfect Continuous is formed with had been + the -ing form of the main verb. Like the Past Perfect simple, had been never changes — it is the same for all subjects.
All subjects: subject + had been + verb-ing
I / You / He / She / We / They + had been + verb-ing
I had been waiting. · She had been working. · They had been studying.
Affirmative sentences
Subject + had been + verb-ing
She had been working there for five years before she quit.
They had been arguing all morning when she finally walked out.
By the time help arrived, he had been waiting for three hours.
- He was exhausted because he had been running for two hours.
- She had been studying medicine before she changed to law.
- The team had been working on the project for months when the funding was cut.
- By noon, they had been driving for six hours without a break.
- I could tell she had been crying — her eyes were red.
Negative sentences
Subject + had not been (hadn't been) + verb-ing
He hadn't been sleeping well for weeks. · They hadn't been expecting that result.
She hadn't been feeling well since the previous day.
- The engine failed because the mechanics hadn't been maintaining it properly.
- She was surprised by the exam — she hadn't been paying attention in class.
- He hadn't been eating properly, which is why he felt so weak.
- They hadn't been communicating, so nobody knew about the change of plan.
- The plants died because she hadn't been watering them while she was away.
Interrogative sentences (questions)
Yes/No: Had + subject + been + verb-ing + ?
Had she been waiting long? · Had they been working all night?
Wh- questions: Question word + had + subject + been + verb-ing + ?
How long had she been working there? · What had he been doing?
- Had they been living there long before the move?
- Had she been feeling unwell before the collapse?
- How long had he been studying when you called?
- What had they been arguing about all evening?
- Where had she been working before she joined this company?
The logic of the Past Perfect Continuous — duration before a past moment
The Past Perfect Continuous answers the question: how long had something been happening before a particular moment in the past? It emphasises the duration and the continuity of an action — that it was ongoing up to (and often causing or explaining) a later past event.
An ongoing action in the past leading up to a past moment:
had been working ≋≋≋≋≋≋≋≋
→
she collapsed (Past Simple)
→
NOW
She had been working for 14 hours when she collapsed.
Common time expressions
for + period of time
since + point in time
all day / all morning / all week
how long
by the time...
when...
before...
until then
Past Perfect Continuous vs Past Perfect Simple — the key difference
Both tenses look back at the past from a past reference point. The difference is focus: the Past Perfect Simple focuses on a completed result. The Past Perfect Continuous focuses on the duration and ongoing process.
Past Perfect Simple
She had written three reports.
(Focus: the completed result — three reports exist.)
Past Perfect Continuous
She had been writing reports all morning.
(Focus: the ongoing activity — the process of writing.)
Past Perfect Continuous Exercises
The Past Perfect Continuous is used in three key situations. Select one below to practise. Each page includes five exercise sets and a full grammar explanation.
-
1
Past Perfect Continuous: Continuous Events in the Past
Use the Past Perfect Continuous to describe an action that was ongoing over a period of time leading up to a past moment — emphasising duration and process. Example: She had been working for twelve hours when she finally stopped.
-
2
Past Perfect Continuous: Habitual Actions in the Past
Use the Past Perfect Continuous to describe a repeated or habitual action that had been going on for a period before a past event brought it to an end or changed it. Example: He had been going to the gym every day before the injury.
-
3
Past Perfect Continuous vs Past Perfect Simple
Practise choosing between the Past Perfect Continuous and the Past Perfect Simple. The key distinction is focus: ongoing process vs completed result. Example: She had been reading the report (process) vs She had read the report (completed).