The invention relates to an LED driver. The LED driver comprises a first capacitor, a second capacitor, a transistor, a diode, an energy storage inductance unit and a control circuit board; two ends of the first capacitors are electrically connected with a power supply, two ends of the second capacitor are electrically connected with the load; a source electrode of the transistor is grounded through a resistor, a drain electrode is electrically connected with the first end of the second capacitor; the energy storage inductance unit comprises at least two energy storage inductors in series connection; a first connecting end of the energy storage induction unit is electrically connected with the second end of the first capacitor and the second end of the second capacitor, and a second connecting end of the energy storage induction unit is electrically connected with the drain electrode of the transistor; a control signal connecting end of the control circuit board is electrically connected with a grid electrode of the transistor. Through the LED driver disclosed by the invention, a magnetic core in each energy storage inductor of the energy storage induction unit is small, and the flattening arrangement can be realized, and then the height of the energy storage inductor can be reduced, and the height requirement of the flattened lamp is satisfied.