Amazon rainforests are critical for providing a wide range of ecosystem services. In the Southeastern Peruvian Amazon; however, goldmining activities are causing severe soil degradation and forest loss. We analyzed aboveground biomass (AGB), forest structure, and species diversity recovery during secondary succession in 179 forest plots. Our study provides the first field-based quantification of AGB recovery following the abandonment by two types of goldmining (heavy machinery and suction pumping) in Madre de Dios (Peru). We found that successional secondary forests in areas subjected to suction pumping were more resilient than those in areas subjected to heavy machinery. After 20 years, mean AGB in suction pumping mining areas had reached 56% of reference forest AGB, while in areas of heavy machinery mining it was only 18%. Mining type, stand age, and distance from the forest edge had a significant effect on AGB. The influence of the distance from the forest edge on AGB varies according to mining type because the effects of species diversity on AGB are mediated by the distance from the forest edge. Our results clearly showed the dynamics of AGB recovery across a secondary succession after goldmining, and the contrasting responses of AGB between the two mining types. Our study disentangles the importance of key factors in forest recovery after mining and improves understanding of the resilience of biomass accumulation in these highly degraded ecosystems.