A sensing system for implant surgery includes an insertion device for moving an implant into a narrow cavity in a patient's body. A sensor measures the distance from an end of the insertion device to anatomic surfaces at a distance from the end of the insertion device. An optical coherence tomography (OCT) system integrates the sensor and produces OCT images, which can be quantified to distance measurements. The system is particularly useful for cochlear implant surgery.