A stylet for use in guiding a distal tip of a catheter to a predetermined location within the body of a patient. In one embodiment the stylet is configured for use within a lumen of the catheter and comprises a core wire, an ECG sensor, and a magnetic assembly. The ECG sensor senses an ECG signal of a patient when the stylet is disposed within the lumen of the catheter and the catheter is disposed within the body of the patient. The magnetic assembly includes at least one element capable of producing a magnetic or electromagnetic field for detection by a sensor external to the patient. In another embodiment, the stylet includes a pre-shaped distal segment that is deflected with respect to a more proximal portion of the stylet, which in turn causes a distal segment of the catheter to be deflected when the stylet is received within the lumen.