An electrophotographic member, comprising: an electroconductive substrate; and an electroconductive resin layer on the electroconductive substrate, wherein the electroconductive resin layer contains: a resin having, in a molecule, at least one cation structure selected from the group consisting of the following formulae to and; and an anion, and wherein the anion comprises at least one selected from the group consisting of a fluorinated sulfonylimide anion, a fluorinated alkylsulfonylimide anion, a fluorinated sulfonyl methide anion, a fluorinated alkylsulfonyl methide anion, a fluorinated sulfonate anion, a fluorinated alkylsulfonate anion, a fluorinated carboxylate anion, a fluorinated borate anion, a fluorinated phosphate anion, a fluorinated arsenate anion, a fluorinated antimonate anion, a dicyanamide anion, and a bis(oxalato)borate anion: in the formulae to: R1 to R8 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to to form a five-membered ring, a six-membered ring, or a seven-membered ring; R9 and R10 each independently represent a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; and one of two N's represents N +; in the formulae to: R11 to R15 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to to form a five-membered ring, a six-membered ring, or a seven-membered ring; and R16 represents a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; in the formulae to and: R17 to R20 and R47 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to and to form a five-membered ring, a six-membered ring, or a seven-membered ring; R21, R22, and R48 each independently represent a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; and in the formulae to, one of two N's represents N +; in the formulae to and: X1 to X34 each independently represent a structure represented by the following formula, (b), or (c): in the formula, (b), or (c): symbol " ∗ " represents a bonding site with a nitrogen atom in the nitrogen-containing heterocycle or a carbon atom in the nitrogen-containing heterocycle in the formulae to and; symbol " ∗∗ " represents a bonding site with a carbon atom in a polymer chain of the resin; and n1, n2, and n3 each independently represent an integer of 1 or more and 4 or less, with exception of the electrophotographic member of Examples 12, 13, 19 and 21 of EP patent application EP 2 950 154 A1. an electroconductive substrate; and an electroconductive resin layer on the electroconductive substrate, wherein the electroconductive resin layer contains: a resin having, in a molecule, at least one cation structure selected from the group consisting of the following formulae to and; and an anion, and a resin having, in a molecule, at least one cation structure selected from the group consisting of the following formulae to and; and an anion, and wherein the anion comprises at least one selected from the group consisting of a fluorinated sulfonylimide anion, a fluorinated alkylsulfonylimide anion, a fluorinated sulfonyl methide anion, a fluorinated alkylsulfonyl methide anion, a fluorinated sulfonate anion, a fluorinated alkylsulfonate anion, a fluorinated carboxylate anion, a fluorinated borate anion, a fluorinated phosphate anion, a fluorinated arsenate anion, a fluorinated antimonate anion, a dicyanamide anion, and a bis(oxalato)borate anion: in the formulae to: R1 to R8 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to to form a five-membered ring, a six-membered ring, or a seven-membered ring; R9 and R10 each independently represent a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; and one of two N's represents N +; in the formulae to: R11 to R15 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to to form a five-membered ring, a six-membered ring, or a seven-membered ring; and R16 represents a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; in the formulae to and: R17 to R20 and R47 each independently represent a hydrocarbon group needed for a nitrogen-containing heterocycle in each of the formulae to and to form a five-membered ring, a six-membered ring, or a seven-membered ring; R21, R22, and R48 each independently represent a hydrogen atom or a hydrocarbon group having 1 or more and 4 or less carbon atoms; and in the formulae to, one of two N's represents N +; in the formulae to and: X1 to X34 each independently represent a structure represented by the following formula, (b), or (c): in the formula, (b), or (c): symbol " ∗ " represents a bonding site with a nitrogen atom in the nitrogen-containing heterocycle or a carbon atom in the nitrogen-containing heterocycle in the formulae to and; symbol " ∗∗ " represents a bonding site with a carbon atom in a polymer chain of the resin; and n1, n2, and n3 each independently represent an integer of 1 or more and 4 or less, with exception of the electrophotographic member of Examples 12, 13, 19 and 21 of EP patent application EP 2 950 154 A1.