past perfect continuous B2
Use the past perfect continuous to talk about an activity that was in progress for some time before a moment or an event in the past.
See it in real scenesWhat it means
Use had been and an -ing verb for an action that continued up to a point in the past. It emphasizes the duration or ongoing nature of the action.
When to use it
People use "had been + -ing" when they look back from a point in the past and talk about an action that was going on until then, or just before. It stresses the duration of the activity or the reason for a situation: "Her eyes were red because she had been crying." It is common in stories, explanations and reports, usually with "for", "since" or "how long". It is more advanced than the past perfect simple and is used mostly by upper-intermediate learners.
How to build it
Positive
subject + had + been + verb-ing
I had been waiting for an hour when she arrived.
Negative
subject + hadn't + been + verb-ing
He hadn't been sleeping well before the exam.
Question
Had + subject + been + verb-ing?
Had you been working there long?
With how long
How long + had + subject + been + verb-ing?
How long had you been waiting?
Contracted
subject + 'd + been + verb-ing
She'd been studying all night.
Key points
- It looks back from a time in the past: the continuous action started earlier and went on up to that time (or stopped just before it).
- Use "for" with a length of time and "since" with a starting point: "He had been living there for two years", "since 2019".
- It often explains a result in the past: "The ground was wet because it had been raining." The activity itself, not the completion, is important.
- State verbs (know, like, want, believe, be) are not used in the continuous form. Use the past perfect simple: "I had known her for years."
- Compare the three forms: "I had read the book" (completed), "I had been reading the book" (activity, maybe unfinished), "I was reading the book" (in progress at that moment).
Examples
- I had been working the nightwatch on the Place Vendôme... ...outside the Ritz Hotel.
- I had been waiting for an hour when she finally arrived. – An activity that lasted until a past moment.
- Her eyes were red because she had been crying. – The reason for a past situation.
- They had been living in Tehran for ten years before they moved. – Duration with "for".
- He hadn't been sleeping well, so he looked tired. – A negative form that explains a state.
- How long had you been working there when you quit? – A question about duration.
- She'd been studying all night, so she fell asleep in class. – A contracted form with a result.
- The road was wet. It had been raining since morning. – A cause with "since".
- We had been talking for hours before we noticed the time. – An activity that went on until a moment of noticing.
Don’t mix it up
- vs past perfect simple: The past perfect simple focuses on the completed action or its result; the continuous form focuses on the activity and how long it lasted. I had finished the book before dinner.
- vs past continuous: The past continuous is about an action in progress at a moment in the past; the past perfect continuous shows that the action had been going on before that moment. I was waiting when she arrived.
Common mistakes
- I was waiting for two hours when she arrived. → I had been waiting for two hours when she arrived.
Persian "دو ساعت بود منتظر بودم" uses an imperfect form. To show duration before a past moment, English needs "had been waiting". - I have been waiting for two hours when she arrived. → I had been waiting for two hours when she arrived.
The present perfect cannot be used with a past moment. Use "had". - He had been knowing her for years. → He had known her for years.
"Know" is a state verb and is not used in the continuous form. - She had been wait for an hour. → She had been waiting for an hour.
After "had been" the verb needs -ing.
نکته برای فارسیزبانان
ماضی بعید استمراری برای کاری است که تا یک لحظهٔ مشخص در گذشته ادامه داشت: «دو ساعت بود منتظر بودم که او رسید» = «I had been waiting for two hours when she arrived». ساختار آن «had been + فعل-ing» است. فعلهای حالتی مثل know و like استمراری نمیشوند. با for و since مدت را بگویید. اگر فقط نتیجه مهم است، «past perfect simple» کافی است.