According to an aspect of the present invention, a mounting structure includes a housing, an electronic component mounted at the housing, a pin-shaped terminal arranged upright at the housing, a circuit board having a mounting through-hole into which the in-shaped terminal is inserted, and a mounting support member positioned between the housing and the circuit board and fixed to the housing with the circuit board. In the mounting structure, the mounting support member includes a through-hole for positioning the pin-shaped terminal and an inclined guiding surface formed continuously with the through-hole for guiding a distal end of the pin-shaped terminal into the through-hole.