Bacteria were isolated from the rhizosphere and from inside the roots and stems of sugarcane plants grown in the field in Brazil. Endophytic bacteria were found in both the roots and the stems of sugarcane plants, with a significantly higher density in the roots. Many of the cultivated endophytic bacteria were shown to produce the plant growth hormone indoleacetic acid, and this trait was more frequently found among bacteria from the stem. 16S rRNA gene sequence analysis revealed that the selected isolates of the endophytic bacterial community of sugarcane belong to the genera of Burkholderia, Pantoea, Pseudomonas, and Microbacterium. Bacterial isolates belonging to the genus Burkholderia were the most predominant among the endophytic bacteria. Many of the Burkholderia isolates produced the antifungal metabolite pyrrolnitrin, and all were able to grow at 37°C. Phylogenetic analyses of the 16S rRNA gene and recA gene sequences indicated that the endophytic Burkholderia isolates from sugarcane are closely related to clinical isolates of the Burkholderia cepacia complex and clustered with B. cenocepacia (gv. III) isolates from cystic fibrosis patients. These results suggest that isolates of the B. cepacia complex are an integral part of the endophytic bacterial community of sugarcane in Brazil and reinforce the hypothesis that plant-associated environments may act as a niche for putative opportunistic human pathogenic bacteria.