EMI/EMC Filter Capacitor Selection Guide: X and Y Safety Capacitors Explained
Last Updated: February 2026 | Reading Time: 14 minutes
Every electronic device connected to AC mains needs EMI filtering. Without it, the device radiates electromagnetic noise into the power line — interfering with other equipment — and is vulnerable to noise coming from the power line. At the heart of every EMI filter are safety-rated capacitors: X capacitors and Y capacitors.
Choosing the wrong safety capacitor doesn't just fail EMC testing — it creates a genuine safety hazard. Y capacitors in particular sit between live conductors and accessible metal parts. If one fails short, someone gets electrocuted. That's why these capacitors carry mandatory safety certifications and why selecting them correctly is critical.
This guide explains the classification system, selection criteria, and practical application of X and Y safety capacitors for EMI/EMC filtering.
Switch-mode power supplies, motor drives, LED drivers, and other power electronics generate high-frequency noise as a byproduct of their switching operation. This noise travels in two forms:
- Differential mode (DM) noise — Flows between Line and Neutral. Caused by switching currents in the power conversion circuit.
- Common mode (CM) noise — Flows between Line/Neutral and Earth Ground. Caused by parasitic capacitance between switching nodes and grounded enclosures.
A basic EMI filter combines inductors and capacitors:
Line ──┬── L1 ──┬── To Circuit
│ │
CX CX
│ │
Neutral ┴── L2 ──┴── To Circuit
│ │
CY CY
│ │
Earth ─┴────────┴──
- X capacitors (CX) connect Line-to-Neutral — filter differential mode noise
- Y capacitors (CY) connect Line-to-Earth or Neutral-to-Earth — filter common mode noise
- Common mode chokes (L1, L2) provide inductance for common mode filtering
- Differential mode inductors may be added for additional DM filtering
X capacitors connect across the AC line (Line to Neutral). If an X capacitor fails short, it creates a short circuit that should blow a fuse — not a safety hazard to personnel. However, the resulting overcurrent and potential fire risk still require safety certification.
| Subclass | Peak Voltage Rating | Application | Typical Use |
|---|
| X1 | ≤ 4 kV (peak), ≤ 1.2 kV impulse | Category III installation | Industrial equipment, main distribution panels |
| X2 | ≤ 2.5 kV (peak), ≤ 0.6 kV impulse | Category II installation | Consumer electronics, appliances, IT equipment |
| X3 | ≤ 1.2 kV (peak) | Category I installation | Protected equipment, low-energy circuits |
Most common: X2 capacitors cover the vast majority of consumer and commercial applications. X1 is required for industrial equipment connected to high-energy distribution networks where transient voltage spikes are more severe.
| Parameter | Typical Range |
|---|
| Capacitance | 10 nF to 10 µF |
| Voltage rating | 250 VAC, 275 VAC, 310 VAC, 350 VAC |
| Dielectric | Metallized polypropylene film (most common) |
| Self-healing | Yes — metallized film clears minor dielectric breakdowns |
| Failure mode | Open circuit (designed to fail safely) |
| Lifespan | 10,000-100,000 hours at rated conditions |
| Common packages | Radial leaded, box type, 10mm-27.5mm lead spacing |
-
Voltage rating — Must exceed the maximum continuous AC voltage plus expected transients
- 250 VAC for 230V mains (most of the world)
- 275 VAC provides margin for high-line conditions
- 310 VAC for high-reliability applications
-
Capacitance value — Determined by required attenuation at the frequencies of concern
- Higher capacitance = more DM filtering at lower frequencies
- Typical starting point: 100 nF to 1 µF for consumer electronics
-
Subclass — Match to installation category
- X2 for most applications (Category II)
- X1 for industrial/commercial equipment on high-energy networks
-
Safety certification — Must carry appropriate marks for your target markets
- UL (North America)
- TUV/VDE (Europe)
- CQC (China)
- Multiple certifications preferred for global products
Y capacitors connect from Line or Neutral to Earth Ground. This is the critical safety connection — if a Y capacitor fails short, the equipment enclosure becomes energized at mains voltage. A person touching the enclosure could receive a lethal electric shock.
Because of this hazard, Y capacitors have:
- Strict capacitance limits (to limit earth leakage current)
- Stringent dielectric requirements
- Mandatory safety testing and certification
- More conservative voltage derating than X capacitors
| Subclass | Peak Voltage Rating | Max Capacitance | Application |
|---|
| Y1 | ≤ 8 kV (peak) | 4.7 nF typical max | Bridging basic + supplementary insulation (reinforced insulation) |
| Y2 | ≤ 5 kV (peak) | 4.7 nF-10 nF typical | Bridging basic insulation only |
| Y3 | ≤ 5 kV (peak) | No additional test | Bridging basic insulation (being phased out) |
| Y4 | ≤ 2.5 kV (peak) | No additional test | Bridging basic insulation (limited use) |
Most common: Y2 capacitors are used in the majority of applications. Y1 capacitors are required when the capacitor bridges reinforced insulation — meaning it's the only barrier between hazardous voltage and accessible parts. Medical equipment typically requires Y1.
| Parameter | Typical Range |
|---|
| Capacitance | 100 pF to 10 nF (limited by leakage current regulations) |
| Voltage rating | 250 VAC / 400 VAC |
| Dielectric | Ceramic (Class 1 preferred) or metallized film |
| Self-healing | Ceramic: No. Film: Yes |
| Failure mode | Must fail open (critical safety requirement) |
| Leakage current | Limited to 0.25 mA - 3.5 mA depending on equipment class |
| Common packages | Radial disc ceramic, through-hole, SMD |
-
Subclass — Determined by the insulation being bridged
- Y2 for basic insulation bridging (most common)
- Y1 for reinforced/double insulation bridging (medical, body-contact equipment)
-
Capacitance — Limited by maximum allowable earth leakage current
- IEC 60950/62368: 0.25 mA for handheld, 3.5 mA for permanently connected
- IEC 60601 (medical): 0.1 mA for body-contact applied parts
- Calculate: I = 2π × f × C × V (where f = line frequency, V = line voltage)
-
Dielectric type — Ceramic vs. film
- Ceramic (Y1/Y2): Most common, compact, good high-frequency performance
- Film (Y2): Better for higher capacitance values, good pulse handling
-
Ceramic class — For ceramic Y capacitors
- Class 1 (C0G/NP0): Stable capacitance vs. temperature and voltage, best for safety applications
- Class 2 (X7R): Higher capacitance per volume but varies with temperature and voltage
The capacitance of Y capacitors is limited by how much current is allowed to flow to earth ground during normal operation. This "touch current" or "earth leakage current" determines the maximum Y capacitor value.
| Standard | Equipment Type | Max Earth Leakage |
|---|
| IEC 62368-1 | IT & AV equipment (handheld) | 0.25 mA |
| IEC 62368-1 | IT & AV equipment (moveable) | 0.75 mA |
| IEC 62368-1 | IT & AV equipment (stationary) | 3.5 mA |
| IEC 60601-1 | Medical (Type B applied part) | 0.1 mA (normal), 0.5 mA (single fault) |
| IEC 60601-1 | Medical (Type BF applied part) | 0.1 mA (normal), 0.5 mA (single fault) |
| IEC 60601-1 | Medical (Type CF applied part) | 0.01 mA (normal), 0.05 mA (single fault) |
| IEC 60335-1 | Household appliances | 0.25 mA (handheld), 0.75 mA (portable), 3.5 mA (fixed) |
| IEC 61010-1 | Test & measurement equipment | 0.5 mA (handheld), 3.5 mA (other) |
Formula: C = I / (2π × f × V)
Where:
- I = maximum allowed leakage current (A)
- f = line frequency (Hz) — use worst case (60 Hz for global products)
- V = maximum line voltage (V) — use worst case (264V for 230V+10% systems)
Example: Handheld consumer device (IEC 62368-1)
- Max leakage: 0.25 mA = 0.00025 A
- Frequency: 60 Hz
- Voltage: 264 V (230V + 10%)
C = 0.00025 / (2π × 60 × 264) = 0.00025 / 99,527 = 2.51 nF
So you'd use a 2.2 nF Y capacitor (next standard value below the calculated maximum). With two Y capacitors (one Line-to-Earth, one Neutral-to-Earth), each contributes to leakage, so you'd use 1 nF each.
Example: Fixed industrial equipment (IEC 62368-1)
C = 0.0035 / 99,527 = 35.2 nF
Much more capacitance is available for permanently connected equipment, allowing better common mode filtering.
The simplest EMI filter uses one X capacitor and two Y capacitors with a common mode choke:
Line ──┬──[CM Choke]──┬── Output
│ │
[CX] [CX]
│ │
Neutral ┴──[CM Choke]──┴── Output
│ │
[CY] [CY]
│ │
Earth ─┴───────────────┴──
Typical values for a 200W consumer power supply:
- CX: 100 nF - 470 nF (X2, 275 VAC)
- CY: 1 nF - 2.2 nF (Y2, 250 VAC)
- CM Choke: 1 mH - 10 mH
For equipment with more stringent EMC requirements (medical, industrial), a two-stage filter provides additional attenuation:
Additional attenuation: ~40 dB per stage at frequencies well above the cutoff frequency. A two-stage filter can achieve 60-80+ dB of attenuation.
| Component | Affects | Sizing Approach |
|---|
| X capacitor | DM attenuation at mid-frequencies | Increase for more DM filtering. Start at 100 nF, increase to 1 µF if needed |
| Y capacitor | CM attenuation at high frequencies | Limited by leakage current. Maximize within regulatory limits |
| CM choke | CM attenuation at low-mid frequencies | Higher inductance = lower cutoff frequency. Balance with DC resistance |
| DM inductor | DM attenuation at low frequencies | Often integrated into CM choke design |
Every SMPS needs input EMI filtering. The high-frequency switching (50 kHz - 2 MHz) generates both DM and CM noise.
Typical X capacitor: 100 nF - 1 µF (X2, 275 VAC)
Typical Y capacitor: 1 nF - 4.7 nF (Y2 or Y1 for medical)
Variable frequency drives produce significant EMI from the PWM output stage. Filtering is typically required at both the input (line side) and output (motor side).
Input filter: X and Y capacitors with CM choke, often multi-stage
Output filter: dV/dt filters or sinusoidal filters (use film capacitors rated for PWM voltage)
LED drivers are switch-mode converters with compact EMI filter requirements. Space constraints often limit filter complexity.
Typical approach: Single-stage filter with X2 capacitor and Y2 capacitors. Differential mode noise often dominates.
HVAC systems contain motors, compressors, and control electronics that all generate EMI. Filter requirements depend on local regulations and installation environment.
Key consideration: Motor run capacitors are NOT EMI filter capacitors — they serve a completely different function (phase shifting for single-phase motors). Don't confuse the two.
Medical devices have the most stringent leakage current requirements. Y1 capacitors are typically required, and leakage budgets are extremely tight.
Key consideration: Total system leakage current includes Y capacitors, transformer interwinding capacitance, and PCB parasitic capacitance. The Y capacitor value must account for all leakage sources.
| Market | Certification | Testing Standard | Mark |
|---|
| North America | UL/CSA | UL 60384-14 | UL, cUL |
| European Union | TUV, VDE | IEC 60384-14, EN 60384-14 | CE, VDE, ENEC |
| China | CQC | GB/T 14472 | CQC |
| Japan | JIS | JIS C 5101-14 | JIS |
| Korea | KTL/KTC | K 60384-14 | KC |
| International | IEC | IEC 60384-14 | — |
Safety certification testing for X and Y capacitors includes:
- Impulse voltage test — Simulates lightning and switching transients
- Flammability test — Capacitor must self-extinguish (UL 94 V-0 or V-1)
- Active/passive flammability — Tests behavior during and after electrical failure
- Endurance test — Extended operation at rated voltage and temperature
- Humidity test — Operation under elevated humidity conditions
- Capacitance stability — Verification that capacitance remains within specification
- Destructive test — Verifies the capacitor fails in a safe manner (open circuit for Y caps)
This cannot be overstated: a standard film or ceramic capacitor is NOT a substitute for a certified safety capacitor, even if the electrical specifications appear identical. Safety capacitors are constructed differently:
- Reinforced dielectric — Thicker film or ceramic with additional safety margins
- Special electrode patterns — Designed to fail open, not short
- Flame-retardant materials — Housing and potting materials meet flammability requirements
- Controlled failure mode — Y capacitors must fail open-circuit under all fault conditions
- 100% production testing — Every unit is tested, not just samples
| Problem | Likely Cause | Solution |
|---|
| Failed conducted emissions at 150 kHz - 1 MHz | Insufficient DM filtering | Increase X capacitor value or add DM inductor |
| Failed conducted emissions at 1 MHz - 30 MHz | Insufficient CM filtering | Increase CM choke inductance, optimize Y capacitor placement |
| Failed conducted emissions above 10 MHz | PCB layout issues, not component values | Improve filter layout, reduce loop areas, add shielding |
| Excessive earth leakage current | Y capacitor value too high | Reduce Y capacitor value, reduce number of Y capacitors |
| Filter works on bench but fails in product | Coupling around the filter | Separate input and output wiring, add shielding |
| EMI performance degrades over time | Capacitor value decreasing (ceramic aging, film degradation) | Use Class 1 ceramic (C0G) or high-quality film, add margin |
- Keep input and output traces separated — Don't route filtered and unfiltered traces near each other
- Minimize loop areas — Large current loops radiate and couple noise
- Ground Y capacitors to chassis — Short, direct connection to the equipment enclosure
- Place X capacitors close to the CM choke — Minimizes parasitic inductance
- Use a ground plane under the filter — Provides a low-impedance return path
No. Safety capacitors are specifically designed and tested to fail safely. A regular capacitor in a safety position creates a genuine risk of fire (X position) or electric shock (Y position). This is non-negotiable for any product that will be certified or sold.
X2 capacitors connect across the line (Line to Neutral) and filter differential mode noise. Y2 capacitors connect from Line or Neutral to Earth and filter common mode noise. They serve different functions and have different safety requirements. X2 can be larger (µF range), Y2 must be small (nF range) to limit leakage current.
Y capacitors are limited in value because they allow current to flow to earth ground. This "leakage current" is felt as a tingle if you touch the equipment. Safety standards limit this current (0.25 mA for handheld devices), which limits the capacitor to a few nanofarads at mains voltage and frequency.
Usually yes. X capacitors filter differential mode noise and Y capacitors filter common mode noise. Most equipment generates both types. In some simple applications, you might use only X capacitors if common mode noise is negligible, but this is uncommon.
Yes. Y1 is a higher-rated subclass with more stringent testing. Using Y1 in a Y2 position provides additional safety margin. The reverse is NOT true — never use Y2 where Y1 is required.
X2 covers the vast majority of applications (Category II installation — equipment connected to standard outlets). X1 is required for Category III installations — equipment connected directly to the main distribution panel or in high-transient environments. When in doubt, X1 provides extra margin.
X3 and Y3/Y4 are lower-rated subclasses that see limited use. X3 is suitable for low-energy protected circuits. Y3 is being phased out of standards. For most applications, X2 and Y2 (or X1 and Y1 for higher requirements) are the appropriate choices.
Medical equipment (IEC 60601-1) has much stricter leakage current limits — as low as 0.01 mA for Type CF applied parts. This severely limits Y capacitor values. You'll typically need Y1 capacitors, smaller values, and careful accounting of all leakage paths including transformer interwinding capacitance and PCB parasitics.
- X capacitors go across the line (Line-to-Neutral) for differential mode filtering — values in the nF to µF range
- Y capacitors go to earth (Line/Neutral-to-Earth) for common mode filtering — values limited to low nF range by leakage current regulations
- Y capacitor selection is safety-critical — a failed Y capacitor can energize equipment enclosures at mains voltage
- Always use certified safety capacitors — UL, VDE/TUV, or equivalent certification is mandatory, never substitute standard parts
- Calculate leakage current before selecting Y capacitor values — I = 2πfCV must not exceed the limit for your equipment class
- Y1 for medical and reinforced insulation — Y2 for most other applications bridging basic insulation
- X2 for most consumer/commercial — X1 for industrial equipment on high-energy distribution networks
- Good PCB layout matters as much as component selection — Poor layout can defeat even a well-designed filter
- Film Capacitor Selection Guide — Dielectric comparison and application recommendations including safety-rated film types for EMI filtering
- Capacitor Types Guide — Complete comparison of all capacitor types with specs and selection tips for choosing between ceramic and film Y capacitors
- Capacitor Derating Guide — Voltage, temperature, and ripple current derating tables relevant to safety capacitor margin selection
- Medical Device Capacitors Guide — IEC 60601-1 compliance, safety capacitor requirements, and leakage current calculations for medical devices
Need safety-rated X and Y capacitors for your EMI filter design? We stock a range of X1, X2, Y1, and Y2 capacitors from certified manufacturers. Contact us with your specifications — we can help you select the right parts and verify safety certification coverage for your target markets.