English grammar

Past Perfect Continuous (had been -ing)

Cover: Past perfect continuous — she was tired because she had been running, the ground was wet because it had been raining
Short answer

Use had been + -ing to show how long an activity had been going on up to a point in the past, often to explain a later result: She was tired because she had been running.

Level: B2. The past perfect continuous looks back from a past moment at an activity that had been going on, and stresses how long it lasted. It is the tense behind sentences like She was out of breath because she had been running.

The rule

The past perfect continuous is had been + the -ing form of the verb. It is the same for every subject — I had been, she had been, they had been — because only been and the -ing carry the meaning; had never changes.

Use it to look at an activity in progress before a past point and focus on its duration or on the fact that it was still going on:

  • By midnight, we had been driving for eight hours. (how long the driving lasted up to midnight)
  • When the teacher came in, the students had been talking loudly. (the talking was in progress before she came)

A very common use is to explain a past result — why something looked or felt a certain way:

  • Her eyes were red because she had been crying. (the crying, over time, explains the red eyes)
  • The ground was wet; it had been raining. (the rain explains the wet ground)

A stative verb describes a state, not an activity (know, be, like, want, believe, own). These do not take the continuous — use the past perfect simple instead: I had known her for years (not had been knowing).

Forms

Form Pattern Example
Positive had been + -ing I had been waiting.
Negative had not been (hadn’t been) + -ing She hadn’t been sleeping well.
Question Had + subject + been + -ing Had you been working?
Short answer Yes, I had / No, I hadn’t Yes, we had.

Contraction: ’d been (= had been) is normal in speech — I’d been waiting, they’d been working.

How to say it

  • had been is usually weak and quick, often the light ’d been: I’d been WAIT-ing, with the stress on the main verb.
  • hadn’t been runs together as “had-nt been”.
  • Keep the -ing clear — it tells the listener the activity was ongoing, not finished.

Example sentences

  1. She was tired because she had been running.
    The earlier activity (running) explains the result (tired).
  2. By midnight we had been driving for eight hours.
    Duration up to a past point (midnight).
  3. The ground was wet because it had been raining.
    An ongoing earlier activity explains a visible result.
  4. His eyes were red; he had been crying.
    Result (red eyes) explained by the earlier activity.
  5. They had been waiting for an hour before the bus came.
    How long the waiting lasted before a past event.
  6. When the teacher arrived, the class had been talking loudly.
    The activity was in progress before she arrived.
  7. I had been studying all afternoon, so I needed a break.
    Duration of study explaining a need.
  8. How long had you been living there before you moved?
    A question about duration up to a past point.
  9. She was annoyed because she had been waiting since noon.
    Result (annoyed) + duration (since noon).
  10. We had been walking for miles when it started to rain.
    Ongoing activity interrupted by a past event.
  11. He hadn't been sleeping well, so he looked exhausted.
    Negative form explaining a result.
  12. My hands were dirty because I had been gardening.
    The earlier activity explains the dirty hands.
  13. They had been arguing for days before they made up.
    Duration before a later past event.
  14. By the time she retired, she had been teaching for thirty years.
    Long duration up to a past point.
  15. I was out of breath because I had been climbing the stairs.
    Activity explaining a physical result.
  16. The engine was hot; the car had been running all morning.
    Earlier ongoing activity behind a result.
  17. Had they been planning the trip for long before they told you?
    A question about the length of an earlier activity.
  18. We were soaked because we had been standing in the rain.
    Result (soaked) explained by the activity.
  19. He had been working as a chef before he opened his own place.
    A long earlier activity before a past change.
  20. She felt dizzy because she had been staring at the screen all day.
    Result (dizzy) from an all-day activity.
  21. The children were muddy because they had been playing outside.
    Earlier ongoing play explaining the mud.
  22. I had been looking for my keys for ages when I found them in my coat.
    Duration of searching up to the moment of finding.

Common mistakes

  • ❌ She was tired because she had been ran. → ✅ She was tired because she had been running. The form is had been + -ing, not the past participle.
  • ❌ I had been knowing him for years. → ✅ I had known him for years. Know is a stative verb, so use the past perfect simple, not the continuous.
  • ❌ The ground was wet because it had raining. → ✅ The ground was wet because it had been raining. You need been between had and the -ing form.
  • ❌ They had been waited for an hour. → ✅ They had been waiting for an hour. Use the -ing form after had been, not the past participle.
  • ❌ How long you had been waiting? → ✅ How long had you been waiting? In questions, had comes before the subject.
  • ❌ By midnight we had driven for eight hours and were still driving. → ✅ By midnight we had been driving for eight hours. For an activity still in progress and its duration, use the continuous, not the simple.

A short conversation

A: You looked shattered when you got home last night. B: I was. I had been working since six in the morning. A: No wonder. Had you been skipping lunch again? B: Guilty. By the time I left, I had been staring at spreadsheets for ten hours.

Usage notes

  • Duration up to a past point. Words like for, since, all day, all morning, how long are common signals: had been waiting for an hour, had been living there since 2010.
  • Explaining a result. The tense often answers why? about a past situation: was tired, was wet, was out of breath, was angry → because someone had been doing something.
  • Still in progress or just stopped. It suggests the activity was going on right up to (or just before) the past point, unlike the simple, which only says it was done.
  • Stative verbs go simple. Be, know, like, want, believe, own, understand avoid the continuous: had known, had owned, not had been knowing / owning.
  • Contractions. ’d been and hadn’t been are the normal spoken forms.
  • Mostly in narration. You meet it most when telling a story and looking back from a past moment — it is one of the narrative tenses.

Compared with…

  • Past perfect simple (had done) marks a completed earlier action or its result, with no focus on length: I had finished the report (it was done). The continuous focuses on duration or ongoing activity: I had been writing the report all night (how long, maybe not done). See Past Perfect (had + past participle).
  • As one of the narrative tenses, it works together with the past simple, past continuous and past perfect to tell a story — the continuous supplies the earlier activity and its duration. See Narrative Tenses for Storytelling.
  • Present perfect continuous (have been doing) is the same idea but measured up to now, not a past point: I have been waiting for an hour (and I am still here) vs I had been waiting for an hour (up to a past moment). See Present Perfect Continuous (have been -ing).

Recap card for the English past perfect continuous lesson showing had been plus -ing for the duration of an earlier activity

Quick recap before you practise.

Practice

Practice

Past perfect continuous practice

Try each one, then press Check. No sign-up, nothing is sent anywhere — it all runs in your browser.

1 Choose the correct sentence.
Show answer

She was tired because she had been running. — The form is had been + the -ing form: had been running.

Hint: had been + -ing

Show answer

had been driving — Duration up to a past point uses the past perfect continuous: had been driving.

3 Which verb should NOT use the continuous here?
Show answer

know — Know is stative, so use the past perfect simple (had known), not had been knowing.

4 Put the words in order to make a question.

Show answer

How long had you been waiting? — In questions, had comes before the subject: How long had you been waiting?

5 Match the result to the earlier activity.

  • Her eyes were red
  • The ground was wet
  • He was out of breath
  • Her hands were dirty
Show answer
  • Her eyes were red → had been crying
  • The ground was wet → had been raining
  • He was out of breath → had been running
  • Her hands were dirty → had been gardening

The past perfect continuous often explains why a past situation looked that way.

Hint: know is stative

Show answer

had known — Stative verbs take the past perfect simple: had known, not had been knowing.

Quiz

Check yourself

Past perfect continuous quiz

12 questions · pick an answer and you'll see straight away if it's right.

0/12 0 answered
  1. 1What is the form of the past perfect continuous?
    Show answer

    had been + -ing — It is had been + the -ing form, the same for every subject.

  2. 2Complete: 'The students ___ loudly when the teacher came in.'
    Show answer

    had been talking — The activity was in progress before the past event: had been talking.

  3. 3Which best explains a result?
    Show answer

    She was tired because she had been working all day. — The continuous links an earlier ongoing activity to the result (tired).

  4. 4Which verb cannot normally take this tense?
    Show answer

    know — Know is a stative verb, so it uses the past perfect simple instead.

  5. 5Complete: 'By the time she retired, she ___ for thirty years.'
    Show answer

    had been teaching — Long duration up to a past point takes the past perfect continuous: had been teaching.

  6. 6Which sentence is WRONG?
    Show answer

    He had been knowing her for years. — Know is stative; it should be had known, not had been knowing.

  7. 7Choose the correct question.
    Show answer

    How long had you been waiting? — In questions, had comes before the subject: How long had you been waiting?

  8. 8What does the past perfect continuous stress?
    Show answer

    duration or an ongoing earlier activity — It focuses on how long an earlier activity lasted or that it was ongoing.

  9. 9Simple or continuous? 'I had ___ the whole book by Friday.' (finished it)
    Show answer

    read — A completed result uses the past perfect simple: had read.

  10. 10Complete: 'His hands were dirty because he ___ in the garden.'
    Show answer

    had been working — The earlier ongoing activity explains the result: had been working.

  11. Show answer

    had been waiting — Duration before a past event: had been waiting.

  12. 12How does it differ from the present perfect continuous?
    Show answer

    it measures up to a point in the past — The past perfect continuous looks back from a past point; the present perfect continuous measures up to now.

Recap cheat-sheet

Feature Form / example Note
form had been + -ing I had been waiting.
use duration before a past point had been driving for hours
use explain a past result tired → had been running
stative verbs past perfect simple had known (not had been knowing)
vs simple result = had done; duration = had been doing had read vs had been reading

Next

Your English course

All English grammar topics

Every grammar point in order, from your first sentence to advanced structures. Pick one and go straight to it. New lessons go live every day, so topics marked Coming soon fill in over the next weeks.

Grammar path

125 topics 125 ready now
A1 30 topics · 30 ready
  1. 01 Verb 'To Be' in the Present (am, is, are)
  2. 02 Subject Pronouns: I, You, He, She, It, We, They
  3. 03 Present Simple: Affirmative and the -s Ending
  4. 04 Present Simple: Negatives and Questions (do/does)
  5. 05 Articles: a / an and When to Use Each
  6. 06 The Definite Article 'The': When to Use It
  7. 07 Zero Article: When to Use No Article
  8. 08 Plural Nouns: Regular and Irregular Forms
  9. 09 This, That, These, Those (Demonstratives)
  10. 10 Possessive Adjectives: my, your, his, her
  11. 11 Possessive 's and s' (Showing Belonging)
  12. 12 There Is / There Are (Saying What Exists)
  13. 13 Have Got: Talking About Possession
  14. 14 Can and Can't for Ability
  15. 15 Present Continuous (am/is/are + -ing)
  16. 16 Imperatives: Giving Orders and Instructions
  17. 17 Adjectives: Position and Basic Use
  18. 18 Prepositions of Place: in, on, at
  19. 19 Prepositions of Time: in, on, at
  20. 20 Question Words: What, Where, When, Who, Why, How
  21. 21 How Much vs How Many
  22. 22 Countable and Uncountable Nouns
  23. 23 Some and Any: Which One to Use
  24. 24 Object Pronouns: me, you, him, her, us, them
  25. 25 Adverbs of Frequency and Their Position
  26. 26 Like, Love, Hate + -ing (Expressing Preferences)
  27. 27 Would Like: Polite Wants and Offers
  28. 28 Making Requests: Can, Could, May I
  29. 29 Past Simple of 'To Be' (was / were)
  30. 30 Let's and Shall We: Making Suggestions
A2 25 topics · 25 ready
  1. 31 Past Simple: Regular Verbs and -ed Spelling
  2. 32 Past Simple: Irregular Verbs (go, see, have)
  3. 33 Past Simple: Negatives and Questions (did)
  4. 34 Comparative Adjectives (bigger, more expensive)
  5. 35 Superlative Adjectives (the biggest, the most)
  6. 36 Going To: Plans and Predictions
  7. 37 Will: Predictions, Decisions and Offers
  8. 38 Present Continuous for Future Arrangements
  9. 39 Present Perfect for Experience (ever / never)
  10. 40 Present Perfect with just, already, yet
  11. 41 Present Perfect vs Past Simple
  12. 42 Have To and Don't Have To (Obligation)
  13. 43 Should and Shouldn't for Advice
  14. 44 Could: Past Ability and Polite Use
  15. 45 Much, Many, A Lot Of
  16. 46 A Few, A Little, Few, Little
  17. 47 Adverbs of Manner (quickly, well, hard)
  18. 48 Verb + -ing or Verb + to (Introduction)
  19. 49 Zero Conditional (Facts and Rules)
  20. 50 First Conditional (Real Future Possibility)
  21. 51 Prepositions of Movement (to, into, through)
  22. 52 Possessive Pronouns: mine, yours, hers
  23. 53 Past Continuous (was/were + -ing)
  24. 54 Too and Enough (Degree)
  25. 55 Order of Adjectives Before a Noun
B1 27 topics · 27 ready
  1. 56 Past Continuous vs Past Simple
  2. 57 Used To and Would for Past Habits
  3. 58 Present Perfect Continuous (have been -ing)
  4. 59 Present Perfect: Simple vs Continuous
  5. 60 Past Perfect (had + past participle)
  6. 61 Second Conditional (Unreal Present/Future)
  7. 62 Third Conditional (Unreal Past)
  8. 63 Reported Speech: Statements (Backshift)
  9. 64 Reported Questions
  10. 65 Reported Commands and Requests
  11. 66 Passive Voice: Present and Past Simple
  12. 67 Must and Mustn't (Strong Obligation)
  13. 68 May, Might, Could for Possibility
  14. 69 Defining Relative Clauses (who, which, that)
  15. 70 Non-Defining Relative Clauses (with commas)
  16. 71 Gerunds and Infinitives: Full Verb Patterns
  17. 72 Verbs Where -ing vs to Changes Meaning
  18. 73 Future Continuous (will be -ing)
  19. 74 So and Such (Emphasis)
  20. 75 As...As Comparisons (equality)
  21. 76 Question Tags (isn't it? do you?)
  22. 77 Phrasal Verbs: Separable and Inseparable
  23. 78 Linking Words: because, so, although, but
  24. 79 Infinitive of Purpose (to / in order to)
  25. 80 Indirect Questions (Can you tell me...)
  26. 81 Make, Let, Allow, Help (Causatives Intro)
  27. 82 Be Used To and Get Used To (+ -ing)
B2 25 topics · 25 ready
  1. 83 Narrative Tenses for Storytelling
  2. 84 Past Perfect Continuous (had been -ing) You are here
  3. 85 Mixed Conditionals
  4. 86 Wish and If Only (Regrets and Wishes)
  5. 87 Wish/If Only + would (Complaints)
  6. 88 Passive Voice: All Tenses and Modals
  7. 89 Reporting Passive (It is said that / is said to)
  8. 90 Causative: Have/Get Something Done
  9. 91 Reduced Relative Clauses (Participles)
  10. 92 Modals of Deduction: Present and Past
  11. 93 Needn't Have vs Didn't Need To
  12. 94 Future Perfect (will have done)
  13. 95 Participle Clauses (-ing / -ed / having done)
  14. 96 Advanced Comparatives (far/much + er, the more)
  15. 97 Conditional Alternatives: unless, as long as, provided
  16. 98 Advanced Determiners: each, every, either, neither
  17. 99 Intensifiers and Adverbs of Degree
  18. 100 Advanced Contrast: despite, in spite of, however
  19. 101 Advanced Linkers: therefore, moreover, consequently
  20. 102 Advanced Article Use (generalisations, names)
  21. 103 Verb + Preposition and Adjective + Preposition
  22. 104 Relative Clauses: whose, where, when, quantifier + whom
  23. 105 Subject-Verb Agreement: Tricky Cases
  24. 106 Emphatic Do (I do like it)
  25. 107 Would for Past Habits (Formal Narrative)
C1 18 topics · 18 ready
  1. 108 Inversion with Negative Adverbials
  2. 109 Inversion in Conditionals (Had I known)
  3. 110 Cleft Sentences (It was... / What I need is...)
  4. 111 Fronting and Emphasis (Word Order)
  5. 112 Subjunctive and Mandative (I suggest he be)
  6. 113 Ellipsis and Substitution (so, do, one)
  7. 114 Hedging and Cautious Language
  8. 115 Nominalisation (Academic Noun Style)
  9. 116 Advanced Discourse Markers (Spoken & Written)
  10. 117 Advanced Passive (passive + infinitive, get-passive)
  11. 118 Advanced Comparative Structures (no sooner...than)
  12. 119 Future in the Past (was going to / would)
  13. 120 Advanced Modals (may well, might as well, would rather)
  14. 121 Advanced Reported Speech (Reporting Verbs + Patterns)
  15. 122 Advanced and Idiomatic Phrasal Verbs
  16. 123 Collocation and Colligation (Natural Combinations)
  17. 124 Advanced Concession (much as, whatever, however + adj)
  18. 125 Absolute and Non-Finite Clauses (Formal)