An electrode for electrical-discharge surface treatment used for electrical-discharge surface treatment for using a formed compact obtained by forming metal powder, metal compound powder, or conductive ceramics powder as an electrode, generating pulsed discharge between the electrode and a work in a working fluid or in the air, and forming a film on a surface of the work by energy of the pulsed discharge, the film being made of a material of the electrode or made of a substance with which the material of the electrode reacts, wherein
- a resistance of a surface of the electrode measured using a four-terminal method ranges from 5×10−3 Ω to 10×10−3 Ω, and
- an oxygen concentration in the electrode ranges from 4 weight % to 10 weight %.