Power was fully back online for residents of Brazil's south, southeast and midwest regions mid-morning on Tuesday, while it continued to return gradually in northern regions, after an "incident" caused outages across the nation.
In Brazil's north and northeast, power was still being restored before 10:30 am local time (1330 GMT), the mines and energy ministry said in a statement.
Some 16,000 megawatts of power was brought down after an "incident," which was still being looked into, it said.
Mines and Energy Minister Alexandre Silveira has "ordered an investigation into the causes of the incident," the ministry added.
Private power firms operating in Brazil were affected by the outages.
Equatorial Energia and Enel Brasil said they were gradually resuming power supply to their clients, while CPFL Energia said supply had already resumed for all customers.
France, Spain, Bahrain, and India have condemned the Iranian attack that targeted Qatar's Ras Laffan Industrial City during separate phone calls with Qatar's Emir Sheikh Tamim bin Hamad Al Thani.
Iran no longer has the capacity to enrich uranium or make ballistic missiles after 20 days of US-Israeli air attacks, Israeli Prime Minister Benjamin Netanyahu told a news conference on Thursday.
The US objectives in its war against Iran have not changed since strikes started on February 28, Defence Secretary Pete Hegseth said on Thursday, and he accused the media of stirring up concerns that the country risked being locked in an open-ended conflict with shifting priorities.
US President Donald Trump said an angry Israel "violently lashed out" and attacked Iran's major gas field, a significant escalation in the US-Israeli war, but ruled out further such attacks by Israel unless Iran retaliated further.
US President Donald Trump greeted Japan's Prime Minister Sanae Takaichi warmly at the White House on Thursday and said he believed Japan was "really stepping up to the plate" on Iran.