Wells Fargo and its leaders have expressed much contrition about the bank’s misdeeds, which included setting up as many as 2 million bank accounts without customers’ consent. Top executives have surrendered more than $90 million in compensation, fired employees at all levels and vowed to clean house.

But the top executives — particularly the current chief executive and his predecessor, who retired under pressure in October — still took home lavish sums last year, according to a regulatory filing this week.

Wells Fargo’s former chief executive, John G. Stumpf, realized pretax earnings of more than $83 million by exercising vested stock options, amassed over his 34 years at the bank, and receiving payouts on certain stock awards. That is more than double the $41 million in unvested stock awards that Mr. Stumpf forfeited because of the bank’s sales scandal.

In a quirk of timing that might raise some questions, one month before regulators announced penalties against Wells Fargo over its long-running fake accounts scheme, Mr. Stumpf exercised 1.5 million options, a significant chunk of his vested holdings.