Hat Yai is a city in southern Thailand near the Malaysian border. As of 2024, the municipality is the fifth-largest city in Thailand, with a population of 191,696 and an urban population of 406,513 in the entire district of Amphoe Hat Yai.