Skip to content
The Spanish past perfect: había hablado, the past before the past

Nivelo

The Spanish past perfect: había hablado, the past before the past

The past perfect — había hablado, habías comido, habían vivido — is the imperfect of haber plus a participle, and it puts one past event before another: cuando llegamos al cine, la película ya había empezado. Haber changes for the person and carries an accent in every form; the participle never changes, and the irregular ones are the present perfect's — hecho, dicho, visto, vuelto. In much of Latin America the preterite often comes close to the same meaning: nunca me lo planteé, nunca me lo había planteado. The charts below lay it out, and ten sentences show whether it is automatic yet.

Free · 2 minutes · 10 sentences

Había or ha? Ten sentences, instant answers

Tap the form that fits. Each answer comes with the reason — the moment the sentence looks back from, a form of haber, an irregular participle or where the pronoun goes — so a miss teaches the rule instead of just counting against you. About two minutes.

Ten sentences on one grammar point are not a level test. The free Spanish level test above places you on the A1–C2 scale from reading and listening; this quiz tells you whether one rule is automatic yet.

How do you form the past perfect in Spanish?

Take the imperfect of haber — había, habías, había, habíamos, habíais, habían — and add the participle: -ado for -ar verbs, -ido for -er and -ir verbs. Haber does all the changing; the participle is the same for every person: había comido, habíamos comido, habían comido.

Every form of haber here carries an accent on the í, which is said apart from the a: había, habías, habíamos. Yo and él share a form, so the subject or the story says who: yo había salido, ella había salido. Usted takes the él form and ustedes the ellos form: usted había pagado, ustedes habían pagado.

After haber the participle always ends in -o, whatever it refers to: las cartas que había escrito, never escritas. A pronoun goes before haber, never between the two words: las había encontrado, se lo había dicho. The participles that break the rule — hecho, dicho, puesto, visto, vuelto, roto, muerto — are the same as in the present perfect, and the present perfect has the chart.

PersonHaberWith the participle
yohabíahabía hablado
túhabíashabías comido
él, ella, ustedhabíahabía vivido
nosotroshabíamoshabíamos hablado
vosotroshabíaishabíais comido
ellos, ustedeshabíanhabían vivido
The imperfect of haber, then the participle, which stays the same for every person. Forms from the conjugation tables of the academies' Diccionario de la lengua española (haber, hablar, comer, vivir). Checked November 14, 2026.

When do you use the past perfect?

The past perfect puts one past event before another: cuando llegamos al cine, la película ya había empezado — it started first, then we arrived. The later event can be in the sentence or only in the story. In the academies' example, caminé entre las coronas y entré en la sala; alguien había abierto las ventanas, the windows were opened before the speaker walked in. Make it alguien abrió las ventanas and the order flips: the preterite suggests they were opened after.

Ya and todavía no come with it often: cuando llegué, ya se había ido; todavía no había salido el sol. With nunca and a time that ended in the past, it says never before then: nunca había visto el mar hasta ese verano. And hacía counts back from that past moment: había llegado a la ciudad hacía dos años — two years before then, where hace dos años would count from today.

UseExample
Before another past eventCuando llegamos, la película ya había empezado.
A step back in a storyAlguien había abierto las ventanas.
Never before thenNunca había visto el mar hasta ese verano.
How long before thenHabía llegado a la ciudad hacía dos años.
The past perfect's main jobs, with the academies' own examples where they give one. From the Nueva gramática (§23.16a, b, g). Checked November 14, 2026.

Había comido or he comido?

Both are haber plus a participle, and the difference is the moment they look back from. He comido looks back from now; había comido from a moment in the past. Ya he cenado is I've already had dinner, said this evening; ya había cenado cuando llamaste is I had already had dinner when you called. With a past moment in the sentence — cuando llegamos, hasta ese verano — the present perfect does not fit: la película ya había empezado, never ya ha empezado.

Without one, both can work. Said at the party itself, nunca me había sentido tan agasajada and nunca me he sentido tan agasajada — I had never felt, or I have never felt, so welcome — both mean never until this moment, and the academies' example has the pair.

Había comido or comí? Latin America and Spain

In much of Latin America the preterite often comes close to the past perfect's meaning, especially with a word of time: nunca me lo planteé and nunca me lo había planteado say nearly the same thing. The academies' grammar records the overlap as greater in American Spanish than in European Spanish. Both are correct, and the past perfect is understood everywhere for the earlier of two past events.

Me había parecido: the past perfect's other uses

It softens a remark, the way the imperfect does: disculpe, me había parecido que la conocía — excuse me, I thought I knew you. It tells dreams and children's games: en mi sueño, tú me habías comprado un auto nuevo; tú te habías convertido en princesa. In conversation it can stand in for habría: si yo fuera tú, ya había aceptado. And it can reach back without a second event in sight: —Paula está enferma. —No me lo habías dicho.

In the popular speech of the Andes and the River Plate, it can also say you have just found something out. In Andean Peru, así que habías tenido novia means so you have a girlfriend — I'm only now hearing about it — and había sido tarde means it turns out it's late. The academies note that these uses have not reached formal Spanish.

Why do English speakers get the past perfect wrong?

English builds I had eaten the same way — had plus a participle — so the shape comes easily. The slips come from the Spanish learned first, the present perfect, carried into the past: ya ha empezado after cuando llegamos, where the order needs ya había empezado; an irregular participle built by the rule (había hacido, había decido); a participle that agrees (las cartas que había escritas); a pronoun put after haber.

Our own grading data has seen the past perfect too seldom to rate: 11 graded forms from 5 learners (recounted September 24, 2026), 4 of them wrong — too few for a percentage that means anything, so the quiz above is the measure.

What comes after the past perfect?

The present perfect is the same haber and participle looking back from now — he comido — with the chart of irregular participles. Preterite vs imperfect is the choice in every story the past perfect sits inside, and the preterite tense and the imperfect tense have their forms — había is the imperfect of haber. Ya vs todavía sorts the two words that come with it most: ya se había ido, todavía no había llegado. Hace vs desde hace says how long ago, and si clauses use the past perfect's subjunctive twin for a past that did not happen: si hubiera sabido. Telling a story in the past is the step from A2 to B1: how to go from A2 to B1 is the plan. The free Spanish level test places you on the A1–C2 scale in five minutes.

Ready to find out?

Take the free 5-minute test

Frequently asked questions

How do you form the past perfect in Spanish?▾

With the imperfect of haber — había, habías, había, habíamos, habíais, habían — and a participle: había hablado, habías comido, habían vivido.

When do you use the past perfect in Spanish?▾

For an event before another past event: cuando llegué, ya se había ido. The later event can be in the sentence or only in the story.

What is the difference between he comido and había comido?▾

He comido looks back from now — I have eaten. Había comido looks back from a moment in the past — I had eaten: ya había comido cuando llamaste.

Does había have an accent?▾

Yes, in every form: había, habías, habíamos, habíais, habían. The í is said apart from the a, and a stressed i beside a always takes an accent.

Where does the pronoun go in the past perfect?▾

Before había, never between había and the participle: lo había visto, se lo había dicho.

Do Latin Americans use the past perfect?▾

Yes, everywhere. In much of Latin America the preterite also comes close to its meaning, especially with a word of time: nunca me lo planteé, nunca me lo había planteado.

CEFR-based proficiency assessment. Not an official certification from Cambridge, Cervantes, or the Council of Europe.