A system includes a first electrode at a tip of a tunneling tool and a second electrode. The system includes a circuit configured to determine whether the tip of the tunneling tool is within subcutaneous fat tissue or muscle tissue of a patient based on a measurement of an impedance between the first electrode and the second electrode.