for geothermal energy property Section 48(a)(2)(A)(i)(II) is amended by striking paragraph (3)(A)(i) and inserting clause (i) or (iii) of paragraph (3)(A) . (b) Extension of solar and thermal energy property Section 48(a)(3)(A) is amended— (1) by striking periods ending before January 1, 2017 in clause (ii) and inserting property the construction of which begins before January 1, 2022 , and (2) by striking periods ending before January 1, 2017 in clause (vii) and inserting property the construction of which begins before January 1, 2022 . (c) Phaseout of 30-Percent credit rate for geothermal energy property Section 48(a)(6) is amended— (1) by inserting and geothermal after solar in the heading, (2) by striking paragraph (3)(A)(i) in subparagraph (A) and inserting clause (i) or (iii) of paragraph (3)(A) , and (3) by striking property energy property described in paragraph (3)(A)(i) in subparagraph (B) and inserting energy property described in clause (i) or (iii) of paragraph (3)(A) . (d) Phaseout of 30-Percent credit rate for fiber-Optic solar, qualified fuel cell, and qualified small wind energy property (1) In general Section 48(a) is amended by adding at the end the following new paragraph: (7) Phaseout for fiber-optic solar, qualified fuel cell, and qualified small wind energy property (A) In general In the case of any qualified fuel cell property, qualified small wind property, or energy property described in paragraph (3)(A)(ii), the energy percentage determined under paragraph (2) shall be equal to— (i) in the case of any property the construction of which begins after December 31, 2019, and before January 1, 2021, 26 percent, and (ii) in the case of any property the construction of which begins after December 31, 2020, and before January 1, 2022, 22 percent. (B) Placed in service deadline In the case of any energy property described in subparagraph (A) which is not placed in service before January 1, 2024, the energy percentage determined under paragraph (2) shall be equal to 0 percent. . (2) Conforming