(Bloomberg) -- US economic growth accelerated by more than forecast in the second quarter, illustrating demand is holding up under the weight of higher borrowing costs.

Most Read from Bloomberg

Harris Just Showed Why Trump Is So Afraid of Her I Changed My Mind. The Fed Needs to Cut Rates Now. What Initial Polling Data Show About the Trump-Harris Matchup Harris Targets Trump by Raising Threat of ‘Extreme’ Project 2025 Stocks Extend Losses as Worries Go Beyond AI Froth: Markets Wrap

Gross domestic product increased at a 2.8% annualized rate after rising 1.4% in the previous period, the government’s initial estimate showed. The economy’s main growth engine — personal spending — rose 2.3%, also more than forecast.

A closely watched measure of underlying inflation rose 2.9%, easing from the first quarter but still above forecast, the Bureau of Economic Analysis report showed Thursday.

Even though the pace of growth picked up from the first quarter, the figures still represent a moderation from last year. Consumer spending and broader economic activity have cooled under the weight of high interest rates, which is simultaneously helping to tame inflation gradually.

That bodes well for the Federal Reserve, which is trying to pull off a soft landing for the economy and likely to start cutting interest rates as soon as September. However, it’ll be a fine balance to cool the labor market just enough without putting millions of people out of work, especially as unemployment has now risen for three straight months.

Treasury yields rose slightly and stock futures fluctuated after the report. Policymakers weren’t expected to cut rates when they meet next week.

Growth Breakdown

Consumer spending was driven mostly by a rebound in durable goods like cars and furnishings as well as a more moderate advance in services outlays compared to the first quarter, according to the GDP report.

Government spending contributed more to GDP compared to the first three months of the year, boosted by defense spending. Residential investment subtracted from growth for the first time in a year as high mortgage rates kept a lid on sales activity and new construction.

Business investment grew at the fastest pace in almost a year, led by the strongest advance in equipment since the start of 2022. A separate report Thursday showed orders placed with US factories for business equipment, excluding aircraft and defense, increased in June by the most since early last year. It’s a sign such spending will keep adding to growth in coming months.

--With assistance from Chris Middleton and Matthew Boesler.



Most Read from Bloomberg Businessweek

The Miseducation of America’s Nurse Practitioners The $12,000 Harvard Class Celebrities Are Fighting to Get Into The US Economy Is Slowing, Which Is Just Fine With the Fed Elon Musk Goes All In for Trump The Real Reason Erewhon Is a Cult Brand

©2024 Bloomberg L.P.