Within the framework of administrative divisions, Kozelsk serves as the administrative center of Kozelsky District, to which it is directly subordinated. As a municipal division, the town of Kozelsk is incorporated within Kozelsky Municipal District as Kozelsk Urban Settlement.Law #7-OZ
