As part of the $13 billion deal, $4 billion will resolve U.S. government claims that JPMorgan misled mortgage finance giants Fannie Mae and Freddie Mac about risky mortgage-backed securities. That part of the deal was announced on Oct. 25.
Fannie and Freddie were bailed out by the government during the crisis and are under federal control.
Still to be decided is whether the Justice Department will file criminal charges against JPMorgan in the mortgage securities debacle. An investigation is under way by the U.S. Attorney's office in Sacramento, California.
Mounting legal costs pushed JPMorgan to a rare loss in this year's third quarter, the first under chief executive Jamie Dimon's leadership. The bank reported Oct. 11 that it set aside $9.2 billion in the July-September quarter to cover the string of legal cases against the bank.
JPMorgan said it has placed a total of $23 billion in reserve to cover potential costs.
Goldman Sachs, Citigroup and other big banks have been accused by the Securities and Exchange Commission of deceiving investors in sales of mortgage securities in the run-up to the crisis. Together they have paid hundreds of millions in penalties to settle civil charges brought by the SEC.
JPMorgan settled SEC charges in June 2011 by agreeing to pay $153.6 million and reached another such agreement for $296.9 million last November. The banks in all the SEC cases were allowed to neither admit nor deny wrongdoing a practice that brought criticism of the agency from judges and investor advocates.