Ehrhardt is a town in Bamberg County, South Carolina, United States. As of the 2010 census, the town population was 545.