Microfluidic devices can be used to visualize complex natural processes in real time and at the appropriate physical scales. We have developed a simple microfluidic device that mimics key features of natural porous media for studying growth and transport of bacteria in the subsurface.