1. Short title This Act may be cited as the Territories Medicare Prescription Drug Assistance Equality Act of 2023 . 2. Equal treatment of residents of territories in premium and cost-sharing subsidies under Medicare prescription drug program (a) Medicare assistance Section 1860D–14(a)(3) of the Social Security Act ( 42 U.S.C. 1395w–114(a)(3) ) is amended— (1) in subparagraph (A), in the matter preceding clause (i), by striking subject to subparagraph (F), ; (2) in subparagraph (B)(v), in the matter preceding subclause (I), by striking Subject to subparagraph (F), the Secretary and inserting The Secretary ; (3) in subparagraph (C), by adding at the end the following new sentence: In the case of an individual who is not a resident of the 50 States or the District of Columbia, the poverty line (as such term is defined in clause (ii)) that shall apply to such individual shall be the poverty line for the 48 contiguous States and the District of Columbia. ; and (4) by striking subparagraph (F). (b) Medicaid assistance Section 1935 of the Social Security Act ( 42 U.S.C. 1396u–5 ) is amended— (1) in subsection (c)(1)(A)— (A) by inserting (and each other State for each month beginning with January 2022) after January 2006 ; and (B) in clause (i), by inserting or (2)(B) (as the case may be) after paragraph (2)(A) ; (2) in subsection (c)(2)— (A) in subparagraph (A)— (i) by amending the heading to read as follows: Computation for 50 States and the District of Columbia ; and (ii) by striking a State described in paragraph (1) and inserting one of the 50 States or the District of Columbia ; (B) in subparagraph (B)— (i) by striking subparagraph (A) and inserting subparagraph (A) or (B) (as the case may be) ; and (ii) by redesignating such subparagraph as subparagraph (C)