A system to detect a position of a cannula may include a cannula, which may include a distal tip and an inner lumen. Also, the system may include an optical fiber, which may be disposed within the inner lumen of the cannula and may include a first end, a second end, and a U-shaped portion disposed between the first end and the second end. The U-shaped portion may be at least proximate the distal tip. Further, the system may include a light emitter, which may be coupled with the first end of the optical fiber, and a light receiver, which may be coupled with the second end of the optical fiber. Moreover, the system may include an electronic processor. The electronic processor may be coupled with the light receiver and configured to detect a decrease in an intensity of light received at the light receiver.