The invention discloses a water outlet device with a self-power generating function. The water outlet device comprises a fixing unit, a power generating mechanism, a rapid energy storage element and a control unit. The fixing unit is provided with a water inlet way, at least one first water outlet way and at least one second water outlet way, wherein the first water outlet ways are connected with the water inlet way through electronic control valves, and the second water outlet ways are communicated with the water inlet way. The power generating mechanism is mounted on the fixing unit. The control unit comprises a control circuit and a control module. The control circuit, the rapid energy storage element, the electronic control valves and the power generating mechanism are electrically connected, electric energy generated by the power generating mechanism is rectified and then stored in the rapid energy storage element, and the control circuit obtains the electric energy through the rapid energy storage element and controls opening or closing of the electronic control valves. The electric energy generated by the power generating mechanism is stored in the rapid energy storage element first and then output, the enough electric quantity for the control circuit to control opening and closing of the electronic control valves can be provided, energy is saved, and the environment is protected; circulating charging and discharging can be achieved, the service life is long, and potential safety hazards are avoided.