[Objective] The spatiotemporal distribution characteristics and variation trends of rainfall erosivity in Yulin City of Shaanxi Province were explored , in order to provide theoretical guidance for studying the regional soil erosion patterns and formulating soil and water conservation measures. [Methods] Based on daily rainfall data collected at 18 meteorological stations in and around Yulin City from 1991 to 2023, the rainfall erosivity values at each station were calculated using a daily rainfall erosivity model. The spatiotemporal distribution characteristics and variation trends of rainfall erosivity over the past 33 years in Yulin City were then explored and analyzed using statistical methods. [Results] The annual average rainfall erosivity in Yulin City was 952.88 MJ·mm/(hm2·h·a), and the annual average erosive rainfall was 270.87 mm. The rainfall erosivity and erosive rainfall at each station in Yulin City were unevenly distributed throughout the year, mainly concentrated in summer and autumn. The spatial distribution patterns of rainfall erosivity and erosive rainfall were generally consistent, both showing an overall increasing trend from northwest to southeast. In the future, except for Wubao station which would continue its historical trend, the rainfall erosivity at all other stations was projected to show trends opposite to the past, with rainfall erosivity and erosive rainfall expected to gradually decrease. [Conclusion] The annual rainfall erosivity in Yulin City shows a fluctuating upward trend, with significant interannual fluctuations observed at various stations. The future trend of rainfall erosivity in this region is projected to decrease. However, significant uncertainties remain regarding its variation trend. Therefore, it is necessary to strengthen soil and water conservation management and soil erosion prevention, particularly at stations where rainfall erosivity shows an increasing trend.