The increased incidence of solar ultraviolet B (UVB) radiation has been proposed as an environmental stressor, which may help to explain the enigmatic decline of amphibian populations worldwide. Despite growing knowledge regarding the UV-induced biological effects in several amphibian models, little is known about the efficacy of DNA repair pathways. In addition, little attention has been given to the interplay between these molecular mechanisms with other physiological strategies that avoid the damage induced by sunlight. Here, DNA lesions induced by environmental doses of solar UVB and UVA radiation were detected in genomic DNA samples of treefrog tadpoles (Hypsiboas pulchellus) and their DNA repair activity was evaluated. These data were complemented by monitoring the induction of apoptosis in blood cells and tadpole survival. Furthermore, the tadpoles' ability to perceive and escape from UV wavelengths was evaluated as an additional strategy of photoprotection. The results show that tadpoles are very sensitive to UVB light, which could be explained by the slow DNA repair rates for both cyclobutane pyrimidine dimers (CPDs) and pyrimidine (6,4) pyrimidone photoproducts (6,4PPs). However, they were resistant to UVA, probably as a result of the activation of photolyases during UVA irradiation. Surprisingly, a sensory mechanism that triggers their escape from UVB and UVA light avoids the generation of DNA damage and helps to maintain the genomic integrity. This work demonstrates the genotoxic impact of both UVB and UVA radiation on tadpoles and emphasizes the importance of the interplay between molecular and sensory mechanisms to minimize the damage caused by sunlight.