(A) In general Except as provided in subparagraph (B), no amount may be paid or distributed out of a HOPE Account which is not used exclusively to pay the qualified medical expenses of the account beneficiary.
(B) Exception for certain distributions An amount may be paid or distributed out of a HOPE Account which is not used exclusively to pay the qualified medical expenses of the account beneficiary if such distribution is reported to the Secretary pursuant to such regulations or other guidance the Secretary may prescribe, and the distribution is—
(i) made to an account beneficiary (or to the estate of the account beneficiary) on or after the death of the individual, or
(ii) attributable to the account beneficiary being disabled (within the meaning of section 72(m)(7)).
(i) In general Any amount paid or distributed out of a HOPE Account which is not used exclusively to pay qualified medical expenses of any account beneficiary shall be includible in gross income, except to the extent such distribution is allocable to amounts described in subparagraph (D)(iii).
(ii) Additional tax The tax imposed by this chapter on the account beneficiary for any taxable year in which there is a payment or distribution from a HOPE Account of such beneficiary which is includible in gross income under clause (i) shall be increased by 30 percent of the amount which is so includible.
(C) Taxation of distributions not used for qualified medical expenses
(D) Ordering of distributions Any distributions out of a HOPE Account pursuant to subparagraph (B) shall be treated as made from amounts to the extent that the amount of such distribution, when added to all previous distributions from the HOPE Account, does not exceed the aggregate of such amount, and from such amounts pursuant to the following ordering rules:
(i) from earnings, if any, on such amounts described in clauses (ii) and (iii),
(ii) from contributions described in subsection (c)(3),
(iii) from contributions by an eligible individual to the HOPE Account, and
(iv) from rollover contributions to the HOPE Account from another HOPE Account allocable to contributions by an eligible individual to such other HOPE Account, on a first-in, first-out basis.
(2) Distribution and taxation of amounts not used for qualified medical expenses