The first hospital outbreak of carbapenemase-producing Enterobacteriaceae in Slovenia occurred in 2014-2016. Whole genome sequencing was used to analyse the population of carbapenem-resistant Klebsiella pneumoniae collected in Slovenia in 2014-2017, including OXA-48 and/or NDM-1 producing strains from the outbreak. Methods A total of 32 K. pneumoniae isolates were analysed using short-read sequencing. Multilocus sequence typing and core genome multi-locus sequence typing were used to infer genetic relatedness. Antimicrobial resistance markers, virulence factors, plasmid content and wzi types were determined. Long-read sequencing was used for six isolates for detailed analysis of plasmids and their possible transmission. Results Overall, we detected 10 different sequence types (STs), the most common being ST437 (40.6%). Isolates from the initial outbreak belonged to ST437 (12/16) and ST147 (4/16). A second outbreak of four ST15 isolates was discovered. A new ST (ST3390) and two new wzi types (wzi-556, wzi-559) were identified. blaOXA-48 was found in 17 (53.1%) isolates, blaNDM-1 in five (15.6%), and a combination of blaOXA-48/NDM-1 in seven (21.9%) isolates. Identical plasmids carrying blaOXA-48 were found in outbreak isolates sequenced with long-read sequencing technology.