Grant County is a county in the U.S. state of West Virginia. As of the 2020 census, the population was 10,976. Its county seat is Petersburg. The county was created from Hardy County in 1866 and named for Civil War General and the 18th president of the United States Ulysses S. Grant.