PARIS — The French economy jumped out of recession in the second quarter, aided by stronger domestic demand and a rebuilding of stocks, official statistics showed Wednesday.

The euro zone’s second-largest economy expanded 0.5% in the second quarter from the first quarter of this year, statistics bureau Insee said. The expansion in the second quarter follows two consecutive quarters of contraction--the common definition of a recession.