立憲民政党
On May 15, 1912 Machida was elected to a seat from the Akita district in the lower house of the Diet of Japan. He was subsequently elected ten times to the same seat. He joined the 2nd Okuma cabinet as parliamentary undersecretary for Agriculture and Commerce, where he set official government-determined wholesale price of rice. Initially with the Rikken Kokumintō, Machida later joined the Rikken Dōshikai, Kenseikai and Rikken Minseitō (of which he became president in 1935).