A renewable energy flashlight comprises a housing and a barrel located within the housing. The barrel has a wire coil wrapped around it, between the barrel and the housing. A magnet disposed within the barrel oscillates within the barrel when the barrel is shaken, generating an alternating current in the coil. Two springs at either end of the barrel cause the magnet to recoil when the magnet strikes the springs. An electronics assembly located within the housing includes a capacitor for storing charge, a rectifier connected to the capacitor, and means for conducting current flowing in the coil to the rectifier, to provide rectified current to the capacitor and charge the capacitor. A light emitting diode (LED) is connected to the capacitor by means of a switch, so the LED lights up when the switch is switched on.