A pressure sensor (1) comprises a pressure detecting part (2) which possesses a pressure detecting element (21); an output guide pin (33) connected with the pressure detecting element and protruded to the exterior of the pressure detecting part; and a wiring substrate fixed with the output guide pin capable of being electrically connected with an external output conducting wire (32), and on which adjusting guide pins (36B,36C) connected with the pressure detecting element and protruded to the exterior of the pressure detecting part are fixed. Because not only the output guide pin, but also the adjusting guide pins used for correcting voltage, etc., are fixed on the wiring substrate together, the overall structure strengths of the output guide pin, the wiring substrate and the adjusting guide pin can be improved, and the vulnerability of the surrounding structure of the output guide pin can be improved. According to the invention, the tightness of the pressure detecting part can be kept, and the vulnerability of the surrounding structure of the output guide pin can be improved.