Model projections predict tropical forests will experience longer periods of drought and more intense precipitation cycles under a changing climate. Such transitions have implications for structure-function relationships within microbial communities. We examine how throughfall exclusion might reshape prokaryotic and fungal communities across four lowland forests in Panama with a wide variation in mean annual precipitation and soil fertility. Four sites were established across a 1000 mm span in Mean Annual Precipitation (MAP: 2335 to 3300 mm). We expected microbial communities at sites with lower MAP to be less sensitive to throughfall exclusion than sites with higher MAP and fungal communities to be more resistant to disturbance than prokaryotes. At each location, partial throughfall exclusion structures were established over 10 x 10 m plots to reduce direct precipitation input. After short-term (~3 to 9 months) throughfall exclusion, prokaryotic communities showed no change in composition. However, prolonged (12 -18 months) throughfall exclusion resulted in divergent prokaryotic community responses, reflecting MAP and soil fertility. We observed the emergence of a "drought microbiome" within infertile sites, whereby the community structure of the experimental throughfall exclusion plots at the lower MAP sites diverged from their respective control sites and converged towards overlapping assemblages. Furthermore, under throughfall exclusion, taxa increasing in relative abundance at the wettest site reflected that endemic to control plots at the lowest MAP site, 2 3 suggesting a shift toward communities with life-history traits selected for under a lower MAP.By contrast, fungal community composition across sites was resilient to throughfall exclusion; however, biomass diverged in response to throughfall exclusion, increasing at two sites while decreasing in the other two. Broadly, our results suggest that microbial communities' sensitivity to frequent drying and rewetting periods in tropical forest soils will depend on climate history and soil fertility, with infertile sites likely to respond readily to changes in precipitation.