Background and aims Intense rains are becoming more frequent. By causing waterlogging, they may increase soil erosion and soil surface compaction, hamper seedling establishment, and reduce plant growth. Since anecic earthworms make vertical burrows that improve water infiltration, we hypothesised that they can counteract such disturbance. Methods In a field experiment, intact soil mesocosms with ryegrass (Lolium multiflorum), with or without introduced adult Lumbricus terrestris, underwent either a precipitation regime with two intense rain events (36 mm, at beginning and end of spring), or a control regime with the same cumulative rainfall but no intense events. Short-term response of soil moisture and lagged response of plant growth were measured, and soil macroporosity was quantified. Results Intense rains reduced ryegrass shoot biomass (by 16-21 % on average) only in the absence of earthworms. Waterlogging duration aboveground was not affected, whereas soil moisture contents after intense rainfall tended to drop faster with earthworms present. Continuous vertical macropores were found only in the mesocosms to which earthworms had been added. The number of such macropores was 2.4 times higher under the intense precipitation regime, despite similar earthworm survival. Conclusions We found that anecic earthworms can offset negative effects of intense rainfall on plant growth aboveground. Underlying mechanisms, such as macropore formation and enhanced nutrient cycling, are discussed. We also observed that altered precipitation patterns can modify earthworm burrowing behaviour, as earthworms had produced more burrows under the intense regime.