Substantial evidence suggests that cancer stem cells (CSCs) are the main cause of the initiation, progression and recurrence of tumors. Benzidine has been identified as a risk factor for bladder cancer. The aim of the present study was to investigate the effects of benzidine on bladder CSCs (BCSCs) and the possible mechanism underlying its action. The bladder cancer cell lines UM-UC-3 and EJ were maintained in serum-free medium and cells forming three-dimensional spheres were characterized as BCSCs. The sphere-forming cells were exposed to different concentrations of benzidine and vismodegib, and western blotting was performed to evaluate the expression of markers associated with CSCs and the Sonic hedgehog (SHH) signaling pathway. Flow cytometry was used to detect the distribution of cells in different phases of the cell cycle, and immunofluorescence staining was used to detect the protein expression of CD44. The results revealed that the levels of BCSC markers, namely CD133, CD44, aldehyde dehydrogenase 1-A1, Nanog and octamer-binding transcription factor-4, in the cell spheres were markedly elevated compared with those in cells cultured in serum-supplemented medium. Furthermore, benzidine increased the expression of BCSC markers and promoted the sphere-forming ability of the cells. In addition, it was observed that benzidine activated the SHH pathway, while inhibition of the Shh pathway using vismodegib diminished the promoting effects of benzidine on BCSCs. The findings of the present study indicate that benzidine promoted the stemness of BCSCs via activation of the SHH pathway, which may support further exploration of the molecular basis of the association between benzidine exposure and bladder oncogenesis.