This protocol describes the preparation and surgical exposure of the L4 dorsal root ganglion (DRG) in mice for in vivo calcium imaging with GCaMP6s.