1. Short title This Act may be cited as the Keep Kids' Insurance Dependable and Secure Act of 2017 or the KIDS Act of 2017 . 2. Five-year funding extension of the Children’s Health Insurance Program (a) Appropriation; total allotment Section 2104(a) of the Social Security Act ( 42 U.S.C. 1397dd(a) ) is amended— (1) in paragraph (19), by striking and ; (2) in paragraph (20), by striking the period at the end and inserting a semicolon; and (3) by adding at the end the following new paragraphs: (21) for fiscal year 2018, $21,500,000,000; (22) for fiscal year 2019, $22,600,000,000; (23) for fiscal year 2020, $23,700,000,000; (24) for fiscal year 2021, $24,800,000,000; and (25) for fiscal year 2022, for purposes of making 2 semi-annual allotments— (A) $2,850,000,000 for the period beginning on October 1, 2021, and ending on March 31, 2022; and (B) $2,850,000,000 for the period beginning on April 1, 2022, and ending on September 30, 2022. . (b) Allotments (1) In general Section 2104(m) of the Social Security Act ( 42 U.S.C. 1397dd(m) ) is amended— (A) in paragraph (2)— (i) in the heading, by striking through 2016 and inserting through 2022 ; and (ii) in subparagraph (B)— (I) in the matter preceding clause (i), by striking (19) and inserting (24) ; (II) in clause (ii), in the matter preceding subclause (I), by inserting (other than fiscal year 2022) after even-numbered fiscal year ; and (III) in clause (ii)(I), by inserting (or, in the case of fiscal year 2018, under paragraph (4)) after clause (i) ; (B) in paragraph (5)— (i) by striking or (4) and inserting (4), or (10) ; and (ii) by striking or 2017 and inserting , 2017, or 2022 ; (C) in paragraph (7)— (i) in subparagraph (A), by striking 2017 and inserting 2022 ; and (ii) in the matter following subparagraph (B)(ii), by striking or fiscal year 2016 and inserting fiscal year 2016, fiscal year 2018, fiscal year 2020, or fiscal year 2022 ; (D) in paragraph (9)— (i) in the heading, by striking fiscal years 2015 and 2017 and inserting certain fiscal years