An LED drive circuit with leakage protection and ballast includes a first filtering circuit, a rectifying circuit, a power module, a second filtering circuit, a compatibility and leakage protection circuit and a LED load, the input of the first filtering circuit is connected to a power input, the output of the first filtering circuit is connected to the input of the rectifying circuit, the output of the rectifying circuit is connected to the input of the second filtering circuit, the output of the second filtering circuit is connected to the input of the power module, the output of the power module is connected to the LED load, the input of the compatibility and leakage protection circuit is connected to the input of the rectifying circuit and the input of the second filtering circuit, and the output of the compatibility and leakage protection circuit is connected to the rectifying circuit output.