 In 1938, Yeop Mahidin was appointed a magistrate in Telok Anson (now Teluk Intan) before transferring to Kajang in 1939.In 1940 he again transferred, this time to Kuala Lipis as Assistant District Officer.He joined the local Malay State Volunteer Rifles Reserve and commissioned a 2nd Lieutenant.