A method of producing a solid electrolytic capacitor, including a step of forming a dielectric film on the surface of a valve-acting metal having fine pores and a step of forming a solid electrolyte layer containing a conductive polymer on the dielectric film; wherein the solid electrolyte layer containing the conductive polymer is formed without using an oxidizing agent by: (i) a method of polymerizing at least one of the compounds (A1) represented by formula (1) disclosed herein in the presence of a compound (B) having a sulfo group; (ii) a method of copolymerizing at least one compound (A2) represented by formula (2) disclosed herein; and (iii) a method of polymerizing at least one of the compounds (A1) and (A2).