Loei (Thai:เลย; pronounced[lɤ̄ːj]) is a town (thesaban mueang) in north-east Thailand. Loei covers the whole tambon of Mueang Loei district and is the capital of Loei Province. In 2005, Loei had a population of 22,677. Loei lies 545km north-north-east of Bangkok, 150km west of Udon Thani.