The first mention refers to the XIV century when Mhlyn belonged to Lithuania.
The Magdeburg Right was given in 1626 together with an emblem - in vert field are three or towers, the central tower with a gate.
Since 1652 it was a squadron town of Starodub regiment. Untill 1919 it belonged to Chernihivs'ka province.