Goldman Sachs shares surged 7.5 percent to an intraday record of roughly $1,136 on Tuesday after the bank reported second-quarter revenue that jumped 39.5 percent from a year earlier to $20.34 billion, well above the $16.13 billion consensus compiled by LSEG. Earnings per share nearly doubled to $20.98 from the same period last year, crushing the $14.48 estimate. The move put the stock on track for its best single-day gain in more than a year and left it needing a close above $1,106.37, the June 22 closing peak, to seal a fresh all-time high.

The beat was broad-based across the firm’s three core franchises. Investment banking, trading, and asset and wealth management each exceeded consensus revenue expectations, a contrast with the first quarter when only investment banking delivered a clean beat. The quarter benefited from a cluster of marquee assignments: Goldman co-led SpaceX’s record-breaking initial public offering, steered Alphabet’s enormous secondary share sale, and advised on the $67 billion NextEra-Dominion Energy merger. A rebound in equities from their Iran-war lows and whipsawing moves in oil and bonds provided a volatile backdrop that played to the firm’s trading desks.

Efficiency and return metrics reinforced the quality of the earnings. The efficiency ratio, expenses divided by revenue, fell to 57.4 percent, a multiyear low, while return on tangible common equity reached 25.5 percent. Perhaps more important for sustainability, the firm’s investment banking backlog climbed to its highest level in five years and its second highest on record, driven by a record advisory backlog. Chief executive David Solomon told analysts that chief executives are contemplating large, structurally scale-enhancing transactions and have a multiyear window to execute them, a dynamic he linked to a more accommodrative stance on takeovers from the Trump administration compared with the tougher enforcement of the Biden era.

The pipeline is also being fed by the artificial intelligence boom. OpenAI and Anthropic have both submitted confidential IPO filings with U.S. regulators, and Goldman is among the banks leading those prospective offerings. Data center operator Switch has hired the firm as a lead underwriter for its planned listing, Reuters reported on Tuesday. Beyond IPOs, the AI build-out is driving soaring debt and equity issuance to fund infrastructure projects, embedding Goldman across multiple layers of the capital-raising stack.

That concentration carries a clear counter-risk. Asked on the earnings call about the firm’s vulnerability to a slowdown in AI investment, Solomon acknowledged the exposure but did not quantify it. The bank’s fortunes are now tied not only to the pace of dealmaking but also to the durability of the AI capital-expenditure cycle that is underwriting a growing share of its underwriting and advisory fees.

What to watch next is whether the record backlog converts into sustained revenue, whether the M&A uptick broadens beyond mega-cap technology, and whether trading conditions remain constructive if volatility subsides. The next quarter will test whether the current momentum reflects a structural inflection or a cyclical peak amplified by a handful of extraordinary transactions.