In modern electronic systems, managing electrical noise and ensuring safe operation under high-voltage conditions are critical design requirements. One of the key components used to address these challenges is the X-rated capacitor, a specialized safety capacitor designed to operate directly across AC mains. This article will discuss the fundamentals of X-rated capacitors, including their types, specifications, features, working principles, usage guidelines, applications, and key safety considerations.

An X-rated capacitor (Class X capacitor) is a safety capacitor designed to be connected across the AC power line (line-to-neutral). It is built to handle high voltage conditions while maintaining stable performance in circuits exposed to electrical noise and fluctuations. Unlike standard capacitors, it must meet strict safety standards to ensure reliable operation when directly connected to mains voltage.

These capacitors are specifically designed to withstand voltage surges and transient spikes that commonly occur in AC systems. They are typically non-polarized and constructed using durable dielectric materials, such as metallized film, to ensure long-term reliability. X-rated capacitors are classified into X1, X2, and X3 types, depending on their surge voltage capability, with X2 being the most commonly used category. In case of failure, an X-rated capacitor is designed to fail safely, minimizing the risk of hazards in the circuit.
Across all types, X-rated capacitors are typically non-polarized, use metallized film construction, and include self-healing properties. Their key differences are rated voltage, surge (impulse) voltage capability, and temperature limits, which determine where each type is most suitable.
X1 capacitors are designed for high surge environments where large voltage spikes may occur. They are typically rated for AC voltages up to 440 VAC and can withstand impulse voltages of up to 4 kV. These capacitors are built with strong dielectric materials to ensure reliability under extreme conditions. They also support a wide capacitance range (typically 0.001 µF to 10 µF) and operate within a temperature range of -40°C to +110°C. Due to their high surge tolerance, they are used in more demanding electrical systems where safety margins must be higher.
X2 capacitors are the most commonly used type and are suitable for general-purpose AC line filtering. They are typically rated for 250 VAC to 275 VAC and can handle surge voltages up to 2.5 kV. These capacitors offer a capacitance range from 0.001 µF to around 10 µF, with common tolerance values of ±5% (J) and ±10% (K). The temperature range is usually -40°C to +105°C, making them reliable for standard operating environments. X2 capacitors provide a good balance between cost, performance, and safety.
X3 capacitors are designed for lower voltage applications and less severe surge conditions. They are typically rated for 125 VAC to 250 VAC and can withstand surge voltages of up to 1.2 kV. Their capacitance range is similar (0.001 µF to several µF), but they are generally used in circuits where voltage stress is lower. The operating temperature range is commonly -40°C to +85°C, and they offer basic protection with lower cost compared to X1 and X2 types.
| Category | Details |
| Rated Voltage (DC) | 100 VDC, 250 VDC, 400 VDC, 630 VDC, 1000 VDC, 1250 VDC |
| Rated Voltage (AC) | 125 VAC, 250 VAC |
| Voltage Derating | Decreases by 1.25% per °C above 85°C |
| Capacitance Range | 0.001 µF to 10 µF (E12 series) |
| Capacitance Tolerance | ±5% (J), ±10% (K) |
| Temperature Range (DC) | -40°C to +105°C |
| Temperature Range (AC) | -40°C to +85°C |
| Withstand Voltage (AC) | Between terminals: 230% of rated VAC for 60 seconds |
| Withstand Voltage (DC) | Between terminals: 150%–175% of rated VDC |
| Terminal to Enclosure | 1500 VAC for 60 seconds |
| Evaluation Voltage (AC) | 125 VAC, 250 VAC |
| Evaluation Voltage (DC) | 100 VDC to 1250 VDC |
X-rated capacitors are designed with a self-healing property that allows them to recover from minor internal dielectric breakdowns. When a fault occurs, the affected area is isolated by vaporizing the thin metal layer, preventing permanent damage. This helps maintain performance and extends the lifespan of the capacitor.
These capacitors are typically coated with epoxy resin, which provides strong protection against moisture, dust, and mechanical stress. This outer layer improves durability and ensures stable operation even in harsh environments.
X-rated capacitors are manufactured in compliance with RoHS standards, meaning they do not contain hazardous substances such as lead or mercury. This makes them safer for both users and the environment while meeting global regulatory requirements.
They offer consistent electrical behavior under varying voltage and temperature conditions. This stability ensures that the capacitor performs predictably, even when exposed to frequent voltage fluctuations.
The use of metallized polyester film provides a balance of reliability, compact size, and cost-effectiveness. It also supports the self-healing feature and contributes to overall durability.
X-rated capacitors are built to withstand sudden voltage spikes and transient surges without failure. This makes them suitable for circuits where voltage fluctuations are common.
These capacitors are non-polarized, allowing them to be connected in either direction. This simplifies circuit design and installation.
Due to their robust construction and protective features, X-rated capacitors are designed for long-term use with minimal performance degradation over time.

In the circuit shown, the X-rated capacitor (C4) works as a current-limiting component rather than storing energy like a typical capacitor. It is connected in series with the AC supply, so instead of blocking voltage, it uses its capacitive reactance to reduce the current flowing through the circuit. This allows the system to operate without a bulky transformer while still controlling the input power.
As the AC voltage passes through the X-rated capacitor, the current is limited to a safe level before reaching the bridge rectifier, which converts the AC signal into DC. The resistor connected across the capacitor helps discharge it when the circuit is turned off, improving safety. After rectification, the Zener diode stabilizes the voltage, while the smoothing capacitor reduces ripple to produce a more stable DC output.
This setup shows how an X-rated capacitor safely handles high-voltage AC while controlling current flow, making it a key component in compact power supply designs.
An X-rated capacitor is designed to operate directly on AC mains, so it must be connected correctly to ensure both performance and safety. In most circuits, it is placed across the line and neutral to manage electrical conditions effectively. Before installation, it is important to verify that the capacitor’s rated voltage matches or exceeds the AC supply, typically 250 VAC or higher. Selecting the correct capacitance value is equally important, as it determines how the capacitor behaves in the circuit, especially when controlling current or filtering electrical variations.
In specific designs such as transformerless power supplies, the X-rated capacitor can be used as a current-limiting element. Instead of using a bulky transformer, the capacitor reduces current through its reactance. To complete the circuit, a bridge rectifier is often used to convert AC to DC, followed by a Zener diode to regulate the output voltage. A smoothing capacitor may also be added to reduce ripple and stabilize the DC output. These components work together to create a compact and functional power solution.
To properly size the capacitor, you can calculate its reactance using the formula:

where frequency and capacitance determine how much current flows through the circuit. Once the reactance is known, the current can be estimated using:

These calculations help ensure that the selected capacitor meets the electrical requirements of the design without causing instability or inefficiency.
Because X-rated capacitors are directly exposed to AC mains, safety considerations are critical. Proper insulation, spacing, and the inclusion of protective components such as resistors or fuses are necessary to handle voltage surges and prevent damage. It is also essential to use only certified X-rated capacitors that comply with safety standards like IEC 60384-14. Replacing them with standard capacitors can lead to serious reliability and safety issues, so careful selection and correct usage are always required.