PROBLEM TO BE SOLVED: To provide a voltage generation circuit capable of generating a desired voltage in accordance with a power supply voltage, which is necessary as a power supply voltage generated by means of energy harvesting can vary greatly.SOLUTION: A voltage generation circuit generates a desired output voltage at an output terminal using a power supply voltage fed to an input terminal and includes; a PMOS and an NMOS provided in parallel between the input terminal and the output terminal; and a power supply voltage detection circuit which controls the PMOS and NMOS in accordance with the power supply voltage to turn the PMOS and NMOS on or off. When the power supply voltage is within a first voltage range, the power supply voltage detection circuit sets gate voltage of the PMOS to a voltage that turns the PMOS on and sets gate voltage of the NMOS to a voltage that turns the NMOS off and, when the power supply voltage exceeds the first voltage range, sets the gate voltage of the PMOS to a voltage that