EMI Filter Capacitor: X Cap & Y Cap Selection Guide

“Weโ€™ve trusted Rayming with multiple PCB orders, and theyโ€™ve never disappointed. Their manufacturing process is top-tier, and their team is always helpful. A+ service!”

I have had excellent service from RayMing PCB over 10 years. Your engineers have helped me and saved me many times.

Rayming provides top-notch PCB assembly services at competitive prices. Their customer support is excellent, and they always go the extra mile to ensure satisfaction. A trusted partner!

X cap and Y cap selection made clear: differential vs common mode noise, X1/X2/Y1/Y2 classifications, certification requirements, and PCB layout guidance for EMI filters.

Every AC-connected product ships with an EMI filter on its mains input. Most engineers have placed X capacitors and Y capacitors on a schematic without giving them much thought beyond copying a reference design. That approach worksโ€”right up until the first pre-compliance EMI scan comes back with a problem, or the certification lab flags a safety concern, or the product fails in the field because an unsuitable part was substituted during a BOM revision.

The EMI filter capacitor is not a generic bypass component. The X cap and Y cap classifications exist because these components are connected directly to AC mains voltage and their failure modes are safety-critical. Understanding the classification system, the physics behind how each type suppresses noise, and the selection rules that govern them is essential knowledge for any engineer working on a mains-powered product.

This guide covers the complete picture: how X and Y caps work, the IEC safety classification system, value selection logic, PCB layout practices, and the compliance obligations that make these components different from every other capacitor on the board.

What Is an EMI Filter Capacitor?

An EMI filter capacitor is a safety-rated capacitor connected directly to AC power lines with the specific purpose of suppressing conducted electromagnetic interference. Conducted EMI travels along the mains cables in two distinct modes, and the EMI filter network needs to address both:

Differential mode (DM) noise flows in opposite directions on the Live and Neutral conductorsโ€”it is essentially noise current that takes the normal circuit current path but at frequencies far above mains frequency. X capacitors suppress differential mode noise by connecting across Live and Neutral (Lโ€“N), providing a low-impedance shunt path for high-frequency DM current.

Common mode (CM) noise flows in the same direction on both Live and Neutral conductors and returns via the protective earth (ground). It is caused by parasitic capacitance between switching nodes and the chassis or earth, and it is the harder noise mode to suppressโ€”and the more likely cause of radiated emissions failures. Y capacitors suppress common mode noise by connecting between Live and Earth (Lโ€“E) and between Neutral and Earth (Nโ€“E), providing a shunt path for CM noise current to return to its source without traveling back through the mains cable.

This fundamental difference in noise typeโ€”and in connection topologyโ€”is why X and Y capacitors are separate components with separate safety classifications, separate failure mode requirements, and separate regulatory constraints.

Why EMI Filter Capacitors Are Safety Components

The fact that both X and Y capacitors connect to AC mains lines means their failure modes directly determine whether a product can shock or electrocute a user.

Class X capacitors should fail short to trigger upstream protection such as a fuse or breaker. Class Y capacitors must fail open to avoid shock hazards. This is the foundational safety requirement that defines everything about how these components are constructed, tested, and certified.

An X capacitor failing short is safe: it blows the mains fuse, the product stops working, and the user is not at risk. An X capacitor failing open is also safe: the filter becomes less effective but no hazard is created.

A Y capacitor failing short is catastrophic: it creates a direct connection between the live mains conductor and the equipment chassis. If the chassis is touchableโ€”and on most products it isโ€”the user faces a lethal shock hazard. This is why Y capacitors must be manufactured to fail open under fault conditions, and why their construction, dielectric integrity, and certification requirements are far more stringent than X capacitors.

The “safety” designation on these capacitors refers not to the dielectric material but to the component having passed specific safety certification tests. In terms of material, safety capacitors are mainly CBB (metallized polypropylene film) capacitors and ceramic capacitors. The certification, not the chemistry, is what makes a component a safety capacitor.

X Capacitor and Y Capacitor Classifications Explained

Both Class-X and Class-Y capacitors have subclasses: subclass X1, X2, and X3, and subclass Y1, Y2, Y3, and Y4. Subclass X2 and Y2 are the most common type of subclass for applications that use 120VAC (USA) or 220/240VAC (Europe).

X Capacitor Subclasses

ClassPeak Impulse VoltageSafety LevelTypical Application
X1>2.5 kV, โ‰ค4.0 kVIIIIndustrial 3-phase mains, lighting ballasts
X2โ‰ค2.5 kVIIConsumer electronics, household appliances (most common)
X3โ‰ค1.2 kVNo specific classLow-energy equipment (rarely used)

Whereas X2 and Y2 caps are appropriate for household applications, X1 and Y1 safety capacitors are used in industrial settings. For most consumer product designsโ€”SMPS adapters, white goods, industrial controls connected to single-phase 230 V mainsโ€”X2 is the correct specification. For equipment connected to 3-phase industrial supplies where surge voltages can be significantly higher, X1 is required.

Y Capacitor Subclasses

ClassInsulation TypeTest VoltageMax CapacitanceTypical Application
Y1Double/reinforced8 kV peak4.7 nF (typically)Industrial, medical across reinforced insulation
Y2Basic/supplementary5 kV peak4.7 nFConsumer electronics, general mains products
Y3Basic/supplementaryโ€”โ€”Not widely used in practice
Y4Functional insulation<150 Vโ€”Telecom, low-voltage applications

The difference between Y1 and Y2 capacitors is the maximum isolation voltage of the component. Y2 capacitors can be used for barriers with up to 1500VAC test voltage; Y1 rated capacitors can be used for barriers up to 3000VAC test voltage.

For medical equipment, the Y classification maps directly onto patient safety requirements: Y2 rated capacitors will provide sufficient protection to an operator in a 2ร—MOOP isolation barrier, while Y1 capacitors are required where 2 MOPP (Means of Patient Protection) is needed.

Can You Substitute X2 for Y2 or Vice Versa?

A Y2 capacitor can safely be used in place of an X2 capacitor, but an X2 capacitor should not be used in place of a Y2 capacitor. This is because, although an X2-type capacitor would work and filter noise sufficiently, it would not meet the line-to-ground safety standards. In plain terms: always use the correct class for the connection topology. Never place an X-rated capacitor in a Y position.

Certification Standards: What the Labels Mean

Every safety capacitor should carry visible certification marks on its body. Understanding what you’re looking at matters for both compliance and BOM management.

StandardRegionScope
IEC 60384-14InternationalPrimary global standard for X and Y safety capacitors
EN 60384-14Europe (CENELEC)Identical to IEC 60384-14
UL 1414USAAcross-the-line (X cap) applications
UL 1283USAEMI filter assemblies
CAN/CSA C22.2 No.1CanadaCanadian safety requirements
GB/T 14472ChinaChinese national standard
AEC-Q200AutomotiveQualification standard for automotive-grade safety caps

The certification marks on a compliant safety capacitor body typically include VDE, ENEC, UL, CUL, CQC, or KC (Korea). A part carrying IEC/ENEC certification is recognized across all CENELEC member countries without repeat testing. For North American markets, UL certification is required separately. Dual-certified parts (carrying both European and North American marks) simplify BOM management for products sold in multiple regions.

When reviewing a BOM or approving a substitute component, verify that the replacement part carries the same certification marks as the original. A physically identical-looking capacitor without the correct certifications is not an acceptable substitute in a safety-capacitor positionโ€”regardless of what the basic electrical datasheet says.

EMI Filter Capacitor Values: How to Select the Right Capacitance

Value selection for X and Y capacitors is governed by two competing requirements: filtering effectiveness (which increases with capacitance) and regulatory limits (which constrain maximum capacitance, particularly for Y caps).

X Capacitor Value Selection

X capacitors suppress differential mode noise. Higher capacitance provides more attenuation at a given frequency, and X capacitors are not limited by leakage current concerns in the way Y capacitors are. Common X2 capacitor values range from 33 nF to 2.2 ยตF.

The X capacitor, together with the differential mode inductance of the common mode choke, forms a low-pass filter for DM noise. The cutoff frequency is:

f_cutoff = 1 / (2ฯ€ ร— โˆš(L_DM ร— C_X))

For a 1 mH differential mode inductance and a 470 nF X2 capacitor: f_cutoff = 1 / (2ฯ€ ร— โˆš(0.001 ร— 0.00000047)) โ‰ˆ 7,300 Hz

This gives strong attenuation above roughly 7 kHzโ€”useful for a 100 kHz SMPS switching frequency with its harmonics. For higher switching frequencies, smaller X capacitor values are often sufficient, and using too large a value wastes board space and cost.

One critical practical requirement: standards require that the voltage across the X-capacitor decay with a maximum time constant of one second. Typically, this is achieved by including a resistor as a discharge element in parallel with the X-capacitor (sometimes called a “bleeder resistor”). This prevents the mains plug pins from remaining at dangerous voltage after the plug is removed. The resistor must be sized to discharge the capacitor within 1 second per IEC 60950/IEC 60335 requirements.

At 230 VAC, assuming the discharge resistor meets the time-constant requirement, that resistor results in a dissipation of 5.3 milliwatts for every 100 nF of X-capacitance. This ongoing power loss matters for energy efficiency ratings (ErP standby power directives in Europe limit standby consumption to under 0.5 W), which is why X-capacitor discharge ICs have become popular in designs with large X-cap values.

Y Capacitor Value Selection

Y capacitors are far more tightly constrained than X caps. Because Y capacitors connect between the mains line and the protective earth (chassis), any current flowing through them appears as chassis leakage currentโ€”the same current that flows through a person touching the chassis if the earth connection is broken. Regulatory limits on leakage current are set to safe levels, and those limits directly cap the maximum Y capacitor value.

Restrictions of the leakage current limit the capacitance value of Y1 capacitors to 4.7 nF, but there are applications that require higher capacitance values. In these applications, two or more capacitors can be used in parallel.

Product CategoryMax Leakage CurrentTypical Max Y Cap (per phase, 230 V, 50 Hz)
IT equipment (IEC 60950)3.5 mA~47 nF
Household appliances (IEC 60335)0.75 mA~10 nF
Industrial equipment (IEC 61010)5.0 mA (portable), 3.5 mA (handheld)~68 nF
Medical equipment class B (IEC 60601)0.5 mA~6.8 nF
Medical equipment class BF/CF0.1 mA~1.5 nF

The leakage current at 50 Hz through a Y capacitor is simply I = 2ฯ€ ร— f ร— C ร— V_rms. For a 4.7 nF Y cap on 230 V, 50 Hz mains: I = 2ฯ€ ร— 50 ร— 4.7ร—10โปโน ร— 230 โ‰ˆ 0.34 mA. Well within the 0.75 mA household appliance limit.

Because the maximum Y cap value is tightly constrained, common mode choke impedance carries the primary burden of common mode attenuation. Y capacitors handle the remaining high-frequency CM noise that the choke doesn’t adequately attenuate.

Complete EMI Filter Capacitor Selection Guide

ParameterX CapacitorY Capacitor
ConnectionLine to Neutral (Lโ€“N)Line to Earth (Lโ€“E), Neutral to Earth (Nโ€“E)
Noise type suppressedDifferential mode (DM)Common mode (CM)
Typical values33 nF โ€“ 2.2 ยตF470 pF โ€“ 10 nF
Required failure modeFail short (safe to blow fuse)Fail open (prevent shock)
Self-healingYes (metallized film)Yes (metallized film)
Most common classX2 (consumer/industrial)Y2 (consumer)
Voltage rating (consumer 230 V)305 VAC or 310 VAC250 VAC or 300 VAC
Discharge resistor needed?Yes (bleeder required)No
Leakage current limited?NoYes (product-category dependent)
Dominant dielectric materialMetallized polypropylene (MKP)Metallized polypropylene or ceramic

Choosing Between Film and Ceramic for Y Capacitors

Both metallized polypropylene film and ceramic are used for Y capacitors. Each has a distinct niche.

ParameterFilm Y CapacitorCeramic Y Capacitor
Capacitance range1 nF โ€“ 47 nF (film)10 pF โ€“ 10 nF
Self-healingYesNo
PackageTHT, leaded radialSMD (0805, 1206, 1812)
Suitable for SMT reflow?No (most film types)Yes
Temperature coefficientLowModerate
Surge capabilityHighModerate
Typical use caseBulk Y cap in mains filterHigh-frequency bypass, SMD designs

For compact designs using SMD assembly and needing Y capacitors at very small values (33 pF to 4.7 nF), MLCC Y2 capacitors in 1808โ€“2220 packages at 250 VAC are an effective SMD option for compact or SMT designs, while MKP film capacitors are used for higher capacitance.

The self-healing property of metallized film Y capacitors is a significant safety advantage: if a minor dielectric fault occurs, the arc vaporizes the local metallization and the capacitor continues to function in open-circuit at the fault site. Ceramic Y capacitors do not self-healโ€”a fault propagates. This is why film construction is preferred in higher-stress Y capacitor positions, particularly in industrial environments.

How the Role of the Capacitor Fits Into the Full EMI Filter Network

An EMI filter is not just X and Y capacitorsโ€”it is a network that combines inductive and capacitive elements to create attenuation across a wide frequency range. Understanding where the capacitor fits in this network explains why selecting value and placement both matter enormously.

A typical single-stage LC EMI filter consists of: a common mode choke (provides CM impedance), X capacitors (shunt DM noise), and Y capacitors (shunt CM noise). The combination works as a low-pass filter for both DM and CM paths simultaneously. More demanding applications use two-stage filtersโ€”an additional LC stageโ€”which roughly doubles the attenuation slope from โ€“20 dB/decade to โ€“40 dB/decade per noise mode.

The order in which these components are arranged on the PCB matters significantly. PCB layout is critical. Incorrect placement of Y capacitors or poor grounding can reduce attenuation by tens of decibels. The standard arrangement places the X and Y capacitors at the mains input, before the common mode choke, and then a second set of Y capacitors at the choke output before the rectifier. This two-stage arrangement handles both the mains-conducted noise coming into the equipment (immunity) and the internally generated switching noise going out onto the mains (emissions).

PCB Layout Rules for EMI Filter Capacitors

Layout errors are the most common reason a well-specified EMI filter fails to perform on the measurement bench. A capacitor that looks correct on the schematic but is routed with long traces and shared ground paths can lose 20โ€“30 dB of attenuation at high frequency compared to a well-implemented layout.

Keep the filter loop area small. The effectiveness of a Y capacitor is determined by the inductance of the path from the noisy conductor, through the capacitor, and back to the chassis/earth return. Minimizing that loop area minimizes the parasitic inductance that degrades high-frequency performance.

Connect Y capacitor earth terminals directly to the chassis ground pour. A shared via or a long trace between the Y cap ground pad and the chassis earth plane adds series inductance that reduces attenuation above a few MHz. For Y capacitors in particular, multiple vias in parallel directly to a copper pour connected to the chassis earth are the correct approach.

Separate the noisy and clean sides of the filter. The input side of the EMI filter (the mains side) carries conducted noise. The output side (the converter side) should be physically separated to prevent coupling. Running traces from both sides in parallel on adjacent layers or in close proximity on the same layer partially defeats the filter by coupling noise capacitively around the filter network.

Place X capacitors close to the mains entry point. The goal is to intercept differential mode noise before it can propagate across the board. X capacitors located well away from the mains entry point allow DM noise to radiate from the long interconnecting traces before the capacitor has a chance to shunt it.

Application-Specific Selection Table

ApplicationRecommended X CapRecommended Y CapNotes
Consumer SMPS adapter (230 V)X2, 100โ€“470 nF, 305 VACY2, 2.2โ€“4.7 nF, 250 VACUL+ENEC dual certification for global product
Industrial drive, single-phaseX1, 470 nFโ€“1 ยตF, 305 VACY1, 2.2โ€“4.7 nF, 300 VACHigher surge immunity, X1/Y1 class
Industrial drive, 3-phaseX1, 470 nFโ€“2.2 ยตF, 305 VACY1 (per phase), 4.7 nFLeakage budget shared across three phases
Medical Class B equipmentX2, 100โ€“470 nFY2, โ‰ค1 nF (strict leakage budget)IEC 60601-1; max 0.5 mA touch current
Medical Class BF/CF equipmentX2Y1, โ‰ค470 pF2 MOPP required; use two Y1 caps in series
Automotive (12 V/48 V systems)X2, AEC-Q200 ratedY2, AEC-Q200 ratedMust meet AEC-Q200 qualification standard
LED driver (mains dimmable)X2, 100โ€“220 nFY2, 1โ€“2.2 nFY cap value limited by dimmer compatibility
Telecom/server PSUX2, 470 nFโ€“1 ยตFY2, 4.7 nFMeet ATIS/Telcordia discharge requirements

Useful Resources for EMI Filter Capacitor Selection

These are the authoritative references that engineers working on mains-connected products should bookmark:

IEC 60384-14 Standard โ€“ iec.ch โ€” The primary international standard governing fixed capacitors for EMI suppression connected to mains. Essential for understanding classification, test conditions, and certification requirements.

Vishay Safety Capacitor Series (X1/Y1, X2/Y2) โ€“ vishay.com/safety-capacitors โ€” Comprehensive product range with IEC, UL, VDE, CQC certifications; includes F340 series technical documentation.

KEMET EMI Safety Capacitor Selector โ€“ kemet.com/safety โ€” Parametric search covering X1/Y1 and X1/Y2 combination types with full compliance documentation.

Knowles Precision Devices โ€“ EMI Safety Capacitor Guide โ€“ knowlescapacitors.com โ€” Strong technical resources including the Engineer’s Guide to Safety Capacitors (downloadable eBook).

Wรผrth Elektronik Safety Capacitor Portfolio โ€“ we-online.com/safety-caps โ€” WCAP-FTXH (X2 film) and WCAP-CSSA (Y2 MLCC) series with application notes.

Power Electronic Tips โ€“ FAQ on X and Y Capacitors โ€“ powerelectronictips.com โ€” Clear, concise FAQ format covering safety classification, certification, and discharge requirements.

Digi-Key Safety Capacitor Parametric Search โ€“ digikey.com/safety-capacitors โ€” Real-time stock and pricing with certification filter options; essential for verifying availability of certified parts.

CISPR 22 / EN 55032 โ€“ The conducted EMI limits standard for information technology equipmentโ€”defines the test methodology and limit lines that X and Y capacitor networks must help meet.

Frequently Asked Questions About EMI Filter Capacitors

What is the difference between an X capacitor and a Y capacitor?

An X capacitor connects across the AC mains linesโ€”between Live and Neutral. Its job is to suppress differential mode (DM) noise by shorting high-frequency noise current between the two mains conductors. If it fails, it must fail short to blow the mains fuse. A Y capacitor connects from a mains conductor to earth/ground. Its job is to suppress common mode (CM) noise by shunting high-frequency noise current to ground. Because a Y capacitor failure to short would place mains voltage on a touchable chassis, Y capacitors must be built and certified to fail open under fault conditions. The two types have fundamentally different failure mode requirements, different certification standards, and must never be interchanged.

Can I use any capacitor rated for 250 VAC as a Y capacitor?

No. A standard 250 VAC-rated film or ceramic capacitor is not equivalent to a Y2 safety capacitor, even if the voltage rating matches. Safety capacitor certification (IEC 60384-14) requires the component to pass specific surge withstand tests, humidity and temperature endurance tests, andโ€”criticallyโ€”to demonstrate the correct open-circuit failure mode under fault conditions. A standard capacitor has not been tested or characterized for these requirements. Using an uncertified capacitor in a Y position will fail EMC certification testing and creates a genuine electric shock hazard.

How many Y capacitors should I use in a typical EMI filter?

A typical single-phase mains EMI filter uses two Y capacitors: one between Live and Earth, and one between Neutral and Earth. Both are needed because common mode noise exists on both mains conductors relative to earth. Some designs use a single Y capacitor from the midpoint of two X capacitors to earthโ€”this is a CY arrangement that uses the midpoint of the X cap voltage divider. More demanding designs use a two-stage filter with four Y capacitors totalโ€”one pair at the mains entry and one pair at the converter side of the common mode choke.

Why is there a maximum value limit for Y capacitors?

Y capacitors connect between mains conductors and the protective earth. At mains frequency (50 or 60 Hz), even a small capacitor allows a continuous AC current to flow to earthโ€”this is the chassis leakage current. International safety standards set a maximum allowable leakage current based on the risk of electric shock if a person touches the chassis while the earth connection is broken. For household appliances (IEC 60335), the limit is 0.75 mA; for IT equipment it is 3.5 mA; for medical equipment it can be as low as 0.1 mA. These current limits, at 230 V and 50 Hz, directly translate into a maximum permissible Y capacitor value. The limit is not about circuit performanceโ€”it is purely a safety constraint.

What certifications should I check when selecting a safety capacitor?

At minimum, verify that the capacitor carries certification marks from the recognized bodies for your target markets. For Europe, look for VDE or ENEC marks confirming IEC 60384-14 compliance. For the USA, UL 1414 (X caps) or UL 1283 (EMI filter assemblies) certification. For Canada, CUL or CSA marks. For China, CQC certification to GB/T 14472. For automotive applications, AEC-Q200 qualification. Also verify the specific sub-classification (X1 vs X2, Y1 vs Y2) matches your application’s surge voltage and insulation requirements. The certification marks should be visibly printed on the component bodyโ€”not just claimed in a distributor’s datasheet field.

Summary

The EMI filter capacitor is one of the few components on a PCB where getting the specification wrong can simultaneously cause a product to fail regulatory compliance testing and create a genuine safety hazard. X capacitors and Y capacitors are not interchangeable with each other, not replaceable with uncertified general-purpose film capacitors, and not simply a higher-voltage-rating version of a standard bypass cap.

The selection logic is straightforward once you understand the architecture: X caps go across the line for differential mode noise, Y caps go line-to-earth for common mode noise, both must carry the correct IEC safety certification for their position and the target market, and Y cap values are capped by leakage current limits that vary by product category. PCB layoutโ€”particularly low-inductance Y cap connections directly to chassis earthโ€”determines whether a correctly specified filter actually performs at the frequencies the design needs.

Getting this right at the first schematic review prevents the expensive cycle of pre-compliance failures, layout revisions, and re-certification that comes from treating safety capacitors as an afterthought.