Kodyma is named after a river Kodyma, on which it is located.
On maps of the 16th century of Wenceslaus Grodecki there is a region identified as "Codima solitudo, uastissima" (a very vast desert).[3] The area is located around the mid-stream of Southern Bug. It is believed that the Kodyma's etymology of Turkic origin and means a lower saturated with water place.[4][5]
In the Polish Geographic dictionary (Słownik geograficzny) it is mentioned as a small town (miasteczko) in Balta county and has a train station on the Kyiv–Odesa railroad. The city foundation date is stated as 1754, however according to the Geographic Dictionary Kodyma as a real estate existed before and belonged to the family of Zamoyski. Later it transferred to the family of Koniecpolski after Johanna Barabara Zamoyska married Aleksander Koniecpolski.
In 1694 Cossacks of Semen Paliy defeated a Tatar army at the battle of Kodyma.[4]
Until 18 July 2020, Kodyma was the administrative center of Kodyma Raion. The raion was abolished in July 2020 as part of the administrative reform of Ukraine, which reduced the number of raions of Odesa Oblast to seven. The area of Kodyma Raion was merged into Podilsk Raion.[6][7]