If you have owned and occupied your property for at least 2 of the last 5 years, you can avoid paying capital gains taxes on the first $250,000 for single-filers and $500,000 for married people filing jointly.
Visit the IRS website to review additional rules that may help you qualify for the capital gains tax exemption.