Libby is a city in and the county seat of Lincoln County, Montana. The population was 2,628 at the 2010 census.
Libby is located along U.S. Route 2.
According to the United States Census Bureau, the city has a total area of 1.95 square miles (5.05 km2), of which 1.91 square miles (4.95 km2) is land and 0.04 square miles (0.10 km2) is water. Located in the Kootenai National Forest, between the Cabinet Mountains to the south and the Purcell Mountains to the north, the town lies in the heart of the Kootenai Valley along the Kootenai River, and downstream from the Libby Dam. Libby is at an elevation of 2,096 feet (640 m) above sea level.
Libby experiences a continental climate (Köppen Dfb).
As of the census of 2010, there were 2,628 people, 1,252 households, and 647 families residing in the city. The population density was 1,375.9 inhabitants per square mile (531.2/km2). There were 1,416 housing units at an average density of 741.4 per square mile (286.3/km2).