Comănești is a town in Bacău County, Western Moldavia, Romania, with a population of 19,568. It is situated on the Trotuș River, which flows between the Ciuc and the Tarcău mountains (10 km (6 mi) of its course pass through Comănești).
The area of the town of Comănești has been inhabited since the Neolithic period - Neolithic remains were found in the Vermești area of the town. The name is derived from the Cumans who once ruled the region. Its first written record dates from 1657, and its first presence on a map from the 1696 Sanson Map.
From the late 18th century onwards, the town was in the domain of the Ghica family of boyars, who remained an important presence in the area until the middle of the 20th century. The Ghica Palace (now housing the local museum), the park in front of the museum, and the railway stations are testimonies to their presence in the town.