(Recasts with extent outage; adds details, quote from grid operator)
SAO PAULO/BRASILIA, March 21 (Reuters) - A power outage struck large swaths of Brazil on Wednesday, affecting tens of millions of people, especially in the country's northern and northeastern regions where the system remains "practically collapsed," according to an official.
The outage began at about 3:40 p.m. (1940 GMT) and had not been resolved by late evening, according to the country's state grid operator.
The blackout was due to the failure of a transmission line near the massive Belo Monte hydroelectric station, authorities said. Some 22.5 percent of the grid's total output, or 18,000 megawatts, have been affected.
"That line was inaugurated recently and was not yet operating at full capacity," the country's mining and energy minister, Fernando Coelho Filho, told journalists in Brasilia. "There was a surge in power ... and the line fell out of operation."
The transmission line that failed is the responsibility of state-run utility Centrais Eletricas Brasileiras SA, commonly known as Eletrobras, and China State Grid Corp Ltd. Neither company responded to requests for comment.
In the country's poor north and northeast, the system had "practically collapsed," Luiz Eduardo Barata, head of national grid operator ONS, told journalists.
Elsewhere in the country the impact was less severe, he said, and service had been resumed in the country's southern and southeastern region's shortly after 4 p.m., where spotty outages were reported.
(Reporting by Luciano Costa and Leonardo Goy; Writing by Gram Slattery Editing by James Dalgleish and Leslie Adler)