In this letter, a new compact filtering balun with an ultra-wide stopband is proposed on the ceramic substrate. Four coupled line units are utilized to design the distributed balun with a second-order filtering response. Then, three-/twoport inductively loaded π-type capacitive networks without high-order harmonics are equivalent to distributed three-/two-port distributed coupled line units; therefore, the proposed compact lumped filtering balun based on these π-type capacitive networks inherently have ultra-wide stopband characteristics. To verify the design concept, a prototype with 15-dB bandwidth across 0.85-1 GHz is designed at 0.95 GHz, and its amplitude and phase imbalances are 0.4 dB and E4.5°, respectively. The upper stopband attenuation higher than 20 dB of the balun is extended to 12.9 f 0 , where f 0 is the center frequency, and its size is only 0.0025λ g 2 , where λ g is the guide wavelength.