Spanish has two infinitive forms. The simple infinitive — comer, salir, hablar — is one you already know well. But there is also a compound infinitive: haber comido, haber salido, haber hablado. This form combines the infinitive of haber with a past participle, and it signals that an action was completed before the main verb. Think of it as Spanish's way of saying "having done" or "to have done."
The compound infinitive appears constantly in writing and formal speech, and it is also common in everyday Latin American conversation — especially after prepositions like después de, sin, and por. Mastering it will unlock more precise, nuanced expression of time relationships between actions. It also opens the door to elegant conditional alternatives (de haber sabido) and the entire family of modal + perfect constructions (debería haber ido).
Formation
The structure is always the same:
| Component | Form | Example |
|---|---|---|
| Infinitive of haber | haber | — |
| -ado | haber terminado, haber hablado, haber cenado |
| -ido | haber comido, haber vivido, haber dormido |
| varies | haber dicho, haber hecho, haber visto, haber escrito, haber puesto, haber abierto, haber roto |
The past participle in this construction never changes for gender or number — it always stays in the masculine singular form, regardless of who performed the action or how many people were involved.
After prepositions
This is the most frequent use of the compound infinitive. It appears after prepositions to express an action completed before or in relation to the main clause. Each preposition contributes a different shade of meaning — temporal sequence, absence, cause, or contrast.
Después de haber — after having
The most straightforward use: one action was fully completed before the next one began.
Después de haber comido, salimos a caminar por el parque.
After having eaten, we went out for a walk in the park.
Sin haber — without having
This combination expresses the absence of a completed action. It highlights that something expected or assumed did not happen.
Se fue sin haber dicho una sola palabra.
He left without having said a single word.
Llegaron sin haber dormido en toda la noche.
They arrived without having slept all night.
Al haber — upon having
Al haber works like al + simple infinitive, but emphasizes that the action was already completed when the consequence occurred. It carries a slightly more formal tone.
Al haber llegado tarde, no pudo entrar a la reunión.
Upon having arrived late, he couldn't get into the meeting.
Por haber — for having / because of having
This expresses cause or blame. It answers the question "why?" and is extremely common in news reporting and legal contexts.
Lo despidieron por haber mentido en su currículum.
They fired him for having lied on his résumé.
A pesar de haber — despite having
This expresses a concessive relationship — the completed action did not prevent the main action.
A pesar de haber estudiado toda la noche, no aprobó el examen.
Despite having studied all night, she didn't pass the exam.
Common preposition + haber + participle patterns
| Preposition | Meaning | Example | Translation |
|---|---|---|---|
| después de haber | after having | después de haber cenado | after having had dinner |
| sin haber | without having | sin haber estudiado | without having studied |
| al haber | upon having | al haber entendido | upon having understood |
| por haber | for having | por haber olvidado | for having forgotten |
| antes de haber | before having | antes de haber empezado | before having started |
| a pesar de haber | despite having | a pesar de haber intentado | despite having tried |
| además de haber | besides having | además de haber trabajado | besides having worked |
| en lugar de haber | instead of having | en lugar de haber ido | instead of having gone |
| con el fin de haber | in order to have | con el fin de haber terminado a tiempo | in order to have finished on time |
De haber — the conditional alternative
One powerful use of the compound infinitive is as a replacement for conditional clauses. De haber + participle means "if (someone) had done something" — a counterfactual about the past. This is one of the most elegant constructions in Spanish, and it is surprisingly common in everyday speech as well as writing.
De haber sabido, no habría venido.
Had I known, I wouldn't have come.
De haber tenido más tiempo, habríamos terminado el proyecto.
If we had had more time, we would have finished the project.
This construction is equivalent to the pluperfect subjunctive conditional: de haber sabido = si hubiera sabido. Both mean the same thing, but the compound infinitive version is more concise and often sounds more natural in rapid speech. You can negate it by inserting no after de: De no haber llovido, habríamos ido a la playa (If it hadn't rained, we would have gone to the beach).
After modal verbs — preview
The compound infinitive also combines with modal verbs to express what should have, could have, or must have happened. These are among the most emotionally loaded constructions in Spanish — used for regret, criticism, and deduction. This topic is covered in full detail in Modal + Perfect Infinitive, but here is a quick preview:
Debería haber ido al médico cuando empezaron los síntomas.
I should have gone to the doctor when the symptoms started.
Note that in the modal + perfect construction, haber keeps its infinitive form and follows the conjugated modal directly.
As the subject of a sentence
The compound infinitive can function as the subject of a sentence, just like any infinitive. When it does, the main verb agrees in third person singular — the compound infinitive is treated as a single grammatical unit, regardless of how many people were involved in the action.
Haber llegado tarde fue un error grave.
Having arrived late was a serious mistake.
Haber vivido en varios países le dio una perspectiva diferente.
Having lived in several countries gave her a different perspective.
This use is more common in writing and formal speech. In casual conversation, speakers would more likely say Llegar tarde fue un error or rephrase with a que clause: Que haya llegado tarde fue un error.
With pronouns
When object pronouns accompany the compound infinitive, they attach to haber as enclitics — never to the participle. This is a firm rule with no exceptions.
Después de habérselo dicho, se sintió aliviada.
After having told him (about it), she felt relieved.
Lamentó haberse ido sin despedirse de nadie.
She regretted having left without saying goodbye to anyone.
Note the accent marks: when one or more pronouns attach, the stress pattern shifts and a written accent is required on the e of haber (habérselo, habérmelo, habérsela). The pronoun order follows the standard rule: reflexive or indirect object first, then direct object.
Compound infinitive vs. simple infinitive
In many cases, both the simple and compound infinitive are grammatically correct after prepositions. The difference is one of emphasis on completion:
| Simple infinitive | Compound infinitive | Nuance |
|---|---|---|
| después de comer | después de haber comido | Compound stresses that eating was fully completed before the next action |
| sin dormir | sin haber dormido | Compound emphasizes the total absence of a completed action |
| por llegar tarde | por haber llegado tarde | Compound places the event more firmly in the past as a done deed |
In everyday conversation, the simple infinitive is more common. The compound infinitive is preferred when you want to stress completion, when there is a clear time gap between the two events, or when the register is formal or written. In practice, both versions are understood identically in most contexts, and the choice is largely stylistic.
Después de pensarlo bien, acepté la oferta.
After thinking it over, I accepted the offer. (simple — neutral, everyday)
Después de haberlo pensado bien durante toda la semana, acepté la oferta.
After having thought it over carefully all week, I accepted the offer. (compound — emphasizes the deliberation was thorough and complete)
Where you will encounter it
The compound infinitive appears across all registers in Latin American Spanish, though its frequency varies by context:
- Everyday conversation: common after después de, sin, and por; also in de haber sabido conditional alternatives
- News and journalism: frequent in causal and temporal constructions (por haber violado las normas, después de haber ganado el campeonato)
- Legal and administrative texts: standard phrasing for expressing prior conditions and consequences
- Academic writing: used to establish temporal and logical relationships between events
You will also encounter it in song lyrics, literature, and social media — anywhere a speaker wants to emphasize that an action was fully completed before something else happened.
Common mistakes
Mistake 1: Making the participle agree. Incorrect: Después de haber terminada la tarea... Correct: Después de haber terminado la tarea... — the participle after haber never changes form.
Mistake 2: Placing pronouns on the participle. Incorrect: Sin haber dichole nada... Correct: Sin haberle dicho nada... — pronouns always attach to haber.
Mistake 3: Using de haber for present hypotheticals. Incorrect: De haber más tiempo, lo haría. Correct: De tener más tiempo, lo haría. (simple infinitive for present hypothetical) Correct: De haber tenido más tiempo, lo habría hecho. (compound for past counterfactual)
Mistake 4: Forgetting the accent mark with pronouns. Incorrect: Después de haberselo dicho... Correct: Después de habérselo dicho... — the accent on é is mandatory when pronouns attach.
Related pages
- Infinitive After Prepositions — simple infinitive after prepositions
- Past Participle Formation — regular and irregular participles
- The Compound Gerund — habiendo + participle, a related compound form
- Modal + Perfect Infinitive — full treatment of debería haber, podría haber, etc.
- Conditional Chains — complex conditional sentences
Related Topics
- Infinitive after PrepositionsA2 — After a preposition, Spanish always uses the infinitive, never the gerund.
- Infinitive after Verbs (No Preposition)A2 — A core group of Spanish verbs is followed directly by an infinitive, with no preposition in between.
- Past Participle FormationA2 — Regular past participles end in -ado for -ar verbs and -ido for -er and -ir verbs, with twelve common irregulars and accented -ído for vowel stems.
- Deber + Infinitive (Should/Must)B1 — Use deber + infinitive to express moral obligation, duty, or strong recommendation, and deber de + infinitive for probability.
- Poder + Infinitive (Can/Be Able)A2 — Use poder + infinitive to express ability, permission, or possibility in Spanish.
- The Compound Gerund (Habiendo + Participle)C1 — How to use 'habiendo + past participle' to express a completed prior action — temporal, causal, and conditional uses in formal and written Spanish.
- Modal + Perfect Infinitive (Should Have, Could Have, Must Have)B2 — How modal verbs combine with 'haber + participle' to express regret, unrealized possibility, and deduction about the past — debería haber, podría haber, tiene que haber, and more.