Six more U.S. banks repaid their government bailouts, bringing the bank capital program close to 99 per cent recovery, the Treasury Department said Wednesday.

The department received proceeds of $475 million US when the banks repurchased preferred shares and other investments that the Treasury Department got in exchange for its cash injections.

Banks received a total of $245 billion US under the program.

The Treasury Department has collected about $244 billion US in repayments, fees and other income from banks.

The department expects the bank program will finish with a profit of about $20 billion US.

Losses are expected, however, on the administration's struggling foreclosure-prevention programs.

Money from those programs goes to homeowners, mortgage companies and investors.

If homeowners' payments are lowered successfully, the government can't recover that cash.

Losses also are possible from the automaker bailouts.

And it's not clear whether taxpayers will recoup the money used to prop up insurance conglomerate American International Group Inc.

Those costs might offset the extra revenue from the bank investments.

The nonpartisan Congressional Budget Office estimates that the programs, drawn from a $700 billion US fund known as the Troubled Asset Relief Program, will cost $25 billion US.

The Treasury Department says the number will be lower once it has sold off some of its AIG shares. The government now owns 92 per cent of that company.