Drought stress (DS) is one of the main environmental stresses that determines crop productivity. It has been estimated that DS depresses over 40%–60% of soybean (Glycine max (L.) Merr.) and common bean (Phaseolus vulgaris L.) production worldwide, respectively. Although different agronomic strategies are sometimes implemented, the current goal in sustainable agriculture could involve the inoculation with native microorganisms to mitigate DS effects. A potential fungal candidate is Trichoderma, which is recognized as a ubiquitous soil inhabitant with growth‐promoting and biocontrol potentiality. However, its potential for mitigating the stress for water deficit is less well‐documented. Our objective was to evaluate the effect of inoculation with native Trichoderma harzianum strains on soybean and common bean growth under contrasting conditions of water availability. Seeds were independently inoculated (or not) with IB‐J15 and IB‐363 strains, and plants were submitted to DS or were kept under optimal irrigation (well‐watered, WW). In both legumes, the most evident effect after being inoculated was the modification of plant root architecture, the increase in root area and the development of lateral roots in plants under WW and DS conditions. In soybean, both Trichoderma strains had a positive inoculation response, both fresh and dry root biomass increased under WW, and remarkably under DS conditions. The main effect was an increase of about 110% in root dry weight under WW and, about 330% in DS in plants inoculated with IB‐J15 strain, meanwhile, plants inoculated with IB‐363 increased root dry weight 60% in WW and 177% in DS conditions. Notably in soybean, the inoculation with both Trichoderma strains increased the root area more than 70% in both WW and DS conditions. Common beans inoculated with IB‐363 under WW conditions, reached a positive inoculation responsiveness of around 247% in shoot dry weight biomass, and under WW both strains increased the root area more than 50%. Further, IB‐363 increased leaf area by 25% in WW and 72% in DS. Additionally, the in vitro co‐culture between both Trichoderma strains and nodulating Rhizobium etli and Bradyrhizobium japonicum E109 showed compatibility between microorganisms, since no inhibition of their growth was observed. We emphasize that plants inoculated with Trichoderma showed better resistance to water deficit, as seen by redistribution of photosynthates, prioritizing mainly, the development of the root system. © 2024 Association of Applied Biologists.