The objective of the study was to perform a comparative analysis of genetic similarity, with the use of pulsed field gel electrophoresis (PFGE), of Clostridium perfringens isolates originating from patients with gas gangrene and from the hospital environment. The study encompassed two patients with a clinical and microbiological diagnosis of gas gangrene, who were hospitalized in one of the hospitals of the Małopolska province in the time period between 31st March 2012 and 18th May 2012. Clostridium perfringens isolates genotyping indicated that the isolates originating from the two studied patients did not display genetic similarity and represented two different PFGE types, which corresponded to two different clones (clone A and B). Whereas the strains isolated from the hospital environment were genetically identical with the strain coming from the second patient and represented one PFGE type, which corresponded to one clone (clone A). As a result of the study, it is possible to conclude that both patients developed endogenous infection. Even so, the examination of the hospital environment indicates the possibility of the appearance of exogenous infections. It prompts recommending and following the exact regulations of sanitary regime in the ward and the operating theater if a patient is diagnosed with gas gangrene.