Mae Sot (Thai: แม่สอด, pronounced [mɛ̂ː sɔ̀ːt]; Burmese: မဲဆောက်, [mɛ́ sʰauʔ]; Shan: ႄႈသၢႆ, [ɛ sʰaaj]) is a toun an the caipital o the Mae Sot Destrict in wastren Thailand that shares a border wi Myanmar tae the wast. It is notable as a trade hub an for its substantial population o Burmese migrants an refugees. The toun is pairt o the lairger Tak Province an is the main laund gatewey atween Thailand an Burma. As a result it haes an aa gained notoriety for its trade in gems an teak, as well as black mercat services sic as fowk trokin an drogs. Neeburin destricts are (frae north, clockweys): Mae Ramat, Mueang Tak an Phop Phra. The Moei River sers as a naitural border atween Mae Sot an the Burmese toun o Myawaddy.