The invention relates to a surgical instrument comprising a handle portion and a tip, wherein a tip sensor is provided on the handle portion. The tip sensor enables detection of when a tip is inserted into and/or removed from the handle. In addition, the tip sensor enables a navigation system to be notified when landmarks are probed with the surgical instrument, thereby ensuring accurate capture of the location of the landmark.