A method for producing an electrode, the method comprising: preparing a slurry including a sulfide solid electrolyte, an electrode active material, a carbon-containing material, and a solvent, wherein the slurry is prepared by stirring a first mixture including the sulfide solid electrolyte, the carbon-containing material, and the solvent by applying ultrasound to the first mixture with an ultrasonic homogenizer, adding the electrode active material to the first mixture to prepare a second mixture, and stirring the second mixture using a ball mill, a rotary mixer, a double-arm mixer, a kneader, or applying ultrasound to the second mixture with an ultrasonic homogenizer; applying the slurry to a current collector to form a coating film on the current collector; and removing the solvent from the coating film to form an electrode mixture layer, wherein an intensity ratio C/S determined by the method defined in the description from a spectrum obtained by analyzing the electrode mixture layer by Auger electron spectroscopy satisfies 0.2 ≤ C/S ≤ 1, where C is an intensity of a first peak in the spectrum, the first peak corresponding to carbon included in the carbon-containing material, and S is an intensity of a second peak in the spectrum, the second peak corresponding to sulfur included in the sulfide solid electrolyte; wherein the carbon-containing material is selected from the group consisting of a thermoplastic resin, a thermosetting resin, carboxymethyl cellulose, ethyl cellulose, and a cellulose nanofiber derivative; and wherein the ratio of the mass of the carbon-containing material to the total mass of the electrode active material and the solid electrolyte is from 0.01% to 5%. preparing a slurry including a sulfide solid electrolyte, an electrode active material, a carbon-containing material, and a solvent, wherein the slurry is prepared by stirring a first mixture including the sulfide solid electrolyte, the carbon-containing material, and the solvent by applying ultrasound to the first mixture with an ultrasonic homogenizer, adding the electrode active material to the first mixture to prepare a second mixture, and stirring the second mixture using a ball mill, a rotary mixer, a double-arm mixer, a kneader, or applying ultrasound to the second mixture with an ultrasonic homogenizer; stirring a first mixture including the sulfide solid electrolyte, the carbon-containing material, and the solvent by applying ultrasound to the first mixture with an ultrasonic homogenizer, adding the electrode active material to the first mixture to prepare a second mixture, and stirring the second mixture using a ball mill, a rotary mixer, a double-arm mixer, a kneader, or applying ultrasound to the second mixture with an ultrasonic homogenizer; applying the slurry to a current collector to form a coating film on the current collector; and removing the solvent from the coating film to form an electrode mixture layer, wherein an intensity ratio C/S determined by the method defined in the description from a spectrum obtained by analyzing the electrode mixture layer by Auger electron spectroscopy satisfies 0.2 ≤ C/S ≤ 1, where C is an intensity of a first peak in the spectrum, the first peak corresponding to carbon included in the carbon-containing material, and S is an intensity of a second peak in the spectrum, the second peak corresponding to sulfur included in the sulfide solid electrolyte; wherein the carbon-containing material is selected from the group consisting of a thermoplastic resin, a thermosetting resin, carboxymethyl cellulose, ethyl cellulose, and a cellulose nanofiber derivative; and wherein the ratio of the mass of the carbon-containing material to the total mass of the electrode active material and the solid electrolyte is from 0.01% to 5%.