Fannie Mae also has been able to recalculate the tax write-downs it can take on its assets, which have added to the company’s value. Under the bailout agreement, it must pay dividends to the U.S. Treasury based on its net worth.

As of March 30, the company had received about $117 billion in taxpayer money.

With the $59.4 billion payment, to be made by June 30, Fannie Mae will have paid the Treasury $95 billion in dividends.

Under the terms of the bailout, the dividend payments do not pay down what Fannie Mae owes. But the money helps offset the cost of the rescue and could help delay when the nation must raise the debt limit.

Sibling housing-finance firm Freddie Mac also was seized in 2008, and its finances have rebounded as well. On Wednesday, the company reported a $4.6 billion first-quarter profit, the second-best in its history.

Freddie Mac said it would pay $7 billion in required dividends to the Treasury next month and could make a larger payment.

Freddie Mac has received about $72 billion in bailout money and with the upcoming dividend payment will have sent about $37 billion back to taxpayers.