Tax consequences of payout by insurance company

Is the payout on a policy, rather than rebuilding the house, taxable? If the property is subsequently sold, is the total amount of the insurance payout, combined with the sale amount to determine the amount subject to capital gains tax?