If the replacement doors constitute an energy-saving improvement, you may qualify for a tax credit (not a deduction) of up to $500. This dollar limit is lifetime, so if you’ve already used up the full credit, you can’t take it again even though the improvements would otherwise qualify for it. Be sure to add the cost of these capital improvements (minus any tax credit) to the basis of your home. It will help to minimize gain when you eventually sell it. Note that this tax credit expired at the end of 2016 and it is not clear if Congress will revive it for 2017.
An amount of gain on the sale of certain depreciable property that is treated as ordinary income in the case of personal property. Recapture is computed on Form 4797.