Kota Sarang Semut (GPS: 5.97872, 100.3977) is a small town in Kedah. It is located in the Kota Setar District, near the border with Pendang District. The name of the town Kota Sarang Semut means Town of Ant Hills, attributing a local legend of ant hills in the area. The historical Wan Mat Saman Canal, the longest irrigation canal in the country, passes through the town.
Kota Sarang Semut includes the surrounding villages. Sungai Sala, which forms the district border of Kota Setar District, runs westward to the sea, just south of town, with its estuary at Kuala Sala.