By Jeffrey T. Lewis

SÃO PAULO--Brazilian iron-ore mining giant Vale SA turned a net profit in the second quarter on strong demand from China and a weaker Brazilian currency.

The Rio de Janeiro-based company said Wednesday evening that it had net income of $995 million in the second quarter, compared with a loss of $133 million a year earlier and profit of $239 million in the first quarter. Vale posted a net loss in the second quarter of 2019 after it provisioned more than $1 billion related to the deadly accident at a tailings dam in January of that year.

Revenue in the second quarter of 2020 fell to $7.5 billion from $9.2 billion a year ago.

Adjusted earnings before interest, depreciation and amortization reached $3.4 billion in the second quarter, compared with adjusted Ebitda of $3.1 billion a year earlier. The company said it would have had an adjusted Ebitda of $3.6 billion in the second quarter of this year except for $130 million in expenses related to the dam accident and $85 million in donations during the coronavirus health crisis.

Iron prices have been higher than normal, partly because of a reduction in output from Vale following the dam disaster in the small town of Brumadinho, according to Chris LaFemina, an analyst at Jefferies. After that tragedy, which took the lives of 270 people when a tailings dam collapsed and a wave of mining waste wiped out a nearby Vale cantina, the company shut down production at other mines with similar dams.

Vale reported last week that iron-ore production rose 5.5% in the second quarter from a year earlier and maintained its output guidance for this year at 310 million metric tons to 330 million metric tons, adding that the figure is more likely to come in toward the lower end of that range.

Vale said it will resume making dividend payments to shareholders based on its first-half results, after halting them following the Brumadinho accident, and on the expectation that the worst of the coronavirus pandemic has passed. The health-care crisis had an impact of $112 million in the first half of this year, including the $85 million in donations and a $27 million increase in operational costs, Vale said.

Write to Jeffrey T. Lewis at jeffrey.lewis@wsj.com