Nowadays, the phrase "throw the house out the window" is used across the Spanish-speaking world to describe a situation where someone splurges without sparing expenses or celebrates an event with excessive generosity. However, its origin is not an abstract metaphor, but a physical and literal act that took place on Spanish streets in the mid-18th century.
The origin of this custom dates back to 1763, when King Charles III and his finance minister established a game of chance to bring funds into the public coffers without levying new taxes: the so-called Royal Lottery, the direct predecessor of the Spanish National Lottery. The first official draw was held in Madrid on December 10 of that year.
Winning the jackpot meant an immediate financial transformation for low-income families. As an expression of joy and a public display that they were leaving poverty behind forever, the winners began literally throwing their old furniture, worn clothes, jugs, and earthenware pots out of balconies and windows. This spontaneous ritual signaled to the neighborhood that the home would be entirely furnished with new belongings, while allowing neighbors with fewer resources to collect the objects that fell into the street.
Over the years, municipal ordinances banned this habit to prevent street accidents, but the action remained permanently ingrained in the language as a synonym for sudden wealth and unchecked celebration.
Source: Loterías y Apuestas del Estado and Archivo General de Simancas (historical documentation of the Real Lotería of 1763)