The crowd erupted in the stadium chant of "Olé, olé, olé, olé, Pope, Pope!" when Leo's plane landed in Paysandu, in western Uruguay on the border with Argentina.
They cheered again, blew horns and waved yellow handkerchiefs when he arrived in his open-sided popemobile at the Mass site in the Parque Paris Londres.
More than 30,000 people - many from Uruguay but also from neighbouring Argentina and Brazil - had registered in advance to attend the service.
The Vatican said on Saturday another 10,000 had shown up beyond that, despite the morning rain and blustery, grey skies.
Because of its accessible location on the Uruguay River, the city was chosen to host Leo's first Mass at the start of his three-country South American tour that was in doubt after he underwent lung cancer surgery on October 13.
Crowds of faithful in rain ponchos began streaming into the site when the gates opened at 5.30am as a band played popular Spanish hymns.
Leo, who arrived in Uruguay on Friday, is seeking to urge the people in South America's most secular country to turn to the Catholic faith for strength in confronting challenges.
In his homily, Leo urged the faithful to build bridges of faith, fraternity and encounter, recalling the nearby bridge over the Uruguay River that unites Uruguay and Argentina and over which many pilgrims travelled to attend the Mass.
He also pointed to the ritual of drinking maté, the ubiquitous bitter herbal tea that Uruguayans and their neighbours carry everywhere, as a poignant symbol of unity and encounter that he suggested should be applied to spreading the faith today.
Maté, a cherished symbol in Paraguay, Argentina and Uruguay, is above all a sharing ritual.
The leaves are steeped in a hollowed gourd and sipped through a metal straw called a bombilla, and the gourd passes from hand to hand among friends, family and sometimes strangers, refilled for hours.
Everyone drinks from the same straw, and Uruguayans drink more maté per person than anyone else in the world, roughly 9kg of the dried leaf a year, according to industry estimates.
In his comments, Leo delivered an ode to maté.
"It teaches us to share and to be together, strengthening the bonds that unite us as brothers and sisters," he said, drawing a round of applause and a smile from the Pope.
Symbols like maté give identity and a sense of belonging that point to the future, he said.
"Faith too has been part of the life of the Uruguayan people since their earliest days, and it must be passed on to future generations with creative courage," he said.
Located in western Uruguay and just across a bridge from the eastern Argentine city of Colon, Paysandu was easier to reach for many Argentines than any of the stops on Leo's part of the tour in Argentina, his next stop after Uruguay.
In Argentina, Leo will visit Buenos Aires, Lujan and Cordoba before heading to Peru, his second homeland and the final destination of his tour.
The Mass on Saturday was dedicated to Blessed Jacinto Vera, a 19th-century priest who became Uruguay's first bishop.
Leo praised him on Friday as a pastor who travelled the country's roads to help the poor, saying that people who met him "found something of Christ's goodness" even before he preached.