Takao Prefecture
During the Japanese era, Sandimen was grouped with modern-day Majia Township and Wutai Township as , which was governed under of Takao Prefecture. Following the Kuomintang takeover of Taiwan in 1945, Sandimen was assigned to Kaohsiung County and, on 16 August 1950, it became a part of the newly established Pingtung County.