The ceremony began on Saturday some 15 minutes after its scheduled 09:00 GMT start when a smiling Ortiz, 31, arrived in driving rain that failed to dampen the festive mood as thousands of cheering Spaniards turned out for the occasion.
After planting a quick kiss on the 36-year-old groom's cheek, the former news presenter entered the cathedral to the strains of a Handel organ concerto, looking radiant in an ivory white dress with a wide pearl collar and veil.
The event was a far cry from the last time the family had gathered at the same venue two months ago for a memorial service for the 191 people killed in the 11 March train bombings in Madrid.
This time, the setting was joyful - and by the time the couple exchanged rather bashful kisses on the balcony of the royal palace even the sun had finally come out to dry drenched onlookers.
The joy was marred only by a small anti-wedding demonstration of several hundred people in the 2 May Square who chanted: "Tomorrow, Spain will be republican."
Letizia Ortiz was married to
a former literature teacher
Security was tight on Saturday, mindful not only of the Madrid bombings two months ago but also of the Catalan anarchist who disrupted the last royal wedding in Spain 98 years ago by throwing a bomb which killed 23. Some 18,000 police and 200 rooftop snipers were deployed for the wedding.
Some 1600 VIP guests attended the ceremony, while an estimated 1.2 billion people worldwide watched live television coverage.
The royal guests, including Britain's Prince Charles, arrived on Friday evening for a sumptuous banquet at the Pardo palace.
Some 30 Royal families attended
the Spanish wedding
Other guests included Japan's Crown Prince Naruhito, former South African president Nelson Mandela, and Queen Rania and Queen Noor of Jordan.
For Madrid Mayor Alberto Ruiz Gallardon the marriage was "just what Madrid needs following the worst suffering Madrid has experienced in decades," a reference to the train bombings.
Some anti-monarchists, appalled by the wedding's 21 million-euro (25 million-dollar) cost including a security bill of some eight million euros (nine million dollars), planned demonstrators for later on Saturday. Around one in five Spaniards profess republican sympathies.