Have a Tax Question? Ask a Tax Expert
There is no capital gain unless the property is sold.
Only if you sell the property - and the selling price would be more than your adjusted basis - you will have a capital gain.
The capital gain on the rental property and on the second home should be included into your taxable income.
In additional because the property was rental - you might need to recapture the depreciation for the time the property was rented - and it will be taxable at your regular tax rate.
Because you owned the property more than a year - a long term capital gain rate will apply - that is not more than 15% for 2010 and set to increase to 20% starting 2011.
California taxes are extra.
You may exclude the capital gain (up to $250,000 for singles, $500,000 for married couples) only if you use the property as your primary residence at least two years out of last five before the sale.
However the exclusion might be reduced in case of non qualified use withing the last five years. Renting is considered non qualified use.
You will find more information in IRS publication 523 - however it is not updated for 2009 yet - please verify in a few days - http://www.irs.gov/pub/irs-pdf/p523.pdf
Let me know if you need any help.