Electromagnetic switch for a starting device of an internal combustion engine, - having a coil carrier which has a carrier wall which extends in an axial direction and which encloses a cavity in the coil carrier, - having a coil winding which has a coil wire wound on the side, averted from the cavity, of the carrier wall and which, during operation, is flowed through by an electrical current and thus generates a magnetic field within the cavity, - having a piston which is axially adjustable in the cavity and which, when the coil winding is not in operation, is situated in a passive position and, during operation of the coil winding, is adjusted axially in the direction of a core, - wherein, in the passive position of the piston, an axial gap is formed, in the cavity, between the piston and the core, - wherein the coil wire is, in an axially extending first winding section, wound in a first winding direction around the carrier wall, - wherein the coil wire is, in an axially extending second winding section, wound in a second winding direction, which is opposite to the first winding direction, around the carrier wall, - having a ferromagnetic bypass body which surrounds the cavity and which is arranged radially between the cavity and the coil winding, - wherein, in the passive position of the piston, the bypass body axially overlaps the axial gap, characterized - in that, at least one winding of the second winding section axially overlaps the bypass body, - in that the coil wire is, in a third axial winding section, wound in the first winding direction around the carrier wall, wherein the second winding section is arranged axially between the first winding section and the third winding section. - having a coil carrier which has a carrier wall which extends in an axial direction and which encloses a cavity in the coil carrier, - having a coil winding which has a coil wire wound on the side, averted from the cavity, of the carrier wall and which, during operation, is flowed through by an electrical current and thus generates a magnetic field within the cavity, - having a piston which is axially adjustable in the cavity and which, when the coil winding is not in operation, is situated in a passive position and, during operation of the coil winding, is adjusted axially in the direction of a core, - wherein, in the passive position of the piston, an axial gap is formed, in the cavity, between the piston and the core, - wherein the coil wire is, in an axially extending first winding section, wound in a first winding direction around the carrier wall, - wherein the coil wire is, in an axially extending second winding section, wound in a second winding direction, which is opposite to the first winding direction, around the carrier wall, - having a ferromagnetic bypass body which surrounds the cavity and which is arranged radially between the cavity and the coil winding, - wherein, in the passive position of the piston, the bypass body axially overlaps the axial gap, - in that, at least one winding of the second winding section axially overlaps the bypass body, - in that the coil wire is, in a third axial winding section, wound in the first winding direction around the carrier wall, wherein the second winding section is arranged axially between the first winding section and the third winding section.