The invention discloses a Buck-boost LED driving circuit. An applicable lighting circuit comprises an inductor L1, an LED, a capacitor and a fly-wheel diode D1. The driving circuit includes high-voltage MOSFET and JFET tubes, a voltage producing module for producing voltage required for the work of modules in a producing system, a drive control module, a logic control module, a sampling resistor RS, a CS sampling calculation module for calculating equivalent current of the LED in a lighting circuit, an internal compensation module, a sawtooth voltage generator for modulating COMP voltage produced by the internal compensation module and a zero-crossing detection module for detecting wave troughs of an inductor in a resonant mode after demagnetization is completed, wherein the logic controlmodule can opens the high-voltage MOSFET tube when the zero-crossing detection module detects a wave trough signal. The power consumption is reduced, harmonic waves are low, and PFC is improved.