Greenbrier County (/ˈɡriːnbraɪ.ər/) is a county in the U.S. state of West Virginia. As of the 2020 census, the population was 32,977. Its county seat is Lewisburg. The county was formed in 1778 from Botetourt and Montgomery counties in Virginia.