The past perfect (had done, had been doing)

English grammarB1+ to B29 notes and tables in the course

How the past perfect (had done, had been doing) works in English, with the examples and tables of the LexiBox English course. Each part names the level and lesson where it is taught.

B1+ · Lesson 4Explanation

Had done: the earlier event

You are telling a story in the past, and you want to go back to something that happened earlier. Use the past perfect: had + the past participle.

“When I got to the station, the train had left.” (First the train left. Then I got there.) Compare: “When I got to the station, the train left.” (I got there, and then it left.)

You often need it with when, because and by the time: “I was tired because I had worked all night.” “By the time we sat down, the concert had started.” (We were too late for the beginning.)

Already, just and never usually go between had and the participle: “She had just gone out.” “I had never seen snow before.” Already can also come at the end: “The movie had started already.”

The negative is hadn’t: “I hadn’t met him before.” The question starts with Had: “Had you met him before?”

You don’t need the past perfect when you tell things in the order they happened: “I got up, made coffee and left.” With before and after, the order is already clear, so both tenses are right: “After I (had) locked the door, I went to bed.”

B1+ · Lesson 4Explanation

Had been doing: how long before that

To say how long something had been going on before another thing happened in the past, use the past perfect continuous: had been + -ing.

“They had been driving for six hours when they finally saw the ocean.” “He had been studying English for two years before he moved to Canada.” It also explains something you could see: “He was dirty because he had been working in the garden.”

Use for + a length of time (for an hour, for ten years) and since + the starting point (since six o’clock, since the summer).

The question is How long had … been …-ing? “How long had he been studying English?”

Compare: “When I got home, my roommate had cooked dinner.” (Dinner was ready.) “When I got home, my roommate had been cooking for two hours.” (That is how long.)

With the verbs that don’t usually take -ing (know, be, have when it means own), use had + the participle here too: “We had known each other for years.” (NOT: We had been knowing each other.)

B1+ · Lesson 4Explanation

Saying it: I’d, he’d, they’d

When people speak, had almost disappears. After I, you, he, she, we and they, you hear only a small /d/: I’d forgotten. He’d already left. They’d been waiting. After it, ’d adds a small sound of its own: it’d sounds like “IT-ud” (It’d rained all night).

Be careful: ’d can also be would (“I’d like a coffee”). Listen to the next word. After had comes a past participle: I’d seen, she’d gone, we’d been. After would comes the plain verb: I’d like, she’d go. (One exception: I’d better is I had better, “You’d better hurry.”)

A long sentence with two parts is said in two parts. Pause a little between them, at the comma, when there is one: “While I was waiting for the bus, / it started to rain.”

B1+ · Lesson 4Table

The past perfect

UseFormExample
an earlier eventhad + past participleWhen we arrived, the game had started.
negativehadn’t + past participleShe was nervous. She hadn’t spoken in public before.
questionHad + subject + past participle?Had you been there before?
with by the timeBy the time + simple past, had + past participleBy the time I woke up, my roommate had gone to work.
already · just · neverusually between had and the participle; already can also go at the endShe had just gone out. · I had never seen snow before. · The movie had started already.
short formsI’d · you’d · he’d · she’d · it’d · we’d · they’dHe’d already paid.
B1+ · Lesson 4Table

Had done and had been doing

Comparehad + past participlehad been + ‑ing
What it tells yousomething happened or was finished before that timehow long something had been going on, or what had been going on just before
ExampleI had read the whole book.I had been reading for two hours.
QuestionWhat had she done?How long had she been working?
NegativeThey hadn’t eaten.They hadn’t been sleeping well.
With know, be and have (own)We had known each other for years.not used with these verbs
B1+ · Lesson 11Explanation

What happened first: had + past participle

Use the past perfect (had + past participle) for something that happened, or had never happened, before another time in the past:

“By the time I woke up, everybody had left.” (First they left. Then I woke up.)

You often need it with by the time, until and before, together with already, never or not: “By the time the bus came, I had already walked halfway.” “Until I was twenty, I had never seen snow.” “Before that summer, I hadn’t worked a day in my life.”

With before and after, the order is already clear, so the simple past is often fine too: “After I washed the car, it started to rain.”

And when something simply went on up to a time, use the simple past with until: “I lived there until I was ten.”

In speech, had is often ’d: “I’d never cooked before.”

B2 · Lesson 6Explanation

The past perfect: going back one step

The past perfect is had + past participle, the same for every person: I’d gone, she’d gone, they’d gone. Use it when your story is already in the past and you need to go back to something that happened before that moment.

“When I got home, my sister had cooked dinner.” (She cooked first; dinner was ready.) “When I got home, my sister cooked dinner.” (I got home, and then she started cooking.)

It often gives the reason, the real story: “I was nervous, because I hadn’t driven in snow before.”

It is the present perfect, one step back. “I’ve never seen a whale.” → “Up until that trip, I’d never seen a whale.” Just becomes had just, and have been + ‑ing becomes had been + ‑ing, the past perfect continuous: “We’d been walking for an hour when it started to rain.”

Questions and short answers use had: “Had you met her before?” “No, I hadn’t.”

When you don’t need it: after before and after, the order is already clear, so the simple past is fine too: “She called after I left.” = “She called after I had left.” A story told in order, this, then this, then this, needs no past perfect at all.

By then and by that time look back from a moment in the past, so they nearly always take the past perfect: “By then, the stores had closed.” Up until then and until that time usually take it too.

The participle is the third form of the verb: “We’d just eaten,” never “We’d just ate.”

B2 · Lesson 6Table

The past perfect: the present perfect, one step back

What it doesUp to nowUp to a moment in the past
an earlier time, seen from a moment in the past (had + past participle)I’ve never seen a whale.Up until that trip, I’d never seen a whale.
had been + ‑ing: going on up to that momentWe’ve been walking for an hour.We’d been walking for an hour when it started to rain.
had just: a moment beforeYour sister has just called.My sister had just called when you came in.
the short answer is had or hadn’tHave you met her before? No, I haven’t.Had you met her before? No, I hadn’t.
the reason: the real storyI haven’t driven in snow.I was nervous, because I hadn’t driven in snow before.

The course has 1 more note or table on this topic.

Try it

What had happened earlier? Write the verb in the past perfect (had + past participle). Put already, just and never in the right place. Use the short form ’d only after I, you, he, she, it, we and they.

  1. 1. I couldn’t get into the building because I _____ (leave) my keys in the lab.

    Show the answer

    1. I couldn’t get into the building because I had left (leave) my keys in the lab.

  2. 2. When Anika opened the fridge, she saw that her roommate _____ (eat) the whole cake.

    Show the answer

    2. When Anika opened the fridge, she saw that her roommate had eaten (eat) the whole cake.

Learn English with LexiBox

The full English course, A1 to C1: dialogues with recorded voices, readings, exercises, and every grammar point explained inside the lesson where you meet it.

No credit card.

More English grammar