Coastal beaches are vulnerable to microplastic pollution originating primarily from terrestrial and marine sources or the in situ weathering of plastic waste. The present study investigates the effects of rainfall events on the composition and diversity of microplastics on beaches in Xiamen City on a short-term scale. In the results, the quantity of microplastics in beach sediments was 245.83 ± 11.61 items·kg−1 (mean ± standard error). The abundance of microplastics did not differ after each rainfall event but significantly decreased after multiple rainfall events. When the diversity of microplastics in the coastal area was evaluated, the Shannon-Wiener index and Pielou’s index also decreased from 3.12 and 0.64 to 2.99 and 0.62, respectively, after multiple rainfall events. Rainfall had varying effects on microplastics depending on their size and shape, with particles smaller than 500 μm experiencing pronounced reductions. There was a significant negative correlation between the abundance of microplastics and the grain size of sand, but a positive correlation with sediment moisture content. We encourage the consideration of the potential impact of rainfall events during sample collection to ensure the reliability of the data. We also recommend using diversity indexes to help in understanding the influence of physical processes on microplastic distribution and their mechanisms.