Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

Capital gains tax: Retirement vehicle (IRA, 401k) vs. anything else?
First of all, there are some differences between the retirement accounts that you mentioned regarding taxes.  Traditional IRA and 401(k) accounts allow you to make pre-tax contributions, giving you an immediate tax deduction when you contribute.  Roth IRA, Roth 401(k) are funded with after tax money, and a non-retirement account is, of course, also funded with after tax money.  So if you are looking for the immediate tax deduction, this is a point in favor of the retirement accounts. Roth IRA & Roth 401(k) accounts allow the investment to grow tax-free, which means that the growth is not taxed, even when taking the investment out at retirement.  With Traditional IRA and 401(k) accounts, you need to pay tax on the gains realized in the account when you withdraw the money, just as you do with a non-retirement account.  This is a point in favor of the Roth retirement accounts. To answer your question about capital gains, yes, it is true that you do not have a capital gain until an investment is sold.  So, discounting the contribution tax deductions of the retirement accounts, if you only bought individual stocks that never paid a dividend, and never sold them until retirement, you are correct that it really wouldn't matter if you had it in a regular brokerage account or in a traditional IRA.  However, even people dedicated to buy-and-hold rarely actually buy only individual stocks and hold them for 30 years. There are several different circumstances that will generally happen in the time between now and when you want to withdraw the money in retirement that would be taxable events if you are not in a retirement account: If you sell an investment and buy a different one, the gains would be taxable. If you want to rebalance your holdings, this also involves selling a portion of your investments.  For example, if you want to maintain an 80% stock/20% bond ratio, and your stock values have gone up to 90%, you might want to sell some stock and buy bonds.  Or if you are getting closer to retirement, you might decide to go with a higher percentage of bonds.  This would trigger capital gains. Inside a mutual fund, anytime the management sells investments inside the fund and realizes capital gains, these gains are passed on to the investors, and are taxable.  (This happens more often with managed funds than index funds, but still happens occasionally with index funds.) Dividends earned by the investments are taxable.  Any of these events in a non-retirement account would trigger taxes that need to be paid immediately, even if you don't withdraw a cent from your account.