In this study, bacterial communities within the guts of several longicorn beetles were investigated by a culture-dependent method. A total of 142 bacterial strains were isolated from nine species of longicorn beetle, including adults and larvae. A comparison of their partial 16S rRNA gene sequences showed that most of the bacteria constituting the gut communities can typically be found in soil, plants and the intestines of animals, and approximately 10% were proposed as unreported. Phylogenetic analysis demonstrated that the bacterial species comprised 7 phyla, and approximately half were Gammaproteobacteria. Actinobacteria were the second most populous group (19%), followed by Firmicutes (13%) and Alphaproteobacteria (11%). Betaproteobacteria, Flavobacteria, and Acidobacteria were minor constituents. The taxonomic compositions of the isolates were variable according to the species of longicorn beetle. Particularly, an abundance of Actinobacteria existed in Moechotypa diphysis and Mesosa hirsute, which eat broadleaf trees; however, no Actinobacteria were isolated from Corymbia rubra and Monochamus alternatus, which are needle-leaf eaters. Considerable proportions of xylanase and pectinase producing bacteria in the guts of the longicorn beetles implied that the bacteria may play an important role in the digestion of woody diets. Actinobacteria and Gammaproteobacteria were the dominant xylanase producers in the guts of the beetles.