Texas City is a city in Galveston County, Texas, United States, on the southwest shoreline of Galveston Bay. Texas City is a deepwater port on Texas's Gulf Coast, as well as a petroleum-refining and petrochemical-manufacturing center. The population was 51,898 at the 2020 census, making it the third-largest city in Galveston County, behind League City and Galveston. It is a part of the Houston metropolitan area. It is notable as the site of a major explosion in 1947 that demolished the port and much of the city.