The increasing environmental concern surrounding organic ultraviolet absorbers (OUVAs) has prompted heightened attention, particularly their presence in personal care products (organic ultraviolet filters, OUVFs) and industrial products (organic ultraviolet stabilizers, OUVSs). This study investigates the impact of human activities and environmental factors on the occurrence, spatiotemporal distribution, and ecological risk of eight commonly utilized OUVFs and OUVSs in the coastal region of Beibu Gulf, South China Sea. The study area is characterized by multiple functional zones with distinct human activities. Results reveal elevated concentrations of OUVAs during summer compared to winter, attributed to increased residential usage, tourist activities, industrial releases, and intensified ultraviolet (UV) radiation. Interestingly, the proportion of OUVFs increases during summer, while OUVSs decrease. Correlation analysis between OUVAs and sampling sites reveals that tourism and domestic wastewater are the main contributors to OUVF contamination in summer, whereas mariculture and port trade significantly impact OUVS contamination in winter. The ecological risk assessment indicates predominantly low or medium risk levels for most OUVAs in both local seawater and freshwater ecosystems. Nevertheless, OUVFs, with a particular focus on 4-methylbenzylidene camphor (4-MBC), and OUVSs, specifically 2-(2-hydroxy-5-methylphenyl) benzotriazole (UV-P), exhibit a heightened risk compared to alternative substances. These findings provide crucial insights into the development of targeted mitigation strategies for OUVAs, taking into account the varying contamination levels of OUVFs and OUVSs resulting from diverse human activities, aiming to protect the health of aquatic ecosystems in diverse functional zones.