a voltage generating circuit comprising : a switching device which includes a first end connected to a high potential side power source , and which becomes conductive in a first mode and becomes non - conductive in a second mode ; a first transistor including a first main electrode connected to a second end of the switching device , a second main electrode connected to an output terminal , and a gate connected to a gate potential supply node ; a second transistor including a first main electrode connected to the high potential side power source , a second main electrode connected to the output terminal , and a gate connected to the gate potential supply node ; and a gate voltage stabilizing circuit that suppresses a fluctuation in potential of the potential supply node , the fluctuation accompanying a change between the first and second modes .