1. Short title This Act may be cited as the Technologies for Energy Jobs and Security Act of 2017 . 2. Extension and phaseout of residential energy efficient property (a) Extension Section 25D(h) of the Internal Revenue Code of 1986 is amended by striking December 31, 2016 (December 31, 2021, in the case of any qualified solar electric property expenditures and qualified solar water heating property expenditures) , and inserting December 31, 2021 . (b) Phaseout (1) In general Paragraphs (3), (4), and (5) of section 25D(a) of the Internal Revenue Code of 1986 are amended by striking 30 percent each place it appears and inserting the applicable percentage . (2) Conforming amendment Section 25D(g) of the Internal Revenue Code of 1986 is amended by striking paragraphs (1) and (2) of . (c) Effective date The amendments made by this section shall take effect on January 1, 2017. 3. Extension and phaseout of energy credit (a) Credit percentage for geothermal energy property Section 48(a)(2)(A)(i)(II) of the Internal Revenue Code of 1986 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) of the Internal Revenue Code of 1986 is amended— (1) in clause (ii) by striking periods ending before January 1, 2017 and inserting property the construction of which begins before January 1, 2022 ; and (2) in clause (vii) by striking periods ending before January 1, 2017 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) of the Internal Revenue Code of 1986 is amended— (1) in the heading, by inserting and geothermal after solar ; (2) in subparagraph (A), by striking paragraph (3)(A)(i) and inserting clause (i) or (iii) of paragraph (3)(A)