A hairpin stator carries its winding as solid rectangular copper bars instead of bundles of thin round wire. Each bar is bent into a U, the hairpin, pushed into two slots from one end of the core, twisted at the other end and welded to its neighbour. The winding is built up from the pins, one turn per coil, in an even number of layers per slot.
EV makers took it up for three reasons. The slot holds more copper, so the same slot carries more current for the same loss, or the same current with less heat. The bars sit flat against the liner and each other, so a hairpin slot conducts heat to the core at the copper itself, 401 W/(m·K), bar by bar, where a random-wound slot is modelled at an equivalent 0.45 to 0.50 W/(m·K). And every conductor is in a known place, so the voltage between neighbours can be designed: a change of winding plan cut the conductor-to-ground stress of one design by 45 %.
The costs are real too. Solid bars suffer skin and proximity effect, so above about 1 kHz the AC loss climbs; eight thin layers instead of two cut the AC-to-DC loss ratio at 1 kHz from 11.5 to 5.6. The turns per coil cannot be chosen freely, every stator needs its own pin tooling, and the welds decide the cost: at a million units a year the hairpin line is up to 27 % cheaper, at low volume it is not. Hairpins reached series cars through GM hybrids; the 2010 Chevrolet Volt took them to the mass market, and since 2018 they have been the default in new EV platforms, from the Porsche Taycan and the VW MEB drive onwards.