We present a simple method to construct 3D nematode cultivation systems called NGT-3D and NGB-3D. These can be used to study nematode fitness and behaviors in habitats that are more similar to natural Caenorhabditis elegans habitats than the standard 2D laboratory C. elegans culture plates.