This study determined the effects of bonding agents on the shear bond strength of dual- and self-cured resin composites to dentin. Two light-cured dentin bonding agents (Excite and One-Step) and a dual-cured bonding agent (Excite DSC) were compared. Light activation of the bonding agents prior to placement of the resin composites was also evaluated. This in vitro study was performed on 120 extracted non-carious human third molars. The occlusal part of the crowns was removed to expose a flat dentin surface. The teeth were then randomly divided into three major groups for Excite, One-Step and Excite DSC as bonding agents. The specimens in each adhesive group were divided into four subgroups: with and without light activation of the bonding agent and with dual-cured (Luxacore Dualcure, DMG, Hamburg, Germany) or light-cured resin (Luxacore, DMG, Hamburg, Germany) composites. After placing the restorations, the specimens were kept in water at 37 degrees C for 24 hours before being tested for shear bond strength on an Instron universal testing machine at a crosshead speed of 0.5 mm/minute. The results showed that the shear bond strength of dual-cured resin composite to dentin was significantly higher than that of self-cured resin composite (p = 0.017). Light activation of the bonding agents prior to applying the resin composites led to a significantly higher shear bond strength of the resin composites to dentin, compared to no light activation (p < 0.05).