Yorktown is a city in DeWitt County, Texas, United States. The population was 2,092 at the 2010 census.