Verbs: imperative and subjunctive B2
Perfect subjunctives: haya and hubiera
Me alegra que hayas venido, Ojalá hubiera ido
The perfect subjunctive, haya hablado, is used after a present trigger for an action already completed: Me alegra que hayas venido. The pluperfect subjunctive, hubiera hablado or hubiese hablado, does the same after a past trigger, and with ojalá it expresses regret: Ojalá hubiera ido, I wish I had gone.
Tables
Forms
| Person | Perfect subjunctive | Pluperfect subjunctive |
|---|---|---|
| yo | haya hablado | hubiera hablado / hubiese hablado |
| tú | hayas hablado | hubieras hablado / hubieses hablado |
| él / ella / usted | haya hablado | hubiera hablado / hubiese hablado |
| nosotros / nosotras | hayamos hablado | hubiéramos hablado / hubiésemos hablado |
| vosotros / vosotras | hayáis hablado | hubierais hablado / hubieseis hablado |
| ellos / ellas / ustedes | hayan hablado | hubieran hablado / hubiesen hablado |
Which one to use
| Situation | Form | Example |
|---|---|---|
| Present trigger, action already done | haya + participle | Me alegra que hayas venido. |
| Done by a future moment | haya + participle | Cuando hayas terminado, llámame. |
| Past trigger, earlier action | hubiera + participle | Me sorprendió que no hubiera llamado. |
| Hope about an unknown result | ojalá + haya | Ojalá haya aprobado. |
| Regret about the past | ojalá + hubiera | Ojalá hubiera estudiado. |
| As if something had happened | como si + hubiera | Actúa como si no hubiera pasado nada. |
Haya: completed actions after a present trigger
Use the perfect subjunctive where the indicative would have the present perfect, but a subjunctive trigger comes first. Has venido, you have come, becomes me alegra que hayas venido. It covers today, recent events and life experience, like the present perfect.
Examples
-
Me alegra que hayas venido.
I'm glad you've come.
-
No creo que haya terminado todavía.
I don't think she has finished yet.
-
Es raro que no hayan llamado.
It's strange that they haven't called.
-
Espero que lo hayáis pasado bien.
I hope you've had a good time.
Done by a future moment
After cuando, en cuanto or hasta que, the perfect subjunctive refers to an action that will already be complete at a future moment. It stresses the finished action: cuando hayas terminado, once you have finished.
Examples
-
Cuando hayas terminado, avísame.
When you've finished, let me know.
-
Llámame en cuanto hayas llegado.
Call me as soon as you've arrived.
-
No salgas hasta que hayas hecho los deberes.
Don't go out until you've done your homework.
Hubiera: an earlier action after a past trigger
When the trigger is in the past and the action happened before it, use the pluperfect subjunctive. It is the subjunctive of había hablado: habían ganado, they had won, becomes me alegró que hubieran ganado.
Hubiera and hubiese are equally correct here. Hubiera is more frequent.
Examples
-
Me sorprendió que no hubiera llamado.
I was surprised he hadn't called.
-
No creía que lo hubieran hecho ellos.
I didn't believe they had done it.
-
Fue una pena que te hubieras ido tan pronto.
It was a pity you had left so early.
Ojalá: hope or regret
Ojalá with haya hopes that something has happened, when the speaker does not know yet: ojalá haya llegado bien, I hope she got there safely.
Ojalá with hubiera regrets something that did or did not happen and cannot be changed: ojalá hubiera ido, I wish I had gone.
Examples
-
Ojalá haya llegado bien.
I hope she got there safely.
-
Ojalá hayan ganado el partido.
I hope they won the match.
-
Ojalá hubiera sabido la verdad.
I wish I had known the truth.
-
Ojalá no se lo hubiera dicho.
I wish I hadn't told him.
Como si with hubiera
Como si plus the pluperfect subjunctive compares with an imagined earlier event: as if something had happened.
Examples
-
Actúa como si no hubiera pasado nada.
He's acting as if nothing had happened.
-
Me miró como si me hubiera visto antes.
She looked at me as if she had seen me before.
Hubiera in would have
The -ra form also works as would have, in place of the conditional perfect: yo lo hubiera hecho means yo lo habría hecho. In an unreal past condition with si, the si part always takes hubiera or hubiese: si lo hubiera sabido.
Examples
-
Yo no lo hubiera comprado.
I wouldn't have bought it.
-
Si me hubieras llamado, habría ido.
If you had called me, I would have gone.
Common mistakes
-
Wrong Me alegra que has venido.
Right Me alegra que hayas venido.
After a feeling with que, the present perfect turns into the perfect subjunctive.
-
Wrong Ojalá habría estudiado más.
Right Ojalá hubiera estudiado más.
Ojalá never takes the conditional. Regret about the past takes the pluperfect subjunctive.
-
Wrong No creo que lo haya hacido.
Right No creo que lo haya hecho.
Hacer has the irregular participle hecho in every compound form.
-
Wrong Si lo habría sabido, te habría avisado.
Right Si lo hubiera sabido, te habría avisado.
After si Spanish uses the pluperfect subjunctive, never the conditional.
Frequently asked questions
What is the difference between haya and hubiera?
Haya plus a participle follows a present trigger: me alegra que hayas venido. Hubiera plus a participle follows a past trigger, or expresses regret and unreal past events: me alegró que hubieras venido, ojalá hubieras venido.
What is the difference between ojalá haya and ojalá hubiera?
Ojalá haya aprobado is a hope: you don't know the result yet and want it to be good. Ojalá hubiera aprobado is a regret: you know he did not pass, and you wish he had.
Is it hubiera or hubiese?
Both are correct and mean the same in the pluperfect subjunctive: si lo hubiera sabido, si lo hubiese sabido. Hubiera is more common. Only hubiera is used in place of habría in the would have part of a sentence.
More in this section
Verbs: imperative and subjunctive
- Imperative: commands in Spanish A2
- Present subjunctive: forms B1
- Subjunctive after wishes and feelings B1
- Subjunctive after doubt and opinion B1
- Cuando + subjunctive: time clauses B1
- Para que, aunque and other conjunctions B2
- Subjunctive in relative clauses B2
- Imperfect subjunctive: hablara, hablase B2
Read Spanish at this level
Grammar sticks when you meet it in real sentences. These pages have Spanish texts with a translation under every sentence.