The objective of this study was to assess the prevalence, antibiogram, and related genes of carbapenem-resistant Klebsiella pneumoniae (CRKP) among hospital environment samples. A total of 250 samples were taken from different surfaces and medical devices of three hospitals in Isfahan, Iran. All samples were cultured and K. pneumoniae strains were identified by conventional microbiological methods and polymerase chain reaction (PCR). Antibiogram of isolates was performed by disk diffusion method and production of carbapenemases and metallo-β-lactamases (MBLs) was confirmed using modified Hodge test and E-test, respectively. Molecular detection of the related genes was carried out by PCR. Overall, 37 (14.8%) K. pneumoniae strains were isolated, of which 34 (91.9%) strains were resistant to carbapenems. Twenty-eight (82.4%) isolates were positive for carbapenemases and seven (20.6%) isolates were phenotypically MBL producers. The results of PCR showed that the prevalence of bla OXA-48 , bla NDM , bla IMP , bla SHV , bla CTX-M , bla TEM , and class 1 integron among CRKP isolates was 70.6%, 52.9%, 2.9%, 100%, 82.4%, 55.9%, and 76.5%, respectively. However, bla KPC , bla GES , bla IMI , bla VIM , and class 2 integron were not detected in any of the isolates. This study showed that the environment of our hospitals is contaminated with CRKP and it emphasizes the importance of using standard methods for infection control.