Horseshoe magnet

Horseshoe magnet with computed magnetic field lines. The two magnetic poles are in close vicinity, which concentrates the field lines and creates a strong magnetic field.
Magnetic fields of a horseshoe magnet visualized using iron filings.

A horseshoe magnet is either a permanent magnet or an electromagnet made in the shape of a horseshoe (in other words, in a U-shape). The permanent kind has become the most widely recognized symbol for magnets. It is usually depicted as red and marked with 'North' and 'South' poles. Although rendered obsolete in the 1950s by squat, cylindrical magnets made of modern materials, horseshoe magnets are still regularly shown in elementary school textbooks. Historically, they were a solution to the problem of making a compact magnet that does not destroy itself in its own demagnetizing field.