The female locust lays its eggs deep within soft substrate to protect them from predators and provide optimal conditions for successful hatching. During oviposition digging, the female abdomen extends into the ground, guided by a dedicated excavation mechanism at its tip, comprising two pairs of specialized digging valves. Little is known about how these active valves negotiate the various obstacles encountered on their path. In this study, female locusts oviposited their eggs in specialized sand-filled tubes with pre-inserted 3D-printed plastic obstacles. The subterranean route taken by the abdomen and digging valves upon encountering the obstacles was investigated, characterized, and compared to that in control tubes without obstacles. Data were obtained by way of visual inspection, by utilizing Cone Beam Computed Tomography scans in high-definition mode, and by making paraffin casts of the oviposition burrows (after egg hatching). We demonstrate, for the first time, the subterranean navigation ability of the female locust excavation mechanism and its ability to circumvent obstacles during oviposition. Finally, we discuss the role of active sensory-motor mechanisms versus the passive embodied function of the valves, central control, and decision-making.