A capital gain is when you sell an investment or an asset for a profit. When you realize a capital gain, the proceeds are considered taxable income. The amount you owe in capital gains taxes depends in part on how long you owned the asset: Long-term capital gains are from an asset you’ve held for more than one year, and short-term capital gains apply to profits from selling an asset you’ve held for less than a year.