Wall Street CEOs are getting paid the big bucks again.

Goldman Sachs Group Inc. GS, +0.01% and Citigroup Inc. C, -1.47% said Friday that they gave their CEOs raises for 2017, meaning all five large U.S. banks with significant trading and investment-banking operations have done so.

The chief executives of the banks, which include JPMorgan Chase & Co. JPM, -0.21% , Bank of America Corp. BAC, -0.55% , and Morgan Stanley MS, -0.33% , were paid on average $25.3 million for their work last year, up 17% from 2016, according to filings with the U.S. Securities and Exchange Commission. For the group as a whole, combined total compensation of about $126 million is the highest annual tally since before the financial crisis.

The gains mark the fifth consecutive year in which pay rose for Wall Street’s top CEOs. In 2017, the increases reflected stronger profits for banks driven by a growing economy, rising employment, loosening regulations under President Donald Trump and an improving interest-rate backdrop for lending.

An expanded version of this report appears at WSJ.com

Popular on WSJ.com

Tech Luminary Peter Thiel Parts Ways With Silicon Valley

What Stores Do With $90 Billion in Merchandise Returns