A method of producing a member for electrophotography, the member for electrophotography including an electroconductive substrate and an electroconductive layer on the substrate, the electroconductive layer containing a resin having a cationic organic group in a molecule thereof and an anion, the electroconductive layer containing an alkali metal and an alkali earth metal at a total sum of contents of 500 ppm or less, the anion comprising at least one selected from the group consisting of a fluorosulfonate anion, a fluorocarboxylate anion, a fluorosulfonylimide anion, a fluorosulfonylmethide anion, a fluoroalkylfluoroborate anion, a fluorophosphate anion, a fluoroantimonate anion, and a fluoroarsenate anion, the method comprising:
- (1) forming, on the electroconductive substrate, a coating film of a paint containing a cation having 2 or more hydroxyl groups and a compound capable of reacting with a hydroxyl group;
- and
- (2) causing the cation having 2 or more hydroxyl groups and the compound capable of reacting with a hydroxyl group in the coating film to react with each other to form the electroconductive layer.