Hainesville is an unincorporated community in north-central Hampshire County, West Virginia, United States. It is situated at the crossroads of Old Martinsburg Grade Road, Little Cacapon Mountain Road, and Voits Road, to the southwest of Slanesville.