The rule at a glance

hayahaber+habladoparticiple=haya hablado(that) I have spoken

haya, hayas, haya, hayamos, hayáis, hayan; Like the present subjunctive, but for something already done

  • Doubt or denial

    dudo que + haya

    Dudo que haya llegado

    I doubt he has arrived

  • Emotion or reaction

    me alegro de que + hayas

    I'm glad you've passed

    Me alegro de que hayas aprobado

    I'm glad you've passed

  • Possibility

    es posible que + hayan

    Es posible que hayan terminado

    It's possible they've finished

  • Wishes or hopes

    espero que + haya

    I hope she's recovered

    Espero que se haya recuperado

    I hope she's recovered

  • The test: if the trigger needs the subjunctive (doubt, emotion, possibility, wishes) and the action is finished, use the perfect subjunctive: Dudo que hayan llegado (I doubt they have arrived).

Forms

The perfect subjunctive (pretérito perfecto de subjuntivo) combines the perfect aspect (a completed action) with the subjunctive mood. It's the present subjunctive of haber + a past participle, just as the present perfect is he, has, ha + participle.

PersonHaberExampleEnglish
yohayahaya habladoI have spoken
túhayashayas comidoyou have eaten
él/​ella/​ustedhayahaya vividohe/she has lived
nosotros/​ashayamoshayamos terminadowe have finished
vosotros/​ashayáishayáis salidoyou all have left
ellos/​ellas/​ustedeshayanhayan llegadothey have arrived

Forming past participles

Regular -ar verbs → -ado

hablar → hablado, estudiar → estudiado, trabajar → trabajado

Regular -er/-ir verbs → -ido

comer → comido, vivir → vivido, salir → salido

Common irregular participles

hacer → hecho, escribir → escrito, ver → visto, decir → dicho, poner → puesto, volver → vuelto, abrir → abierto, romper → roto, morir → muerto

Common triggers for the perfect subjunctive

Use it after subjunctive triggers when the action is completed:

TriggerExampleEnglish
Espero queEspero que hayas llegado bienI hope you've arrived safely
Dudo queDudo que hayan terminadoI doubt they've finished
Me alegro de queMe alegro de que hayas aprobadoI'm glad you've passed
Es posible queEs posible que haya llovidoIt's possible it has rained
No creo queNo creo que se hayan idoI don't think they've left
OjaláOjalá haya funcionadoI hope it worked / has worked

When to use it

1. Hope and wishes

After espero que and ojalá, when you hope something has happened.

Espero que hayas tenido un buen viaje – I hope you've had a good journey

Ojalá hayamos hecho lo correcto – I hope we've done the right thing

Espero que no hayan tenido problemas – I hope they haven't had problems

Ojalá ya se haya recuperado – I hope he/she has already recovered

2. Doubt and denial

Dudo que hayan recibido mi mensaje – I doubt they've received my message

No creo que haya llovido tanto – I don't think it has rained that much

Es imposible que hayamos perdido el tren – It's impossible we've missed the train

No pienso que hayas hecho nada mal – I don't think you've done anything wrong

3. Emotion and reaction

Me alegro de que hayáis aprobado el examen – I'm glad you've all passed the exam

Siento que no hayas podido venir – I'm sorry you couldn't come

Me sorprende que hayan terminado tan rápido – I'm surprised they've finished so quickly

Es una pena que haya llovido – It's a shame it rained

4. Possibility and uncertainty

Es posible que hayan rechazado la propuesta – It's possible they've rejected the proposal

Puede que haya llegado tarde – He/she may have arrived late

Es probable que hayamos ganado – It's likely we've won

Quizás hayan olvidado la cita – Maybe they forgot the appointment

Present or perfect subjunctive?

Present subjunctive (ongoing/future): Dudo que llegue – I doubt he will arrive / is arriving

Perfect subjunctive (completed): Dudo que haya llegado – I doubt he has arrived

If the action is completed (it has happened), use the perfect subjunctive. If it is ongoing or in the future, use the present subjunctive.

Common mistakes

Subjunctive, not indicative, after espero que

Not this (incorrect): Espero que has llegado

But this (correct): Espero que hayas llegado. After subjunctive triggers like 'espero que', use perfect subjunctive (hayas), not indicative (has).

Doubt needs the subjunctive

Not this (incorrect): No creo que han venido

But this (correct): No creo que hayan venido. After 'no creo que' (doubt), you must use subjunctive mood.

Irregular participles

Not this (incorrect): Espero que haya escribido

But this (correct): Espero que haya escrito. Remember irregular participles: escribir → escrito, not *escribido.

Alegrarse de que

Not this (incorrect): Me alegro que hayas aprobado

But this (correct): Me alegro de que hayas aprobado. Don't forget the preposition 'de' after 'alegrarse'.

Quick check

6 questions
  1. 1. How do you say 'I hope you've arrived safely'?

  2. 2. Complete: 'Dudo que ___ terminado' (I doubt they've finished)

  3. 3. Which is correct for 'I'm glad you've passed'?

  4. 4. What does 'No creo que haya llovido' mean?

  5. 5. Choose the correct form: 'Es posible que (nosotros) ___ perdido el tren'

  6. 6. Complete: 'Ojalá ___ funcionado' (I hope it has worked)

Test your understanding of the perfect subjunctive:

Next steps

Put it into practice

Fill-in-the-blank exercises with instant feedback, from beginner to advanced.

Practise by ear: Hear the mood →

Practise subjunctive →

Printable cheat sheet (PDF)

A4, free to print. All cheat sheets →

Going further

Perfect or pluperfect subjunctive: haya or hubiera?

Perfect vs pluperfect subjunctive

Perfect subjunctive (haya): Espero que haya llegado – I hope he has arrived (present perspective)

Pluperfect subjunctive (hubiera): Esperaba que hubiera llegado – I hoped he had arrived (past perspective)

Use haya for present main verbs (espero, dudo). Use hubiera for past main verbs (esperaba, dudaba).

Quick memory check: ask yourself "Is the main verb in the present tense?" (espero, dudo, me alegro). If yes, use haya + participle for completed subjunctive actions. If the main verb is in the past, use hubiera + participle instead (the pluperfect subjunctive, built on the imperfect subjunctive of haber).