You can only write off repairs that are done or affects the office space. For example, if you replace windows in your home but not your home office, you cannot deduct the window repairs as a part of the home office expense. However, if you qualify for the energy efficiency tax credit on your personal return separate from your home office deductions.