Retirement accounts hold record balances

July 20, 2014: 7:30 PM ET
NEW YORK (CNNMoney)

The recent stock run-up is doing wonders for retirement savings.

The average balance in a Fidelity IRA rose 15% in the second quarter to $92,600 -- an all-time high.

In the same period, the average balance in a Fidelity 401(k) also set a record, up nearly 13% to $91,000.

The surging stock market drove most of the gains. Contributions from employees and employers accounted for about a quarter.

The numbers look better if you've been working a while: The balance for employees who have been in a 401(k) for 10 years rose 15% a year over the past decade to $246,200.

Still, even that balance is probably not enough to retire on. Fidelity recommends ultimately saving eight times your yearly salary.

Even more sobering, a 2013 study by the Employee Benefit Research Institute found that nearly half of all workers had less than $10,000 saved.

Calculator: Will you have enough to retire?