We report on the genomic characterization of 47 multi-drug resistant, carbapenem resistant and ESBL-producing K. pneumoniae isolates from the influent (I) and effluent (E) of three wastewater treatment plants (WWTPs) and from Romanian hospital units which are discharging the wastewater in the sampled WWTPs. The K. pneumoniae whole genome sequences were analyzed for antibiotic resistance genes (ARGs), virulence genes and sequence types (STs) in order to compare their distribution in C, I and E samples. Both clinical and environmental samples harbored prevalent and widely distributed ESBL genes, i.e. bla SHV , bla OXA , bla TEM and bla CTX M . The most prevalent carbapenemase genes were bla NDM-1 , bla OXA-48 and bla KPC-2 . They were found in all types of isolates, while bla OXA-162 , a rare bla OXA-48 variant, was found exclusively in water samples. A higher diversity of carbapenemases genes was seen in wastewater isolates. The aminoglycoside modifying enzymes (AME) genes found in all types of samples were aac(6'), ant(2'') Ia, aph(3'), aaD, aac(3) and aph(6). Quinolone resistance gene qnrS1 and the multi-drug resistance oqxA/B pump gene were found in all samples, while qnrD and qnrB were associated to aquatic isolates. The antiseptics resistance gene qacEdelta1 was found in all samples, while qacE was detected exclusively in the clinical ones. Trimethroprim-sulfamethoxazole (dfrA, sul1 and sul2), tetracyclines (tetA and tetD) and fosfomycin (fosA6, known to be located on a transpozon) resistance genes were found in all samples, while for choramphenicol and macrolides some ARGs were detected in all samples (catA1 and catB3 / mphA), while other (catA2,