Yorktown is a city in DeWitt County, Texas, United States. The population was 2,271 at the 2000 census.
According to the United States Census Bureau, the city has a total area of 1.7 square miles (4.5 km²), all of it land.
As of the census of 2000, there were 2,271 people, 864 households, and 584 families residing in the city. The population density was 1,318.1 people per square mile (509.8/km²). There were 1,048 housing units at an average density of 608.3 per square mile (235.3/km²). The racial makeup of the city was 79.83% White, 2.99% African American, 0.40% Native American, 15.32% from other races, and 1.45% from two or more races. Hispanic or Latino of any race were 37.60% of the population.