To study the mutualism between Xenorhabdus bacteria and Steinernema nematodes, methods were developed to monitor bacterial presence and location within nematodes. The experimental approach, which can be applied to other systems, entails engineering bacteria to express the green fluorescent protein and visualizing, using fluorescence microscopy bacteria within the transparent nematode.