This study evaluated the influence of the irradiation with a short-pulse Er:YAG laser on the adhesion of composite resin to sound and eroded dentin (SD and ED). Forty-six samples of occlusal dentine, obtained from human molars, had half of their surface protected, while the other half was submitted to erosive cycles. Afterward, 23 samples were irradiated with Er:YAG laser, resulting in four experimental groups: SD, sound irradiated dentine (SID—Er:YAG, 50 μs, 2 Hz, 80 mJ, and 12.6 J/cm2), ED, and eroded irradiated dentin (EID—erosion + Er:YAG laser). A self-etching adhesive system was used, and then cylinders of composite resin were prepared. A microshear bond strength test was performed after 24 h storage (n=20). The morphology of SD and ED, with or without Er:YAG laser irradiation, was evaluated under scanning electron microscopy (n=3). Bond strength values (MPa) were subjected to analysis of variance followed by Tukey’s test. Statistically significant differences were found among the experimental groups: SD (9.76±3.39 B), SID (12.77±5.09 A), ED (5.12±1.72 D), and EID (7.62±3.39 C). Even though erosion reduces the adhesion to dentin, the surface irradiation with a short-pulse Er:YAG laser increases adhesion to both ED and SD.