From the Electrostatics

64. Law of conservation electric charge

The number of electric charge portions in any volume and in the Universe as a whole is obviously equal to the number of electrically charged elementary particles, since each of them is given one either positive or a negative portion. If there were no changes with particles, i.e. they would not be born again and would not disappear, the number of portions - elementary charges - would remain unchanged. But in reality observations show that particles can appear and disappear, can turn into each other.

It is remarkable, however, that the difference between the number of positively charged particles and the number of negatively charged particles remains unchanged.

Charged particles are born only in pairs with charges of opposite signs and disappear into other particles, also only in pairs. When a charged particle decays, the products of its decay necessarily contain the charged particle of the same charge sign. As a result, in any closed system, the algebraic sum of all electrical charges remains unchanged. This is the law of electric charge conservation.

The fairness of the law of charge conservation is confirmed by observations of a huge number of different transformations of elementary particles. But the reason why the charge is conserved is still under study.