A system and method for reducing leakage current in an electrosurgical generator are disclosed. The system includes an electrosurgical generator configured to provide high frequency electrosurgical energy at a fundamental frequency. The generator includes one or more circuit boards having a board ground. The generator further includes a inductor-capacitor filter connected in series with the board ground and an earth ground. The inductor capacitor filter includes a capacitor connected in parallel with an inductor and is tuned to be at an operational frequency which is resonant at or near the fundamental frequency.