Mexia ( /məheɪ.ə/ mə-hay-ə or /məhɛər/ mə-hair) is a city in Limestone County, Texas, United States. The population was 6,552 at the 2008 census. Named after General José Antonio Mexía, a Hispanic hero for the Republic of Texas Army during the Texas Revolution, the town was founded near his estate.