The unit of electrical energy is:
Joule
The unit of electrical energy is Joule. It is defined as the amount of energy generated or consumed across an electrical conductor when the applied voltage at the two ends of the conductor is 1 volt, current flowing through conductor is 1 ampere for a time of 1 second.