Experiment
Hold a fridge door shut
A bendy magnet, magnetised in stripes. Build it wrong first: a latch that holds the door tight, but can't be opened from inside.
From the Short "Your Fridge Door Is Held Shut by a Bendy Magnet". Coming soon on YouTube
The latch
The old way was a latch. A hook on the door clicks over a catch and squeezes a soft seal tight, so the cold stays in.
Shut the door. Then push on it from inside.
But that latch couldn't be opened from inside. Children playing in abandoned fridges were trapped, and some died. So a 1956 American law said new fridges must open from inside.
Use a magnet
No hook this time: a stiff bar magnet in the seal sticks to the cabinet's steel front.
Shut the door, then push on it from inside.
Gaps leak
Close on the seal, from above. A door that isn't perfectly flat is normal, but a stiff magnet can't follow a slightly bent door.
Stop the cold leaking out, without straightening the door.
The magnet
Making it bendy: magnet powder, set in soft plastic. It bends like a ribbon, and the seal's squashy hollow lets it lean out to the steel.
The real trick: stripes
The strip is magnetised in stripes: north, south, north. The magnetism loops tightly from stripe to stripe, so it stays close to the strip.
Slide the strip 3 mm away from the steel. Do it with stripes, then with a plain magnet.
Magnetised
A plain magnet has north on one face and south on the other. You can also drag the strip.
Peel it open
The door swings on its hinges, so pulling the handle lifts the seal at the handle side first.
Pull the handle and watch where the seal lets go.
Orange: still gripping hard. Blue: just let go.
What's going on
Most home fridge and freezer doors are held shut by a magnetic seal: a soft plastic or rubber seal round the door with a bendy magnetic strip inside it, which sticks to the steel front of the cabinet. Many doors also have hinges or closers that help swing them shut, but the magnet does the holding.
Many older fridges had a latch instead, which could only be opened from outside. Children playing in abandoned fridges were trapped, and some died. The US Refrigerator Safety Act of 1956 said new household fridges must open from inside. The standard under it says the door must open with a push from inside of no more than 15 pounds (about 67 newtons) near the latch edge, or with an easily turned inside knob. The law doesn't name magnets, but magnetic seals became the usual way to meet it. Old latch fridges are still a danger, which is why the advice is to take the door off before throwing one out.
A stiff magnet can't follow a door that isn't perfectly flat, and cold leaks out of the gaps. The strip in a seal is made from magnet powder (ferrite, a magnetic iron oxide) mixed into soft plastic or rubber, pushed out as a strip and then magnetised. So it bends, and the seal's squashy hollow lets it reach out and hug the steel all the way round.
The real trick is the stripes: north and south side by side along the face of the strip. A magnet supplier says most seal strips have two stripes facing the steel and a few have three, as drawn here. The magnetism loops from each stripe to its neighbours, taking a short path through the steel, so the grip is strong when touching but falls away fast with distance, over about the width of a stripe. A few millimetres off, it's a small fraction of what it was.
So when you pull the handle, the door swings on its hinges and the seal leaves the cabinet first at the handle side, then peels along. Only a short length is coming away at any moment, each bit loses most of its grip as soon as it lifts, and the handle, far from the hinges, gives leverage. It takes far less than pulling the whole seal straight off at once: strong when shut, easy to open, and safe from inside.
Simplified: the stiff bar is a made-up step to show the problem, and the door's bend and the peeling gaps are drawn much bigger than real. The grip chart is a rough guide: a strip 3 mm thick with 4 mm stripes, against steel that carries magnetism perfectly, worked out in two dimensions, with each curve shown as a share of its own grip when touching, so the chart doesn't show that the striped strip starts out the stronger of the two. The field is drawn as a few clean arcs. The peel is worked out for one run of seal seen from above, with the soft seal as a simple spring that lets each bit go after about 2 mm of stretch. In this model the hardest moment comes just before the handle end lets go, at about a third of the straight-off pull; that share comes from the handle's leverage and would differ for a seal running all round the door. A real seal runs all the way round the door.