Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Assorted X2 Safety Capacitor Kit - 70 Pieces

Understanding X2 Safety Capacitors: Ratings, Replacement Criteria and Common Misconceptions

An X2 capacitor may resemble an ordinary rectangular film capacitor, but the safety classification is a central part of its specification. In mains interference filtering, choosing only the capacitance and a large-looking voltage number can result in an unsuitable replacement.

This guide explains how to read the specification and prepare a sound component-selection record. It is intended to support understanding and discussion with a competent designer or repair technician. Work inside mains-powered equipment requires appropriate isolation, discharge procedures and verification; the component-selection process below is not an instruction to work on a live circuit.

What an X2 capacitor is used for

Class X capacitors are intended for appropriate across-the-line interference-suppression positions. In a typical single-phase filter, that means between the current-carrying supply conductors. Class Y capacitors serve different safety-critical positions, such as line-to-earth filtering, where failure has different implications.

The X2 marking is a subclass, not merely a material name. Vishay's safety-capacitor application note explains the X and Y distinction and their filtering roles. A capacitor marked only X2 should not be substituted where the design requires a Y-rated component.

Some components carry more than one approved classification. In that case, read the rating associated with each class rather than assuming one printed voltage applies to every permitted connection.

Read all the markings together

A useful record includes the capacitance, tolerance, rated AC voltage, safety class, manufacturer, series, approval markings and environmental category. The lead spacing and body dimensions matter too, but they cannot compensate for a missing electrical or safety specification.

Information needed for an X2 capacitor assessment
Item Why it matters
Capacitance and tolerance Determine the intended filtering behaviour
AC voltage rating Must suit the actual continuous operating conditions
Safety class and approvals Establish the permitted application category
Temperature and humidity performance Affect suitability for the equipment environment
Lead spacing and body size Determine fit without compromising the layout
Manufacturer and series Allow the exact datasheet and approvals to be checked

Photograph the original markings before removal. If the casing is cracked or the print is unreadable, use the equipment parts list or service information rather than guessing from a neighbouring component.

Do not compare AC and DC voltage numbers directly

A general-purpose film capacitor with a high DC voltage rating is not automatically an approved substitute for an X2 component. AC operation, repetitive stress, transient testing and safety requirements must be considered in the intended application.

Similarly, an impulse-test value is not a continuous operating voltage. The subclass information in Vishay's EMI safety-capacitor overview illustrates that continuous ratings and impulse classifications are separate specifications. Avoid choosing a replacement by finding the largest number printed on the package.

Use the equipment manufacturer's approved replacement where available. If an alternative is necessary, compare the complete datasheets and relevant approvals. A higher voltage rating alone does not settle questions about dimensions, temperature, filtering performance or certification.

Use an assortment as a selection aid, not proof of suitability

The PMD Way assorted X2 capacitor kit provides a range of listed capacitances and lead spacings. Before selecting a part for a real mains application, verify the markings and traceable specification of the actual supplied component.

The X2 AC mains capacitor collection is a starting point for finding candidates. The final choice still depends on the equipment design. Do not assume that every capacitor in an assortment has identical environmental performance or approvals simply because the components share a colour and shape.

For an educational exercise, compare unconnected samples with their documentation: record dimensions, interpret capacitance labels and identify the safety markings. This teaches the selection process without energising a mains circuit.

Environment can be as important as nominal capacitance

A capacitor operating inside a warm enclosure may experience very different conditions from one stored on a bench. Humidity can also affect long-term capacitance stability, depending on the construction and series.

TDK's discussion of humidity-resistant X2 capacitors explains why manufacturers offer enhanced series for demanding environments. That does not mean every application needs the most rugged available part; it means the environment belongs in the selection criteria.

A replacement that restores operation briefly but repeats the same failure may indicate that the operating conditions or the original failure cause have not been addressed. Keep a record of heat damage, contamination and the equipment's actual use, and have the underlying cause assessed.

Across-line suppression and series applications are different

Some circuits use a capacitor as part of a series-connected capacitive supply. Do not infer suitability for that role from an X2 marking alone. Capacitance stability and the manufacturer's explicit application guidance become especially important.

TDK publishes a series-specific datasheet for capacitive-supply applications, demonstrating why the precise part series matters. A capacitive supply also does not provide safety isolation merely because it contains a safety-classified capacitor. Its low-voltage-looking nodes can remain associated with hazardous mains potential.

Preserve the mechanical and safety design

Check that the replacement fits without forcing the leads, touching nearby parts or changing the intended clearances. Do not bend an oversized part into an improvised position merely to match two holes. The enclosure, insulation and component placement are part of the equipment design.

After repair, appropriate functional and electrical safety checks are needed before the equipment returns to use. A capacitance reading alone cannot certify the safety classification, insulation condition or transient performance of an unknown part.

The most useful outcome of selection is a traceable record: original part, proposed replacement, datasheet, approval evidence and reason for equivalence. That record makes the decision reviewable and avoids treating an X2 capacitor as an interchangeable box with two leads.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat