An electronic device (10) includes a shielding member (20), an electric circuit (40), and a filter capacitor (50). The electric circuit (40) has an output line (L1) and is arranged inside the shielding member (20). The filter capacitor (50) is arranged outside the shielding member (20) to be connected to the output line (L1).