Objective: To evaluate the effect of two cavity disinfectants, a 2% chlorhexidine and a 1% benzalkonium chloride solution, on the shear and tensile bond strengths of dentin bonding systems to dentin. Method and materials: Superficial dentin was exposed from 84 freshly extracted human third molars. The teeth were randomly assigned to two main groups according to the bonding agent used, either One Step or Optibond Solo. Each dentin bonding system had six test groups (three for shear, three for tensile testing), and each test group had a control and two cavity disinfectant groups. In the control groups, dentin bonding systems were applied after etching the dentin, whereas in the cavity disinfectant groups, dentin was conditioned and treated for 20 seconds with the disinfectants before applying the dentin bonding systems. A hybrid resin composite then was applied to all treated samples. After storage in distilled water at 37degreesC for 24 hours, shear and tensile tests were performed. Data were analyzed using Kruskall-Wallis and Mann-Whitney U tests. Results: The mean shear and tensile bond strengths of One Step and Optibond Solo were not significantly different from each other, and the cavity disinfectants also had no significant effects on shear and tensile bond strength values versus the controls. Conclusion: The results indicate that the use of 2% chlorhexidine and 1% benzalkonium chloride solutions as cavity disinfectants after etching the dentin did not affect the shear and tensile bond strengths of One Step and Optibond Solo.