Hay + Que + Infinitive (One Must)

The construction hay + que + infinitive expresses impersonal obligation: something that needs to be done, but without specifying who has to do it. English equivalents include "one must...", "it's necessary to...", or "you have to..." (in the general sense, not aimed at a specific listener).

It comes from haber in its impersonal form (hay), and it's used constantly in Latin American Spanish for general statements, rules, advice, and common-sense observations.

Formation

Unlike tener que, hay que doesn't conjugate for person—there's no subject. You simply use hay que + infinitive.

TenseFormMeaning
Presenthay queone must / it is necessary to
Imperfecthabía queone had to / it was necessary to
Preteritehubo queone had to (and did)
Futurehabrá queone will have to
Conditionalhabría queone would have to

Hay que estudiar mucho para aprobar el examen.

One must study a lot to pass the exam.

Hay que lavarse las manos antes de comer.

You have to wash your hands before eating.

Impersonal Nature

The key feature of hay que is that it doesn't target anyone in particular. It states a general rule, a piece of advice, or a practical necessity that applies to everyone (or to "whoever is involved").

Para vivir bien, hay que comer sano y hacer ejercicio.

To live well, one must eat healthy and exercise.

Hay que tener paciencia con los niños pequeños.

You have to be patient with small children.

💡
If you want to say "I have to..." or "you (specifically) have to...", use tener que + infinitive instead. Hay que is for general, impersonal statements.

Hay Que vs. Tener Que

This is the most important distinction to master:

Hay que (impersonal)Tener que (personal)
Hay que estudiar para aprender.Tengo que estudiar para el examen.
One must study in order to learn.I have to study for the exam.
General rule for anyone.Personal obligation for me.

Hay que ser amable con los demás.

One must be kind to others.

In Past Tenses

The imperfect había que describes general past obligations:

Antes había que escribir cartas a mano.

Before, one had to write letters by hand.

The preterite hubo que is used when the impersonal obligation was carried out at a specific moment:

Hubo que cancelar el evento por la tormenta.

The event had to be canceled because of the storm.

💡
Even though hay que comes from haber, don't confuse it with the existential hay (meaning "there is / there are"). Hay tres libros means "there are three books", while hay que leer means "one must read". Context—and the word que—makes it clear.

In Advice and Instructions

Hay que is extremely common in recipes, manuals, warnings, and general advice:

Para hacer un buen café, hay que usar agua fresca y granos recién molidos.

To make good coffee, you have to use fresh water and freshly ground beans.

Negative Form

No hay que + infinitive expresses "one mustn't..." or "it's not necessary to...". The meaning depends on context:

No hay que preocuparse, todo va a estar bien.

There's no need to worry, everything will be fine.

Compare hay que with tener que + infinitive for personal obligations, and deber + infinitive for moral advice.

Related Topics