The City of Louisville is a home rule municipality located in southeastern Boulder County, Colorado, United States. The city population was 21,226 at the 2020 United States Census. Louisville began as a mining community in 1877, experienced a period of labor violence early in the 20th century, and transitioned to a suburban residential community when the mines closed in the 1950s.