The Local Way to Say It
In Madrid, saying goodbye isn't just a simple 'adiós'. When you want to wish someone well for the rest of their day, the go-to phrase is Que tengas un buen día. It's a warm, polite, and incredibly common farewell you'll hear everywhere from the bustling Mercado de San Miguel to your local 'panadería'. It’s used with people you know well, like friends or colleagues, and also with strangers you've just interacted with, such as a shop assistant or your metro conductor. It expresses a genuine wish for their day to go smoothly. For example, after buying your 'churros': "¡Gracias! Que tengas un buen día." (Thanks! Have a good day.) Or leaving a friend: "¡Nos vemos! Que tengas un buen día, ¿vale?" (See you! Have a good day, okay?) It's the perfect blend of politeness and sincerity.The 'Grammar Math'
The magic behind Que tengas un buen día lies in the subjunctive mood, specifically for expressing wishes or hopes. Think of it as a simple formula: Que + Subject + Verb in Subjunctive + (the rest of the wish). In this case, 'Que' introduces the wish, 'tengas' is the 'tú' form of the verb 'tener' (to have) in the present subjunctive, and 'un buen día' completes the wish. You're not stating a fact ('You have a good day'), but expressing a desire ('May you have a good day').Here are a few more examples following this pattern:
Que + te vaya bien (Hope it goes well for you)
Que + disfrutes (Enjoy yourself)
Que + duermas bien (Sleep well)