Both the Federal and the state require you to pay tax on taxable capital gains when you sell your personal residence.
However, depending on your situation, you may not have taxable capital gains as you may qualify to exclude the gains from the sale of your home (up to $500,000 for married couples and up to $250,000 for other filers). To qualify to exclude the gain, you have to meet certain conditions. These conditions are outlined in the link below:
https://www.irs.gov/taxtopics/tc701
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"