(1) an individual retirement account (within the meaning of ),
(2) an Archer MSA (within the meaning of ),
(3) an individual retirement annuity (within the meaning of ), a custodial account treated as an annuity contract under (relating to custodial accounts for regulated investment company stock),
(4) a Coverdell education savings account (as defined in section 530),
(5) a health savings account (within the meaning of ), or
(6) an ABLE account (within the meaning of section 529A),
(1) the excess (if any) of—
the excess (if any) of—
(A) the amount contributed for the taxable year to the accounts or for the annuities (other than a contribution to a Roth IRA or a rollover contribution described in , 403(a)(4), 403(b)(8), 408(d)(3), or 457(e)(16)), over
(B) the amount allowable as a deduction under section 219 for such contributions, and
(2) the amount determined under this subsection for the preceding taxable year reduced by the sum of—
the amount determined under this subsection for the preceding taxable year reduced by the sum of—
(A) the distributions out of the account for the taxable year which were included in the gross income of the payee under ,
(B) the distributions out of the account for the taxable year to which applies, and
(C) the excess (if any) of the maximum amount allowable as a deduction under section 219 for the taxable year over the amount contributed (determined without regard to ) to the accounts or for the annuities (including the amount contributed to a Roth IRA) for the taxable year.
o
(1) the excess (if any) of the amount contributed for the taxable year to such account (other than a rollover contribution described in or 408(d)(3)(A)(iii)), over the lesser of the amount excludable from gross income under or the amount permitted to be contributed under the limitations contained in section 415 (or under whichever such section is applicable, if only one is applicable), and
(2) the amount determined under this subsection for the preceding taxable year, reduced by—
the amount determined under this subsection for the preceding taxable year, reduced by—
(A) the excess (if any) of the lesser of (i) the amount excludable from gross income under or (ii) the amount permitted to be contributed under the limitations contained in section 415 over the amount contributed to the account for the taxable year (or under whichever such section is applicable, if only one is applicable), and
(B) the sum of the distributions out of the account (for all prior taxable years) which are included in gross income under .
(1) the aggregate amount contributed for the taxable year to the accounts (other than rollover contributions described in ) which is neither excludable from gross income under nor allowable as a deduction under section 220 for such year, and
(2) the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
(A) the distributions out of the accounts which were included in gross income under , and
(B) the excess (if any) of—
the excess (if any) of—
(i) the maximum amount allowable as a deduction under (determined without regard to ) for the taxable year, over
(ii) the amount contributed to the accounts for the taxable year.
(1) In general
In the case of Coverdell education savings accounts maintained for the benefit of any one beneficiary, the term “excess contributions” means the sum of—
(A) the amount by which the amount contributed for the taxable year to such accounts exceeds $2,000 (or, if less, the sum of the maximum amounts permitted to be contributed under by the contributors to such accounts for such year); and
(B) the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
(i) the distributions out of the accounts for the taxable year (other than rollover distributions); and
(ii) the excess (if any) of the maximum amount which may be contributed to the accounts for the taxable year over the amount contributed to the accounts for the taxable year.
(2) Special rules
For purposes of paragraph (1), the following contributions shall not be taken into account:
(A) Any contribution which is distributed out of the Coverdell education savings account in a distribution to which applies.
(B) Any rollover contribution.
(1) the excess (if any) of—
the excess (if any) of—
(A) the amount contributed for the taxable year to Roth IRAs (other than a qualified rollover contribution described in ), over
(B) the amount allowable as a contribution under sections 408A(c)(2) and (c)(3), and
(2) the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
(A) the distributions out of the accounts for the taxable year, and
(B) the excess (if any) of the maximum amount allowable as a contribution under sections 408A(c)(2) and (c)(3) for the taxable year over the amount contributed by the individual to all individual retirement plans for the taxable year.
(1) the aggregate amount contributed for the taxable year to the accounts (other than a rollover contribution described in or 223(f)(5)) which is neither excludable from gross income under nor allowable as a deduction under section 223 for such year, and
(2) the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
the amount determined under this subsection for the preceding taxable year, reduced by the sum of—
(A) the distributions out of the accounts which were included in gross income under , and
(B) the excess (if any) of—
the excess (if any) of—
(i) the maximum amount allowable as a deduction under (determined without regard to ) for the taxable year, over
(ii) the amount contributed to the accounts for the taxable year.
(1) In general
In the case of an ABLE account (within the meaning of section 529A), the term “excess contributions” means the amount by which the amount contributed for the taxable year to such account (other than contributions under ) exceeds the contribution limit under .
(2) Special rule
For purposes of this subsection, any contribution which is distributed out of the ABLE account in a distribution to which the last sentence of applies shall be treated as an amount not contributed.