The top-prize winning number, known as El Gordo (The Fat One), worth 400,000 euros ($436,000) fell out of the enormous metallic shuffling bins in a live televised event. The winners won 20,000 euros for each euro spent on a 20-euro ticket.
The incredibly popular lottery dishes out a total of 2.24 billion euros ($2.43 billion) in prizes this year, including lots of smaller prizes.
The winning tickets were sold in the northeastern provinces of Tarragona and Barcelona, in central Madrid and Salamanca, and in southern Alicante, Murcia and Seville.
Children from Madrid's San Ildefonso school called out the prizes on a nationally televised draw at Madrid's Teatro Real opera house. The tiny wooden balls corresponding to the prizes roll down chutes from the two huge bins and are sung out by young girls and boys during the three-hour gala.
Families, friends and co-workers buy tickets together as part of a winter holiday tradition. They then gather around their television sets, radios or mobile phones, hoping that fortune shines on them. Jubilant scenes follow of winners celebrating with uncorked cava bottles, congratulated by neighbors and swarmed by local media.
Spain established its national lottery as a charity in 1763 during the reign of King Carlos III. Its objective later became to shore up state coffers. It also helps several charities.