Whether selling your home for personal use or to make a profit, there are several ways to avoid paying real estate taxes. First, you must determine whether you'll have to pay tax on the sale. The IRS uses a form called 1099-S to report the sale of a home. The gain can be excluded from taxes if you sell your main residence.