In 1998 Congress changed the tax treatment for capital gains from the sale of residential real estate, including the provision that an individual who owned a house for five years and lived in for at least two of those five years could collect the first $250,000 ($500,000 for a married couple) tax-free. The change in the capital gains tax treatment has to be one factor to consider in the housing bubble.