An inductor charges when current from a voltage source builds its magnetic field and stores energy. It discharges when the stored magnetic energy is released back into the circuit as the magnetic field collapses. In an RL circuit, both processes follow exponential curves with a time constant of τ = L/R. For practical purposes, the charging or discharging process is considered almost complete after five time constants (5τ).
An inductor is an important passive component used in electrical and electronic circuits. Unlike a resistor, which dissipates electrical energy as heat, an inductor stores energy in its magnetic field. It opposes sudden changes in current and allows the current to increase or decrease gradually.
Let’s understand how an inductor charges and discharges in a series RL circuit, including its working principle, equations, time constant, and current and voltage graphs.
RL Circuit Analysis
An RL circuit consists of a resistor (R) connected in series with an inductor (L). When a DC voltage source is connected to this circuit through a switch, the current does not reach its maximum value immediately because the inductor opposes the change in current.
Real inductors have winding resistance, so an RL circuit models an ideal inductor L in series with a resistor R.
The following circuit explains the charging and discharging operation of an inductor using a two-position switch.

Inductor Charging in an RL Circuit
Suppose the inductor has no initial current flowing through it. When the switch is moved to position 1 at time t = 0, the DC voltage source is connected to the series RL circuit.
Initially, the inductor opposes the sudden increase in current by producing a counter electromotive force (EMF). Therefore, the current starts from zero and gradually increases.
At the same time, the voltage across the inductor is initially equal to the supply voltage. As the current increases, the voltage across the resistor also increases, while the voltage across the inductor decreases.
After sufficient time, the current reaches its final value, determined by Ohm’s law:
I = V/R
At this stage, the inductor behaves like a short circuit under steady-state DC conditions, assuming an ideal inductor.

Inductor Charging Equations
The charging current and voltage in a series RL circuit can be calculated using exponential equations.
Assuming the initial current is zero and a DC supply voltage V is applied at t = 0, the current through the inductor is:
i(t) = (V/R) × (1 − e^(−t/τ))
Where:
- i(t) = Instantaneous current through the inductor in amperes.
- V = DC supply voltage in volts.
- R = Total series resistance in ohms.
- e = Euler’s constant (approximately 2.718).
- t = Time in seconds.
- τ = Time constant of the RL circuit.
The voltage across the inductor decreases exponentially according to:
vL(t) = V × e^(−t/τ)
The voltage across the resistor increases as the current increases:
vR(t) = V × (1 − e^(−t/τ))
The time constant of an RL circuit is:
τ = L/R
Where L is the inductance in henrys and R is the total series resistance in ohms.
Inductor Charging Graph
The inductor charging graph shows how current and voltage change with time after the DC supply is connected.
At the beginning, the current is zero and the inductor voltage is maximum. As time passes, the current increases exponentially toward its final value, while the inductor voltage decreases toward zero.
After one time constant (1τ), the inductor current reaches approximately 63.2% of its final value. After five time constants (5τ), it reaches approximately 99.3%.
The resistor voltage follows the same increasing curve as the inductor current.

Inductor Discharging in an RL Circuit
Suppose the inductor has already reached its steady-state current and stored energy in its magnetic field. When the switch is moved to position 2, the voltage source is disconnected and the inductor is connected to the resistive load.

The stored magnetic energy now supplies current to the resistor. The current continues flowing in the same direction but gradually decreases toward zero.
As the current decreases, the magnetic field around the inductor collapses and the stored energy is released. The resistor converts this energy into heat.

Inductor Discharging Equations
The discharging current in an RL circuit also follows an exponential equation.
If the initial current at the beginning of discharge is I₀, the current is:
i(t) = I₀ × e^(−t/τ)
Where I₀ is the initial current and τ is the RL time constant.
The voltage across the resistor is:
vR(t) = I₀R × e^(−t/τ)
The voltage across the inductor is:
vL(t) = −I₀R × e^(−t/τ)
The negative sign indicates that the voltage polarity across the inductor reverses during the discharging process compared with its charging polarity.

Why Does the Inductor Voltage Polarity Reverse During Discharging?
During the charging process, the inductor behaves like a load because it absorbs energy from the source and stores it in its magnetic field.
However, during discharging, the inductor behaves like a temporary voltage source because it releases its stored energy into the circuit.
The current direction remains the same, but the voltage polarity across the inductor reverses. According to Kirchhoff’s Voltage Law (KVL), the inductor voltage balances the voltage drop across the resistor:
vL + vR = 0
Therefore:
vL = −vR
This explains why the voltage across the inductor becomes negative during the discharging process.
Energy Stored and Released by an Inductor
The energy stored in an inductor’s magnetic field is calculated using:
W = ½LI²
Where:
- W = Stored energy in joules.
- L = Inductance in henrys.
- I = Current through the inductor in amperes.
When the source is disconnected and a discharge path through the resistor is available, the stored energy is gradually released and converted into heat in the resistor.

What Happens If an Inductor Is Disconnected Without a Discharge Path?
An inductor always opposes a sudden change in current. If its current path is interrupted suddenly, it can generate a very high voltage across its terminals.
According to the inductor voltage equation:
vL = L × (di/dt)
A rapid decrease in current produces a high voltage because the rate of change of current (di/dt) becomes very large.
This voltage can produce a spark across the switch terminals. A similar phenomenon is used in ignition systems to generate the high voltage required by spark plugs in vehicle engines.
In electronic circuits, a flyback diode is commonly connected across a DC relay or coil to provide a safe path for the stored energy and protect switching components from high-voltage spikes.
RL Circuit Time Constant
The time constant determines how quickly the current increases or decreases in an RL circuit.
It is calculated by dividing the inductance by the total series resistance:
τ = L/R
The time constant is measured in seconds.
For an RL circuit, one time constant represents the time required for the charging current to reach approximately 63.2% of its final value. During discharging, the current decreases to approximately 36.8% of its initial value.
The following table shows the charging and discharging current at different time constants.
| Time | Charging current | Discharging current |
|---|---|---|
| 1τ | 63.2% | 36.8% |
| 2τ | 86.5% | 13.5% |
| 3τ | 95.0% | 5.0% |
| 4τ | 98.2% | 1.8% |
| 5τ | 99.3% | 0.7% |
For practical circuit analysis, five time constants are considered sufficient for the charging or discharging process to be almost complete.
Worked Example: Inductor Charging and Discharging
Consider a series RL circuit with the following values:
- Supply voltage (V) = 12 V
- Resistance (R) = 10 Ω
- Inductance (L) = 100 mH
Find the time constant, final current, charging current after 10 ms, and discharging current after 20 ms.
Step 1: Calculate the time constant
First, convert the inductance into henrys:
L = 100 mH = 0.1 H
Using the time constant formula:
τ = L/R
τ = 0.1/10
τ = 0.01 seconds = 10 ms
Therefore, the time constant is 10 milliseconds.
Step 2: Calculate the final current
Using Ohm’s law:
I = V/R
I = 12/10
I = 1.2 A
The final current through the inductor is 1.2 amperes.
Step 3: Calculate the charging current after 10 ms
The charging current equation is:
i(t) = (V/R) × (1 − e^(−t/τ))
At t = 10 ms, the time is equal to one time constant.
i(t) = 1.2 × (1 − e^(−1))
i(t) = 1.2 × (1 − 0.368)
i(t) ≈ 0.76 A
Therefore, the inductor current after 10 milliseconds is approximately 0.76 A.
Step 4: Calculate the current after five time constants
The charging process is almost complete after five time constants.
5τ = 5 × 10 ms = 50 ms
At this time, the current is:
i(t) = 1.2 × (1 − e^(−5))
i(t) ≈ 1.19 A
This is approximately 99.3% of the final current.
Step 5: Calculate the stored energy
The energy stored in the inductor is:
W = ½LI²
W = ½ × 0.1 × (1.2)²
W = 0.072 J
Therefore, the inductor stores 0.072 joules of energy at its final current.
Step 6: Calculate the discharging current after 20 ms
After disconnecting the source, suppose the inductor starts discharging through the same 10 Ω resistor.
The initial current is 1.2 A.
The discharging equation is:
i(t) = I₀ × e^(−t/τ)
At t = 20 ms:
i(t) = 1.2 × e^(−20/10)
i(t) = 1.2 × e^(−2)
i(t) ≈ 0.16 A
Therefore, the discharging current after 20 milliseconds is approximately 0.16 A.
How Does an Inductor Charge and Discharge Through an AC Power Supply?
When an inductor is connected to an AC power supply, the current continuously changes its magnitude and direction according to the applied alternating voltage.
Unlike a DC circuit, where the inductor reaches a steady-state current after a transient period, an AC circuit continuously experiences changing current.
The inductor stores energy in its magnetic field during part of the AC cycle and releases energy back into the circuit during another part of the cycle.
For an ideal inductor, the current lags the applied voltage by 90 degrees. It does not consume average real power, although real inductors have winding resistance and core losses.
How to Determine If an Inductor Is Charging or Discharging?
The direction of energy transfer helps determine whether an inductor is charging or discharging.
- Charging: The inductor absorbs energy from the source, and the current through it increases.
- Discharging: The inductor releases its stored magnetic energy into the connected circuit, and its current decreases.
The current and voltage can be measured using a multimeter or oscilloscope. The current behavior can also be analyzed using Kirchhoff’s Current Law (KCL) and the voltage relationship using Kirchhoff’s Voltage Law (KVL).
Difference Between Inductor and Capacitor Charging and Discharging
Both inductors and capacitors store electrical energy, but their energy storage mechanisms and responses to circuit changes are different.
An inductor stores energy in a magnetic field and opposes sudden changes in current. A capacitor stores energy in an electric field and opposes sudden changes in voltage.
In an RL circuit, the time constant is L/R, whereas in an RC circuit, it is RC.
You can also read our guide on RC circuit charging and discharging to understand the behavior of a capacitor in a similar circuit.
Conclusion
The charging and discharging of an inductor in an RL circuit depend on the time constant, resistance, and inductance.
During charging, the current increases exponentially while the voltage across the inductor decreases. During discharging, the current gradually decreases and the stored magnetic energy is released through the resistive load.
The important points are:
- An inductor opposes sudden changes in current.
- The charging current increases exponentially toward its final value.
- The discharging current decreases exponentially toward zero.
- The RL circuit time constant is τ = L/R.
- The charging and discharging processes are practically complete after five time constants.
- The energy stored in an inductor is W = ½LI².
- The voltage polarity across the inductor reverses during discharging.
FAQs
1. Do inductors charge and discharge?
Yes. An inductor stores energy in its magnetic field when current increases. It releases this stored energy when the current decreases and the magnetic field collapses. Both processes follow exponential curves in a simple RL circuit.
2. What is the formula for inductor charging?
The charging current formula for an RL circuit is:
i(t) = (V/R) × (1 − e^(−t/τ))
Where τ = L/R is the time constant. The equation shows that the current gradually increases from zero toward its final value.
3. How long does an inductor take to charge?
An inductor is considered practically charged after five time constants (5τ). At this point, the current reaches approximately 99.3% of its final value.
4. What is the time constant of an RL circuit?
The time constant of an RL circuit is the ratio of inductance to total series resistance.
τ = L/R
It determines how quickly the current changes during charging and discharging.
5. How is an inductor different from a capacitor?
An inductor stores energy in a magnetic field and opposes sudden changes in current. A capacitor stores energy in an electric field and opposes sudden changes in voltage.
For an inductor, the stored energy is W = ½LI², while the energy stored in a capacitor is W = ½CV².
Carga y descarga de un inductor
Un inductor se carga cuando la corriente de la fuente aumenta su campo magnético y almacena energía; se descarga cuando esa energía vuelve al circuito. En un circuito RL ambos procesos siguen curvas exponenciales con constante de tiempo τ = L/R y terminan en aproximadamente 5τ.

Hey there… I have a small confusion regarding the discharging of the inductor. I was wondering about the polarity of voltage across inductor while discharging. Why is it’s polarity negative?
As an inductor works as a load during the charging phase and works source in the discharging phase. And the direction of the current flow in inductor remains the same. Therefore the direction voltage across the inductor changes as per the KVL.
Nice article
..in the charging diagram the current direction is taken as clockwise but in the discharging one it’s taken anticlockwise …can u pls explain?
Thanks for correction,
Dear Guatam, it is a mistake. Take a look at the the current graph of the inductor it is above the zero line in both cases. And it shows that current direction is same in both cases.
Inductor are strongly charged device or not
What do you mean by strongly charged device?