The objective of this study was to isolate endophytic bacteria from roots of Brachiaria humidicola cv. humidicola (Rendle) Schweick and to relate their presence to pH, organic matter and phosphorus contents of the soil of cattle farms located in the municipality of San Benito Abad. Soil sampling was carried out with roots of B. humicola for the isolation and counting of the population density of endophytic bacteria and soil samples were also collected for the determination of pH, organic matter and phosphorus parameters. The results found indicate that there is an amount of endophytic bacteria in roots of B. humidicola when the soil contains optimum pH values of (6.1 ± 6.98); low to moderate phosphorus content (10.8 ± 16.28 mg/kg) and low to moderate organic matter content (1.7 ± 2.31%). The presence of endophytic bacteria was observed in a range of 3.0 ± 8.0 X 106 CFU/g of roots. There is a worldwide need to establish a relationship between endophytic bacteria and soil physical-chemical quality indicator parameters to predict a change in functional diversity under physical, chemical and biological conditions of the soil ecosystem.