Heads are rolling at Deutsche Bank again.

The beleaguered German bank is reportedly planning to lay off as many as 10,000 employees, or 10 percent of its workforce, through next year.

The planned cuts, which are coming about two months after the bank elevated its new CEO Christian Sewing, accelerate and deepen layoffs that were planned by the last top exec, John Cryan, the Wall Street Journal reported Wednesday, citing sources.

Cryan had planned to shed 9,000 positions around the world by 2020. It’s unclear how many of those had actually been cut, although the bank reportedly laid off 400 workers in the US last month. Among the deep cuts are a full-on retreat from stock trading in the US and a pullback in other parts of the world.

The planned firings come after nearly a decade of scandals, settlements and management missteps.

The bank was a dominant Wall Street trading house until the 2008 financial crisis. Since then, it has been trying to cut costs and placate unhappy shareholders who are sick of seeing the bank’s stock trail peers like JPMorgan Chase.

In one particularly desperate cost-slashing move, Deutsche Bank recently shortened its paid “gardening” leave periods for departing bankers — a policy designed to protect the bank’s competitive information — to 30 days from as much as 90 days previously, The Post first reported last week.

The bank has also shut down much of its Houston energy trading operations, and is also moving to smaller offices in Midtown Manhattan, from Wall Street.

Kerrie McHugh, a Deutsche Bank spokeswoman, declined to comment.