When selling your principal residence, the principal residence exemption typically exempts you from paying capital gains tax. However, if the home was not your primary residence for the entire period you owned it, or if it was used for rental or business purposes, you may owe capital gains tax on the profit.