This study aimed to evaluate, in vitro, the structural changes in dentin surfaces irradiated with Er:YAG (2940 nm, 90 mJ, 2 Hz, 300 μs, spot diameter 0.9 mm, 60 s/cm2, using the handpiece at 6 cm of distance to surface) and Nd:YAG (1064 nm, 1 W, 10 Hz, 300 μs, optical fiber diameter 300 μm, 60 s/cm2, using the handpiece at 2 mm of distance to surface) lasers to the treatment of cervical hypersensitivity and the respective bond strength compromising of resin composite restorations over these surfaces. 45 bovine teeth were selected, and removed the enamel portion of the buccal surface for laser irradiation and restorative procedure. Samples were divided into three groups: G1: control, only fluoride therapy; G2: irradiated with Er:YAG laser; G3: irradiated with Nd:YAG laser. Samples were submitted to optical coherence tomography analysis and subsequently they were restored with resin composite and sectioned into sticks for microtensile tests of achievement. ANOVA analysis of variance for the maximum force (N) and strength (MPa), with a significance level of 5% was performed. It was observed that G3 presented lower performance of maximum force (38,8 ± 11,3 N) and resistance (26,0 ± 9,3 MPa), and the G2 presented better results (51,0 ± 13,5 N and 36,5 ± 10,1 MPa), but still lower than those one obtained for G1 (56,0 ± 12,3 N and 43,5 ± 8,6 MPa). Although both lasers are effective in the cervical hypersensitivity treatment, when the aesthetic factor is the priority, the use of Er:YAG is preferable.