Ngwe was elected to the Malacca State Legislative Assembly in the 2021 state election, winning the seat of Machap Jaya from incumbent Ginie Lim Siew Lin of the Pakatan Harapan (PH) opposition coalition who did not recontest.[1] In addition, he was also appointed as Member of the Melaka State EXCO in charge of Unity, Human Resources, Community Relations and Consumer Affairs by 12th Chief Minister Sulaiman on 26 November 2021. He was reappointed as an EXCO Member in charge of Health, Human Resources and Unity by 13th Chief Minister Ab Rauf on 5 April 2023.