The loans were sold by Countrywide Financial and Merrill Lynch before Bank of America bought them in 2008, at the height of the financial crisis.
The associate attorney general said “no institution is either too big or too powerful to escape” punishment.
The settlement will cut the bank’s third-quarter profits by $5.3bn.
Bank of America will pay a total of $9.65 billion in cash and provide consumer relief worth about $7 billion, much of which will go towards homeowners struggling with their mortgages.
The cash component consists of a $5 billion civil penalty and $4.63 billion in compensation payments.
The case centered on Countrywide Financial, the biggest lender at the time of the crisis, and Merrill Lynch selling mortgage loans to investors but not explaining the full extent of the risk involved.
Tony West, the associate attorney general, explained: “It’s kind of like going to your neighborhood grocery store to buy milk advertised as fresh, only to discover that store employees knew the milk you were buying had been left out on the loading dock, unrefrigerated, the entire day before, yet they never told you.
“And just like you might be in for an unpleasant surprise when you got home and poured yourself that glass of milk, investors – such as public pension funds and federally-insured financial institutions – were unpleasantly met with billions of dollars in losses when those securities investments soured.”
Brian Moynihan, Bank of America’s CEO, said: “We believe this settlement, which resolves significant remaining mortgage-related exposures, is in the best interests of our shareholders, and allows us to continue to focus on the future.”
On Wall Street, shares in Bank of America opened 1.5% higher on relief that a major cloud hanging over the firm had been removed.
Previously, the largest banking fine by US regulators was a $13 billion settlement reached with JPMorgan in 2013, for misleading investors during the housing crisis.
The Bank of America fine is the latest in a line of penalties imposed by the US on banks since the 2008 financial crisis.
In March 2014, Bank of America agreed to pay $9.5 billion to settle charges that it misled US mortgage lenders Fannie Mae and Freddie Mac over mortgage securities.
3mv3m5rKtBIThe US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…