The European Union has taken the course to become climate neutral by 2050. To reach that target significant changes in all sectors are necessary, resulting in increasing regulatory pressure on energy producers, consumers and other sectors. Increasing legal requirements was also one of the reasons why the city of Daugavpils (population of 82 000) took a decision to implement an Energy management system (EnMS). In the boundaries of EnMS Daugavpils included more than 100 public buildings, public transportation and public lighting. This research paper presents results of the EnMS implementation, main drivers and barriers that Daugavpils has faced and overcome in the implementation process, and also assesses the benefits the city of Daugavpils has gained from EnMS. The success rate of EnMS in such an organisation as a municipality is based on the awareness and knowledge of the municipality's employees and support from the municipality leaders. The case study of Daugavpils shows energy savings of 12 % in the public building sector after implementing EnMS.