Xanthomonas albilineans, although it is an essential phytopathogen for sugar cane, is capable of producing xanthan gum (XG). This macromolecule is used in the food, pharmaceutical, and gas production industries, but its production is expensive when considering the substrate and its purity. On the other hand, the possibility of using the material for disposal, such as the infected sugar cane stalk, can be attractive since this substrate can produce XG and has no value for cultivation. Thus, we describe the possibility of its production in different culture media using immobilized cells from sugar cane stalk tissues supplemented with glycoproteins or sucrose. Using molecular patterns associated with bacterial pathogens (PAMPs), the presence of gum in isopropyl alcohol precipitate is obtained after incubation and culture improvement. This production model describes a new possibility of gum production, contributing to the potential for sustainability and diversification of the sugar cane industry.