When a Spaniard wants to say "you have to" without singling anyone out — when the rule applies to everyone, when it's just how things are done, when a sign on the door says what to do — they reach for hay que + infinitivo. Hay que estudiar mucho, hay que pagar antes de las nueve, hay que tener paciencia. This is the impersonal cousin of tener que, and the distinction between the two is one of the cleanest expressive tools that Spanish gives you and English largely does not.
The structure
Three pieces, always in this exact form:
- The fixed form hay — the impersonal form of haber in the present indicative. It never changes for person, never agrees with anything.
- The unchanging connector que — not optional, never replaced.
- An infinitive — any verb in its dictionary form.
| Form | Construction | Meaning |
|---|---|---|
| Present | hay que + infinitive | one has to / you have to (general) |
| Imperfect | había que + infinitive | one had to (back then, habitually) |
| Preterite | hubo que + infinitive | one had to (and did) on that occasion |
| Present perfect | ha habido que + infinitive | it has been necessary to |
| Future | habrá que + infinitive | one will have to |
| Conditional | habría que + infinitive | one would have to / one should |
Hay que estudiar mucho para aprobar este examen.
One has to study a lot to pass this exam.
Para entrar al museo hay que enseñar el carnet.
To enter the museum you have to show your ID.
Hay que tener mucha paciencia con los niños pequeños.
You have to have a lot of patience with small children.
Why "hay" never conjugates here
Hay is the impersonal form of haber — the same form you already know from hay un perro en la calle ("there is a dog on the street"). It expresses existence without a subject, and that lack of a subject is exactly what makes hay que impersonal: there is no "I," no "you," no "they." The obligation simply exists, hovering over everyone equally.
This means you will never say hayo que, hayes que, or hayen que. The form is locked. If you want to mark the obligation for a specific person, you switch to tener que and conjugate it there.
The core distinction: hay que vs tener que
This is the most important pair in this whole grammar neighbourhood. English collapses both meanings into "have to" / "you have to" — but Spanish keeps them sharply separate.
- Tener que + infinitivo = a specific person has to do it. Tener agrees with that person.
- Hay que + infinitivo = anyone / everyone in general has to do it. No subject; hay is invariable.
Tengo que estudiar para el examen del lunes.
I have to study for Monday's exam. (my specific obligation)
Hay que estudiar para aprobar este examen.
You have to study to pass this exam. (general truth — applies to anyone)
Tienes que pagar la cuenta tú esta vez.
You have to pay the bill this time. (your specific obligation)
Hay que pagar en la barra antes de sentarse.
You have to pay at the bar before sitting down. (the rule of the establishment)
If you can rephrase the English sentence as "one has to..." or "everybody has to..." without losing the meaning, you want hay que. If a specific person is on the hook for it, you want tener que.
When Spaniards reach for hay que
In peninsular Spanish, hay que dominates a few clear contexts:
Posted rules and signs. Notices in shops, museums, government offices, and public transport almost always use hay que: hay que mantener la distancia, hay que sacar billete antes de subir.
Hay que llevar mascarilla en el transporte público.
You have to wear a mask on public transport.
General advice and life wisdom. When a Spaniard tells you what people generally do or should do — sage advice, philosophy of life — hay que is the default.
Hay que disfrutar de la vida, que es muy corta.
You have to enjoy life — it's very short.
Hay que aprender a perdonar.
One has to learn to forgive.
Recipes, instructions, and how-tos. Cooking and procedural writing use hay que heavily — the reader is anybody, not anybody in particular.
Primero hay que sofreír la cebolla a fuego lento.
First you have to sauté the onion on low heat.
Diagnoses of a situation. When something obviously needs doing and the speaker is stating the necessity rather than assigning it, hay que lets them avoid pointing fingers.
El coche hace un ruido raro. Hay que llevarlo al mecánico.
The car is making a weird noise. We need to take it to the mechanic.
In that last example, English speakers might say "we need to" — but the Spanish speaker is deliberately leaving the doer unspecified. Maybe they'll do it, maybe their partner will, maybe somebody. The point is that the action is necessary.
Hay que in other tenses
Although the present hay que covers most situations, the construction works in other tenses too. Each form is built on the corresponding impersonal form of haber.
Antes había que ir al banco para pagar las facturas; ahora se hace todo por internet.
You used to have to go to the bank to pay bills; now everything is done online.
Hubo que llamar a la policía cuando vimos el accidente.
We had to call the police when we saw the accident. (a one-off event in the past)
Ha habido que cambiar todos los enchufes del piso.
We've had to replace all the sockets in the flat.
Habrá que esperar hasta el lunes para saber el resultado.
We'll have to wait until Monday to find out the result.
Habría que pintar el salón antes de que vengan los invitados.
We should paint the living room before the guests arrive. (softened recommendation)
The conditional form habría que is especially useful: it lets you propose an action that "ought to" be done, without imposing it on anyone. Spaniards use it constantly in workplace meetings and family negotiations as a polite way to float a task.
Pronoun placement with hay que
Object and reflexive pronouns attach to the infinitive — not to hay. There is no "before the conjugated verb" option here, because hay is impersonal and resists pronouns of its own.
Hay que decírselo cuanto antes.
We have to tell him/her about it as soon as possible.
Hay que levantarse temprano mañana.
One has to get up early tomorrow.
Hay que tenerlo en cuenta.
You have to keep it in mind.
Note that the reflexive pronoun in hay que levantarse is impersonal — "one has to get up" — not tied to any particular me, te, or se. This is one of the cleanest features of the construction.
How this differs from English
English uses the same verb forms for personal and impersonal obligation: "you have to wear a seatbelt" can mean either "you, specifically, have to" or "people in general have to." Context disambiguates.
Spanish refuses to leave that ambiguous. If you mean "people in general," you switch to hay que. If you mean a specific person, you conjugate tener que for them. Translating English "you" into Spanish tú tienes que when the speaker actually meant "people in general" is one of the most persistent transfer errors English speakers make — it sounds like you are accusing your conversation partner of something.
Hay que llevar cinturón de seguridad.
One has to wear a seatbelt. (the law applies to everyone — neutral statement)
Tienes que ponerte el cinturón.
You have to put your seatbelt on. (said to a specific person who hasn't)
The first is what a driving school instructor would say in a lecture. The second is what a worried passenger would say in the car.
What hay que does NOT do
A few traps to watch for:
- Don't conjugate hay. Hayo que, hayes que, hayemos que — none of these exist. The form is fixed.
- Don't use it with a subject. Yo hay que estudiar is wrong — if you want a subject, you need tener que: yo tengo que estudiar.
- Don't replace que with another preposition. Hay de estudiar and hay a estudiar are both wrong.
- Don't confuse it with existential hay. Hay un libro en la mesa means "there is a book on the table." Hay que leer un libro means "one has to read a book." Same word hay, very different constructions — the que + infinitive signals obligation.
Hay una solución para todo.
There is a solution for everything. (existential 'hay')
Hay que encontrar una solución pronto.
We have to find a solution soon. (obligation 'hay que')
Hay que vs deber: impersonal vs moral
Deber + infinitivo can also express general obligation, but it carries a moral weight that hay que does not. Hay que states a practical necessity or a rule; deber states what is right.
Hay que reciclar para cuidar el planeta.
One has to recycle to take care of the planet. (practical necessity)
Debemos cuidar el planeta para las generaciones futuras.
We must take care of the planet for future generations. (moral imperative)
Both are correct; the second sounds more solemn, the kind of thing you would hear in a speech or a school assembly. Hay que is the language of everyday life.
Common Mistakes
❌ Yo hay que estudiar más.
Incorrect — 'hay que' is impersonal; it can't take a subject. Use 'tener que' with a subject.
✅ Tengo que estudiar más. / Hay que estudiar más.
I have to study more. / One has to study more.
❌ Hayemos que salir ya.
Incorrect — 'hay' never conjugates in this construction.
✅ Hay que salir ya. / Tenemos que salir ya.
We have to leave now.
❌ Hay de pagar antes de las nueve.
Incorrect — the connector is 'que', not 'de'.
✅ Hay que pagar antes de las nueve.
You have to pay before nine.
❌ Tienes que llevar mascarilla en el metro.
Awkward if you mean the general rule — sounds accusatory, as if directed at the listener personally.
✅ Hay que llevar mascarilla en el metro.
You have to wear a mask on the metro. (the rule, neutrally stated)
❌ Había que ir a la oficina ayer y no fui.
Misleading — 'había que' here suggests a habitual past obligation, not a one-off. For a specific event, use 'tuve que'.
✅ Tuve que ir a la oficina ayer y no fui.
I had to go to the office yesterday and didn't go. (specific past obligation)
Key Takeaways
- Hay que + infinitivo expresses impersonal obligation — what one has to do, what everybody has to do, what the rules say. It does not point at anyone.
- The form hay never conjugates. It is the same impersonal haber you know from hay un libro.
- The connector que is never optional and never replaced by de or a.
- Distinguish sharply from tener que (personal, specific, conjugates with the subject) and from deber (moral, advisory).
- In peninsular Spanish, hay que dominates posted rules, recipes, general life advice, and any context where the speaker wants to state a necessity without assigning it to anyone.
- The other tenses exist: había que, hubo que, habrá que, habría que. The conditional habría que is especially useful for floating suggestions politely.
- Object pronouns attach to the infinitive: hay que decírselo, hay que levantarse temprano.
Now practice Spanish
Reading grammar gets you part of the way. The exercises are where it sticks — free, no signup needed.
Start learning Spanish→Related Topics
- Tener que + infinitivo: obligación personalA1 — The everyday Spanish way to say 'I have to' — tengo que + infinitive for personal obligations, requirements, and necessities.
- Deber (+ de) + infinitivo: obligación y probabilidadA2 — Two related but distinct constructions: deber + infinitive for moral obligation ('you should') and deber de + infinitive for probability ('it must be').
- Haber impersonal: hay, había, hubo, habráA1 — Impersonal haber across every tense — hay, había, hubo, habrá, habría, haya, hubiera, ha habido — always singular, regardless of how many things exist.
- Haber de + infinitivo: obligación formalB2 — The literary and old-fashioned periphrasis for obligation — haber de + infinitive lives on in fixed expressions, formal prose, and Catalan-influenced Spain.