The publication that outlines the applicable tax rules when selling the main home. In most cases, the main home refers to a primary residence where the taxpayer lives most of the time. Taxpayers may be qualified to exclude all or part of the gain from the sale of a principal residence from income. Generally speaking, if a taxpayer can exclude all the gain, he or she does not need to report the sale on the tax return.