Protocols for the study of biofilm formation in a microfluidic device that mimics porous media are discussed. The microfluidic device consists of an array of micro-pillars and biofilm formation by Pseudomonas fluorescens in this device is investigated.