Clostridioides difficile is a major cause of nosocomial infectious diarrhea in hospitalized patients throughout the world. We aimed to characterize C. difficile isolates among hospitalized patients, hospital staffs, and hospital environment samples obtained in three tertiary care hospitals of Iran with regard to their molecular types between June 2016 and November 2017. The toxigenicity of C. difficile isolates was determined by toxigenic culture and multiplex‐PCR. Toxigenic C. difficile isolates collected were ribotyped using capillary gel electrophoresis‐based PCR and the database of WEBRIBO (http://webribo.ages.at). Of 500 clinical and non‐clinical samples, toxigenic C. difficile were identified in 35 of 250 stool samples (14%) and in 3 of 250 swabs (1.2%). The most frequently found ribotypes (RTs) were 039, AI‐12, and AI‐21 (15.8, 10.52, and 10.52% of all isolates, respectively). Further RTs were: 017, 001, AI‐3, AI‐15, AI‐18, AI‐10, AI‐4, and PR21195 (as new ribotype). The epidemic RTs (027 and 078) seen in the Europe, North America, and Asia were completely absent in this study.