Kotelva was first mentioned in writing in 1582 when Hetman Skalozub told it about the attack of the Crimean state units. In 1638, inhabitants of the town first attacked against the Polish authorities in the army of Hetman Pivtorakozhuka. For ten years, during the Khmelnytsky Uprising, Kotelva inhabitants participated in battles under the leadership of Bohdan Khmelnytsky. In the second half of the 17th century and in the first half of the 18th century Kotelva was a fortress protecting against attacks of Crimean and Nogai troops. In January 1709, Charles XII of Sweden spared the city. Later deceit town came under the direct jurisdiction of Grand Duchy of Moscow and entered into the Akhtyrsky regiment of Sloboda Ukraine. The church remained subordinate to the Kyiv Metropolis.