Any eligible individual who makes qualified retirement savings contributions for the taxable year shall be allowed a matching contribution for such taxable year in an amount equal to the applicable percentage of so much of the qualified retirement savings contributions made by such eligible individual for the taxable year as does not exceed $2,000.
Except as provided in subparagraph (B), the matching contribution under this section shall be allowed as a credit which shall be payable by the Secretary as a contribution (as soon as practicable after the eligible individual has filed a tax return making a claim for such matching contribution for the taxable year) to the applicable retirement savings vehicle of the eligible individual.
In the case of an eligible individual who elects the application of this subparagraph and with respect to whom the matching contribution determined under paragraph (1) is greater than zero but less than $100 for the taxable year, subparagraph (A) shall not apply and such matching contribution shall be treated as a credit allowed by subpart C of part IV of subchapter A of chapter 1.
The term “eligible individual” means any individual if such individual has attained the age of 18 as of the close of the taxable year.
The term “eligible individual” shall not include any individual who is a nonresident alien individual for any portion of the taxable year unless such individual is treated for such taxable year as a resident of the United States for purposes of chapter 1 by reason of an election under subsection (g) or (h) of section 6013.
The qualified retirement savings contributions determined under paragraph (1) for a taxable year shall be reduced (but not below zero) by the aggregate distributions received by the individual during the testing period from any entity of a type to which contributions under paragraph (1) may be made.
For purposes of determining distributions received by an individual under subparagraph (A) for any taxable year, any distribution received by the spouse of such individual shall be treated as received by such individual if such individual and spouse file a joint return for such taxable year and for the taxable year during which the spouse receives the distribution.
The term “applicable retirement savings vehicle” means an account or plan elected by the eligible individual under paragraph (2).
If any contribution is erroneously paid under subsection (a)(2), including a payment that is not made to an applicable retirement savings vehicle, the amount of such erroneous payment shall be treated as an underpayment of tax (other than for purposes of part II of subchapter A of chapter 68) for the taxable year in which the Secretary determines the payment is erroneous.
In the case of an applicable retirement savings vehicle to which contributions have been made under subsection (a)(2), and from which a specified early distribution has been made during the taxable year, if the aggregate amount of such contributions exceeds the account balance of such savings vehicle at the end of the such taxable year, the tax imposed by chapter 1 shall be increased by an amount equal to such excess (reduced by the amount by which the tax under such chapter was increased under section 72(t)(1) with respect to such distribution).
The increase in tax for any taxable year under subparagraph (A) shall be reduced (but not below zero) by so much of such specified early distribution as the individual elects to contribute to an applicable retirement savings vehicle not later than the day prescribed by law (including extensions of time) for filing such individual’s return for such taxable year.
Any individual who elects to contribute an amount under clause (i) may make one or more contributions in an aggregate amount not to exceed the amount of the specified early distribution to which the election relates to an applicable retirement savings vehicle and to which a rollover contribution of such distribution could be made under section 402(c), 403(b)(8), 408(d)(3), or 457(e)(16), as the case may be.
The aggregate amount of contributions made by an individual under clause (ii) to any applicable savings retirement vehicle which is not an individual retirement plan shall not exceed the aggregate amount of specified early retirement distributions which are made from such savings retirement vehicle to such individual. Clause (ii) shall not apply to contributions to any applicable retirement savings vehicle which is not an individual retirement plan unless the individual is eligible to make contributions (other than those described in clause (ii)) to such retirement savings vehicle.
If a contribution is made under clause (ii) with respect to a specified early distribution from an applicable savings retirement vehicle other than an individual retirement plan, then the taxpayer shall, to the extent of the amount of the contribution, be treated as having received such distribution in an eligible rollover distribution (as defined in section 402(c)(4)) and as having transferred the amount to the savings retirement vehicle in a direct trustee to trustee transfer within 60 days of the distribution.
If a contribution is made under clause (ii) with respect to a specified early distribution from an individual retirement plan, then, to the extent of the amount of the contribution, such distribution shall be treated as a distribution described in section 408(d)(3) and as having been transferred to the applicable retirement savings vehicle in a direct trustee to trustee transfer within 60 days of the distribution.
The Secretary shall prescribe such rules as may be appropriate to reduce any increase in tax otherwise made under subparagraph (A) to properly account for the extent to which any portion of the excess described in such subparagraph is allocable to investment loss in the retirement savings vehicle.
In the case of an amount elected by an eligible individual to be contributed to an account or plan under subsection (e)(2), the Secretary shall provide general guidance applicable to the custodian of the account or the plan sponsor, as the case may be, detailing the treatment of such contribution under subsection (f)(2) and the reporting requirements with respect to such contribution under section 6058, particularly as such requirements are modified pursuant to section 102(c)(2) [1] of the SECURE 2.0 Act of 2022.