Buffalo is a city in Johnson County, Wyoming, United States. The population was 4,585 at the 2010 census. It is the county seat of Johnson County. The town has experienced an economic boom due to methane production from the coal bed methane extraction method used in the Powder River Basin and surrounding areas. However; with the decline of methane production, Buffalo's population has stabilized since the 2010 Census. Even though energy is a vital part of its economy, agriculture, tourism, and recreations are three other major components. Buffalo is at the foot of the Bighorn Mountains.
As of the census of 2010, there were 4,585 people, 2,080 households, and 1,198 families living in the city. The population density was 1,028.0 inhabitants per square mile (396.9/km2). There were 2,300 housing units at an average density of 515.7 per square mile (199.1/km2).