Miles City is a city located in Custer County, Montana, United States. It is situated in the southeastern part of the state and is the county seat of Custer County. The city has a population of around 8,500 people as of the 2020 census. Miles City is known for its cowboy and ranching culture and hosts various events and rodeos throughout the year. The city is also home to the Range Riders Museum, which showcases the history of Montana's pioneer days.