(1)
by inserting “(A) In general.—” before “The tax” and moving the text 2 ems to the right; and
¶
(2)
by adding at the end the following:
¶
(i)
In general.
Subparagraph (A) shall not apply to any payment or distribution in any taxable year which is includible in gross income and is used to pay principal or interest on indebtedness incurred solely to pay qualified higher education expenses of the designated beneficiary or member of the family of the designated beneficiary which are attributable to education furnished during a period during which the beneficiary or family member was a student at the institution providing such education.
¶
(ii)
Refinanced loans.
For purposes of clause (i), the term “indebtedness” includes indebtedness used to refinance indebtedness described in clause (i).
¶
(b)
Effective date.
The amendment made by subsection (a) shall apply to payments made in taxable years beginning after December 31, 2016.
¶