If the Energy Star windows were installed by December 2016, you can claim the Energy Star credit in 2016 even if you financed the installation with a loan.
The IRS considers that you have paid for the windows and the loan is just a financing facility.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"