How to use the present perfect and past perfect subjunctive in Spanish

A young woman wearing a long dress sitting in the sun.

The present perfect subjunctive and the past perfect subjunctive are two of the three past tenses of the Spanish subjunctive mood. In this post we will show you how to form and use the present perfect and past perfect subjunctive to talk about “what has happened” or “what would have happened.”

For example:

Espero que ya hayas comido.
I hope you have already eaten.

Esperaba que ya hubieras comido.
I was hoping you would have already eaten.

Both of these tenses are compound tenses, that means that they are formed with two verbs: haber and a past participle.
Recall that the subjunctive has three past tenses. To learn about the imperfect subjunctive don’t miss out on our post “How to use the imperfect subjunctive in Spanish?

Table of Contents

The Spanish present perfect subjunctive

First, we’ll review the present perfect subjunctive, which is used to discuss “what has happened.”

How to form the present perfect subjunctive?

The present perfect subjunctive is formed with the auxiliary haber in the present subjunctive and the past participle of the main verb.

haber in the present subjunctive + past participle

Let’s see some examples while reviewing the conjugations of verb haber in the present subjunctive: 

PersonPresent subjunctive of the verb haber+ past participle

*vosotros is only used in Spain.

For example:

Espero que Sandra ya haya salido de la oficina, no quiero llegar tarde.
 I hope that Sandra has already left the office, I don’t want to be late.

👉 Do you remember how to form the past participle? If you need to refresh your memory really quickly, check out a cheat-sheet we created on how to form the Spanish past participle.

How to use the present perfect subjunctive?

We use the present perfect subjunctive to indicate an action that happened prior to the present or the future and in any of the situations the Spanish subjunctive would be used: to express doubt, negation, uncertainty, with triggering conjunctions, etc. 

No estoy segura que lo haya comprado. 
 ⤷present perfect subjunctive

I’m not sure he bought it.

The same triggers that apply to the Spanish present subjunctive also apply to the present perfect subjunctive, with a slightly different relation to the present and future expressed in the main clause. Let’s see what those are!

  • Actions prior to the present

    The present perfect subjunctive expresses a current sentiment or thought about an event or action in the past.

Espero que el bebé haya dormido bien.
I hope the baby slept well.
   ⤷ I’m currently hoping that baby slept well, though I’m unsure whether he did or not.

Dudamos que hayas estudiado toda la noche.
We doubt that you studied all night.

This tense is useful to express recent events in the past:

Acaba la tarea, a menos que ya la hayas hecho
Finish your homework, unless you have already done it.

⤷TIP The present perfect subjunctive can also be paired with a verb in the present perfect indicative in the main clause.

Ha sido una lástima que te hayas perdido el inicio del espectáculo.
It has been a shame that you missed the beginning of the show

  • Actions prior to the future

    We can also use the present perfect subjunctive as the “past of the future.” That means that when we use a verb in the future in the main clause, the verb in the subordinate clause will have potentially happened before the action in the future. 

Tendré vacaciones en cuanto haya acabado los exámenes finales.
I will go on vacation as soon as I am done with the final exams.

We can also refer to the past of the future, but with a verb in the imperative. For example,

Avísame cuando hayas llegado a casa.
Let me know when you have arrived home.


When used with ojalá (I wish), this tense expresses a present or future wish that is possible.

Ojalá Luis haya salido temprano del trabajo. 
I wish/hope Luis has left early from work.

The Spanish past perfect subjunctive

Next, we’ll discuss the past perfect subjunctive, which is used to talk about “what would have happened.”

The Spanish past perfect subjunctive

Finally! We made it to the last of the subjunctive tenses: the past perfect subjunctive (also known as the pluperfect subjunctive). It is formed almost like the present perfect subjunctive, but this time we need to use the auxiliary haber in the imperfect subjunctive.

haber in the imperfect subjunctive + past participle

Let’s review the conjugations:

Personimperfect subjunctive of the verb haber

*vosotros is only used in Spain.

The verb haber in the imperfect subjunctive (just like the other verbs in the imperfect subjunctive) has two forms: the -ra form and the -se form! 👉 Don’t forget to check out the conjugation tables for more!

How to use the past perfect subjunctive?

And when do we use this form? Well, similarly to when we use the Spanish past perfect indicative to talk about “the past of the past.” That is, when we are talking about the past and we reference an action that was done before that point in the past.

For example:

Cuando llegué a casa, Juan ya se había acostado.
By the time I arrived home Juan was already asleep. 

The past perfect subjunctive is used in this same context, but when we express doubt, negation, or in any other context in which the subjunctive is triggered.

Cuando llegué a casa, me sorprendió que Juan ya se hubiera acostado.  
                                                                                                 ⤷ subjunctive
By the time I arrived home, I was surprised that Juan would have already been asleep.

As observed in the first example, we are talking about an event in the past that was completed (Juan was asleep) before the second past event (I arrived home). But, in the second example, we express surprise that Juan was asleep by using me sorprendió, which triggers the subjunctive in the past.

⤷TIP When talking about the past events, you can use any indicative past tense in the main clause, for instance: imperfect (esperaba, I was hoping), preterite (esperé, I hoped), or past perfect (había esperado, I had hoped).

Esperaba que hubieras hecho la cena antes de que llegara a casa.
I was hoping you would have made dinner before I arrived home.

  • With the perfect conditional

    The Spanish perfect conditional can also be paired with the past perfect subjunctive to express a possibility that could have occurred before a past event.

Me habría gustado que nos hubieran traído la ensalada antes del plato principal.
I would have liked if they had brought us the salad before the main course.

Need a refresher on the Spanish perfect conditional? Head over to our post!

  • To express wishes in the past

    We can also express wishes using ojalá (I wish) and the past perfect subjunctive when we want to express something we wished had happened in the past.

Ojalá nos hubiéramos dado cuenta antes.

I wish we would have realized earlier.

Ojalá me lo hubieras dicho en la mañana.

I wish you would have told me in the morning.

  • ‘Si’ clauses

    Another common use of the past perfect subjunctive is in a si (if) clause together with the conditional to express hypothetical situations in the past. In this case we use the past perfect subjunctive when we express impossible conditions.

  Si CLAUSE                   MAIN CLAUSE

Si past perfect subjunctive  + conditional

Si hubiera tenido dinero, habría comprado una mansión.
 If I had had money, I would have bought a mansion.

In this type of expression, the past perfect subjunctive can be paired up with both the present conditional to refer to a condition with consequences in the present:

Si hubieras estudiado más, no estarías tomando el examen ahora.
If you had studied more, you wouldn’t be taking the exam now.

Or with the perfect conditional, to refer to a condition with consequences in the past:

Si hubieras estudiado más, no  habrías reprobado la clase.
If you had studied more you wouldn’t have failed the class.

To sum up

In this post we discussed how to form the present perfect and past perfect subjunctive and the main uses of each of these tenses. 

  • We saw that these tenses are used when we have a trigger for the subjunctive in the main clause for example: an expression of doubt, negation, uncertainty, or a triggering conjunction, but we refer to a past action. 
    • The present perfect subjunctive is used for actions prior to the present or future.
    • The past perfect subjunctive is used for actions prior to the past. 
  • We also saw that the past perfect subjunctive is used in si (if) clauses to express hypotheses about the past. 
  • And finally we saw how these tenses are used with ojalá to make wishes that may or may not be possible.

To sum up how to use the past tenses of the subjunctive in Spanish, here’s a summary of the tenses that typically pair up with each other. 

Tenses in the main clauseTenses in the subordinate clause
Present indicative ➜ Present perfect subjunctive
➜ Imperfect subjunctive
Past tenses indicative➜ Imperfect subjunctive
➜ Past perfect subjunctive
Future indicative or
➜ Present perfect subjunctive
Present conditional
Past conditional
➜ Imperfect subjunctive
➜ Past perfect subjunctive
Are you interested in learning more about Spanish Grammar? Check out our Spanish Grammar Homepage.
Are you ready to practice? Try out the activities we created for you!  ¡Esperamos que lo disfrutes! (We hope you enjoy it!)
Meet The Author:
Author-De Nicolas Foto
Irati de Nicolás Saiz
Irati is a linguist and an experienced University Spanish teacher with a PhD in Hispanic Linguistics.

To embark on your next language adventure, join the Mango fam!


Subjunctive activity


Subjunctive activity

Our use of cookies

We use necessary cookies to make our site work. We’d also like to set analytics cookies that help us make improvements by measuring how you use the site. These will be set only if you accept.

Necessary cookies

Necessary cookies enable core functionality such as security, network management, and accessibility. You may disable these by changing your browser settings, but this may affect how the website functions.

Analytics cookies

We’d like to set Google Analytics cookies to help us improve our website by collecting and reporting information on how you use it. The cookies collect information in a way that does not directly identify anyone. For more information on how these cookies work please see our ‘Cookies page’.

Skip to content