Some of the most emotionally loaded sentences in any language express wishes about the past, regrets for things done or not done, abilities never exercised, and obligations never fulfilled. In Spanish, these constructions combine conditional and subjunctive tenses in precise ways. This page covers every major pattern.
Wishes about the past: ojalá + pluperfect subjunctive
When you wish something had been different in the past, ojalá combines with the pluperfect subjunctive (hubiera/hubiese + past participle). The present subjunctive after ojalá expresses wishes about the present or future; the pluperfect subjunctive shifts that wish into the irreversible past.
Ojalá hubieras venido a la fiesta.
I wish you had come to the party.
Ojalá nos hubiéramos conocido antes.
I wish we had met sooner.
Ojalá with different time references
| Time reference | Structure after ojalá | Example |
|---|---|---|
| Present (wish about now) | Present subjunctive | Ojalá tenga tiempo. |
| Future (hope) | Present subjunctive | Ojalá venga mañana. |
| Present (unlikely wish) | Imperfect subjunctive | Ojalá tuviera más tiempo. |
| Past (impossible wish) | Pluperfect subjunctive | Ojalá hubiera tenido más tiempo. |
The further back in time and the more impossible the wish, the further back the subjunctive goes. For a deeper look at ojalá, see Ojalá.
Regret constructions: habría + gustado / preferido
To express regret about how things turned out, use the conditional perfect of verbs like gustar, preferir, and querer, followed by a subordinate clause in the past subjunctive.
Me habría gustado que + imperfect/pluperfect subjunctive
Me habría gustado que vinieras.
I would have liked you to come.
Me habría gustado que hubieras venido.
I would have liked you to have come.
Nos habría gustado que nos avisaran antes.
We would have liked them to tell us sooner.
The first version (vinieras) is more common in speech. The second (hubieras venido) emphasizes that the missed event is fully in the past.
Habría preferido que + subjunctive
Habría preferido que no dijeras nada.
I would have preferred you hadn't said anything.
Habría preferido que me lo contaras antes.
I would have preferred you had told me earlier.
Lamentar / sentir + infinitive or que + subjunctive
Lamento no haber podido asistir.
I regret not having been able to attend.
Lamento que haya pasado esto.
I'm sorry this happened.
Arrepentirse de + infinitive or que + subjunctive
Me arrepiento de haber aceptado.
I regret having accepted.
Se arrepintió de que le hubiera dicho la verdad.
He regretted having told her the truth.
Unrealized ability: podría haber + past participle
To express something you could have done but did not, use the conditional of poder + haber + past participle.
Podría haber ido, pero no quise.
I could have gone, but I didn't want to.
Habría podido terminar si hubiera tenido más tiempo.
I would have been able to finish if I had had more time.
Podrías haber llamado, ¿no?
You could have called, couldn't you?
No pude haber hecho nada — no estaba ahí.
I couldn't have done anything — I wasn't there.
Note the difference: podría haber hecho (I could have done it, but didn't — conditional) vs. pude haber hecho (I was in a position to have done it — preterite of poder). The conditional version implies a missed opportunity; the preterite version states a factual ability.
Missed obligation: debería haber / tendría que haber
To express something you should have done but did not, use the conditional of deber or tener que + haber + past participle.
Debería haber + past participle
Debería haber estudiado más.
I should have studied more.
No debería haber venido.
I shouldn't have come.
Tendría que haber + past participle
Tendría que haberle dicho la verdad.
I should have told him the truth.
Tendríamos que haber salido más temprano.
We should have left earlier.
No tendría que haber aceptado ese trabajo.
I shouldn't have accepted that job.
Both debería haber and tendría que haber express missed obligation. In Latin American Spanish, tendría que haber is often perceived as slightly stronger or more colloquial, while debería haber is neutral. The difference is subtle.
Qué lástima / qué pena + que + subjunctive
These exclamatory expressions of regret always take the subjunctive, because they express emotion about an event.
Qué lástima que no hayas podido quedarte.
What a shame you couldn't stay.
Qué pena que se haya ido tan pronto.
What a pity he left so soon.
Qué lástima que no lo hayamos sabido antes.
What a shame we didn't know earlier.
Qué pena que no hubieran podido venir.
What a pity they couldn't come.
The present perfect subjunctive (haya + participle) is used for recent events with present relevance. The pluperfect subjunctive (hubiera + participle) is used for more distant past events or in narrative contexts.
Si clauses: wishing the past were different
Type 3 conditionals express unreal past situations and naturally overlap with wishes and regrets. See Type 3 Conditionals for the full treatment.
Si hubiera sabido, habría actuado diferente.
If I had known, I would have acted differently.
Si no hubieras dicho nada, no tendríamos este problema.
If you hadn't said anything, we wouldn't have this problem.
These are not just hypotheticals — they carry the emotional weight of regret. The pluperfect subjunctive in the si-clause implies "but I didn't know" or "but you did say something."
Master table: wish, regret, and ability expressions
| Expression | Structure | Example | English |
|---|---|---|---|
| Past wish | Ojalá + pluperfect subj. | Ojalá hubiera ido. | I wish I had gone. |
| Would have liked | Habría gustado + que + subj. | Me habría gustado que vinieras. | I would have liked you to come. |
| Would have preferred | Habría preferido + que + subj. | Habría preferido que no dijeras nada. | I would have preferred you said nothing. |
| Regret (same subject) | Lamentar + no haber + part. | Lamento no haber ido. | I regret not having gone. |
| Regret (different subject) | Sentir + que + subj. | Siento que no hayas podido venir. | I'm sorry you couldn't come. |
| Could have (but didn't) | Conditional of poder + haber + part. | Podría haber ido. | I could have gone. |
| Would have been able | Habría podido + infinitive | Habría podido terminar. | I would have been able to finish. |
| Should have | Debería haber + part. | Debería haber estudiado. | I should have studied. |
| Should have (stronger) | Tendría que haber + part. | Tendría que haberle dicho. | I should have told him. |
| What a shame | Qué lástima que + subj. | Qué lástima que no hayas venido. | What a shame you didn't come. |
| Unreal past condition | Si + pluperf. subj., cond. perf. | Si hubiera sabido, habría ido. | If I had known, I would have gone. |
Common errors
Error 1: Indicative after ojalá for past wishes
Ojalá pude ir. ✗ → Ojalá hubiera podido ir. ✓
Wrong: indicative after ojalá for a past wish. Must use pluperfect subjunctive.
Error 2: Confusing conditional and conditional perfect
Debería estudiar más. (present obligation — I should study more now)
This is about the present, not the past.
Debería haber estudiado más. (missed past obligation — I should have studied more)
This is about the past — the studying didn't happen.
Without haber, the sentence is about current or future obligation. With haber, it is about a past obligation that was not fulfilled.
Error 3: Using indicative after qué lástima que
Qué lástima que no vino. ✗ → Qué lástima que no haya venido. ✓
Emotion triggers require subjunctive.
Combining multiple patterns
In natural speech, these constructions often combine.
Ojalá hubiera podido ir — me habría gustado mucho que me conocieras.
I wish I could have gone — I would have really liked you to meet me.
Debería haber estudiado más. Si lo hubiera hecho, habría podido aprobar.
I should have studied more. If I had, I would have been able to pass.
Qué lástima que no haya venido. Podríamos haberle contado todo.
What a shame he didn't come. We could have told him everything.
These combinations feel natural because they all orbit the same emotional territory: looking back at what might have been.
Summary
- Ojalá + pluperfect subjunctive for impossible past wishes: Ojalá hubiera ido.
- Conditional perfect of gustar/preferir + que + subjunctive for regrets: Me habría gustado que vinieras.
- Lamentar/sentir + infinitive or que + subjunctive for expressing sorrow: Lamento no haber podido ir.
- Conditional of poder + haber + participle for unrealized ability: Podría haber ido.
- Debería/tendría que + haber + participle for missed obligation: Debería haber estudiado.
- Qué lástima/pena que + subjunctive for exclamatory regret: Qué lástima que no hayas venido.
- All past wishes and regrets about the past require the subjunctive — never the indicative.
For the foundational ojalá patterns, see Ojalá. For conditional chains involving these constructions, see Conditional Chains.
Related Topics
- Ojalá and Independent SubjunctiveB1 — Using ojalá to express wishes and hopes in Spanish, always with the subjunctive.
- Pluperfect Subjunctive: UsageC1 — When to use the pluperfect subjunctive to talk about events before another point in the past.
- Pluperfect Subjunctive: FormationC1 — Learn to form the pluperfect subjunctive with haber plus the past participle.
- Conditional Perfect: UsageB2 — The conditional perfect describes what would have happened under conditions that were never fulfilled.
- Conditional Perfect: FormationB2 — The conditional perfect is formed with the conditional of haber plus a past participle.
- Poder + Infinitive (Can/Be Able)A2 — Use poder + infinitive to express ability, permission, or possibility in Spanish.
- Deber + Infinitive (Should/Must)B1 — Use deber + infinitive to express moral obligation, duty, or strong recommendation, and deber de + infinitive for probability.
- Type 3: Contrary-to-Fact PastC1 — Use the pluperfect subjunctive with the conditional perfect to talk about past situations that didn't actually happen.
- Nested Subjunctive ClausesC1 — How to handle sentences where multiple subjunctive triggers stack inside each other, with concordance rules and common patterns.