A magnetic strip works by storing binary data in the magnetization direction of tiny iron-oxide particles, which a read head detects as induced voltage changes when the strip moves past it. The strip itself is passive. It holds a pattern of north-south transitions that encode your account number and other data. The reader supplies the motion, the magnetic field, and the electronics that turn those transitions into bits.
This explainer covers the recording medium, the physics of reading, the standards that govern the encoding, where the technology fails, and what the magnetic stripe on your card actually contains.
The Recording Medium
A magnetic stripe is a thin plastic film — typically 0.01 inches thick — glued to a card backing. The film is coated with a slurry of magnetic particles, usually iron oxide (gamma-Fe2O3) suspended in a polymer binder. Each particle is a tiny permanent magnet with its own north and south pole. When the slurry dries, the particles freeze in place.
The key property is coercivity: how much magnetic field it takes to flip a particle's magnetization. Standard low-coercivity (LoCo) stripes use particles with coercivity around 300 oersteds. High-coercivity (HiCo) stripes run at roughly 2,750 to 4,000 oersteds. HiCo stripes resist accidental erasure from nearby magnets and are standard on bank cards. LoCo stripes are cheaper and appear on hotel keys and transit passes where re-encoding is routine.
Recording happens by moving the stripe past a write head — an electromagnet with a small gap. The head's field aligns particles in the gap region as they pass. The direction of current through the head sets the magnetization direction. Reversing the current mid-pass flips the polarity, creating a transition. The spacing between transitions, not the absolute polarity, carries the information.
How Reading Actually Works
A read head is a coil wrapped around a magnetic core with a gap. When a magnetized region of the stripe passes the gap, its field lines thread through the coil. As long as the field is steady, nothing happens electrically. The moment the field changes — at a transition — the flux through the coil changes, and Faraday's law of induction produces a voltage pulse.
That detail matters: the reader detects transitions, not magnetization states. A long stretch of north-pole particles produces no signal. A flip from north to south produces a pulse. The reader's electronics amplify and threshold these pulses into a bitstream. This is why a stripe with a uniform magnetic field across its length is unreadable — it carries no transitions.
The pulse polarity tells the reader the direction of the flip. The timing between pulses tells it the data rate. F2F (two-frequency) encoding, used on tracks 1 and 2, represents a binary 1 as a transition in the middle of a bit cell and a 0 as a transition at the cell boundary. The decoder recovers both clock and data from the same pulse train. Without that self-clocking property, small speed variations in a hand-swiped reader would corrupt the data.
What's Encoded on the Three Tracks
A standard magnetic stripe has three tracks, each with its own width, bit density, and character set per ISO/IEC 7811.
| Track | Width | Density | Character set | Typical content |
|---|---|---|---|---|
| Track 1 | 0.11 in | 210 bpi | Alphanumeric (6-bit) | Name, account number, expiry, service code |
| Track 2 | 0.11 in | 75 bpi | Numeric (5-bit) | Account number, expiry, service code |
| Track 3 | 0.11 in | 210 bpi | Numeric (5-bit) | Rarely used; historically for read/write data |
Track 2 is the workhorse. It fits 40 numeric characters at 75 bits per inch, which is enough for a 16-digit primary account number plus expiry and service code. Track 1 carries the cardholder name and can hold 79 alphanumeric characters. Track 3 was defined for read-write applications but is almost never encoded on payment cards today; it survives mostly in legacy systems and some transit cards.
The service code in track 2 tells the terminal what the card is authorized for — for example, whether it requires online authorization or permits offline use. Terminals read this field before deciding how to route the transaction.
Timeline: From Swipe to Authorization
| Step | What happens | Time scale |
|---|---|---|
| Swipe | Stripe passes read head; pulses generated | ~0.3–1 second |
| Decode | Reader converts pulses to characters; checks parity | <100 milliseconds |
| Terminal decision | Service code read; transaction routed | <1 second |
| Network request | Authorization message to issuer | 1–3 seconds |
| Issuer response | Approve, decline, or refer | 1–5 seconds |
| Total | Card-present transaction | Typically 2–10 seconds |
The magnetic stripe's job ends at the decode step. Everything after that is network traffic. This is why a stripe can be read perfectly and the transaction still fail — the card data is only a claim, and the issuer decides whether to honor it.
Where the Technology Fails
A stripe fails when the particles lose their alignment or the read head loses contact. Both are common.
Demagnetization: A strong magnet near the stripe erases LoCo cards easily. HiCo cards resist fields up to their coercivity but still fall to strong neodymium magnets at close range. Physical wear: The iron-oxide coating abrades as cards rub against wallets and readers. Worn stripes produce weak pulses that fall below the reader's threshold. Head contamination: Dirt and oil on the read head reduce coupling and can drop pulses entirely. Readers in high-traffic locations degrade fastest. Speed variation: Hand-swiped readers tolerate a wide speed range because F2F encoding is self-clocking, but severely uneven swipes still corrupt data. Stripe damage: A crease across the stripe can break the magnetic continuity and scramble the data.
The counterintuitive part: a stripe that looks undamaged can be unreadable while a visibly scuffed stripe reads fine. What matters is the particle alignment and surface contact, not cosmetic appearance. A single hairline scratch through the coating can do more damage than general wear.
A professional caveat worth knowing: magnetic stripes are trivially skimmable. A reader the size of a deck of cards can capture both tracks in one swipe. The data on the stripe is static — it does not change per transaction. That is the structural weakness that drove the migration to chip cards, not any failure of the magnetic physics itself.
Common Misconceptions
The most persistent myth is that the stripe stores your PIN. It does not. Track 2 carries the account number, expiry, and service code. The PIN is either verified online by the issuer or, on some chip cards, by the chip itself. Stripe data alone cannot authorize a PIN transaction.
Another misconception: the stripe is a storage device with a filesystem. It is not. It is a linear sequence of characters with framing sentinels and a longitudinal redundancy check (LRC) character per track. There is no addressing, no directory, no writable sectors in the conventional sense. You cannot "browse" a stripe; you decode it as a fixed-format record.
A third: swiping and inserting are interchangeable. They are not. A magnetic stripe transaction is a card-present transaction but carries no dynamic cryptogram. A chip transaction generates a unique cryptogram per transaction. Many issuers and networks treat stripe transactions as higher risk and may decline them when a chip is available. The stripe is a fallback, not an equivalent.
Practical Actions
If you handle cards or run a terminal, these steps reduce stripe failures and their downstream cost.
Clean read heads regularly with approved cleaning cards. Contamination is the most common cause of read errors in high-traffic terminals. Store cards away from magnets, phone speakers, and magnetic clasps. Keep HiCo cards in a dedicated wallet slot rather than loose in a bag. Swipe at a steady, moderate speed. F2F decoding tolerates variation, but abrupt stops mid-swipe can drop characters. Check the service code before routing. If the code indicates online-only authorization, do not attempt an offline fallback. Prefer chip insertion when available. Stripe transactions may be declined by issuer policy even when the card is valid. For LoCo applications like hotel keys, re-encode on every check-in. LoCo stripes degrade faster and are cheap to rewrite.
The thresholds to reconcile here are the coercivity figures (300 oersteds for LoCo versus roughly 2,750–4,000 oersteds for HiCo), the track densities (75 versus 210 bits per inch), and the encoding formats (F2F on tracks 1 and 2). These are not competing numbers; they describe different layers — the medium's resistance to erasure, the data density on each track, and the modulation scheme that recovers clock and data. A HiCo stripe at 75 bpi on track 2 is the standard bank card configuration: high coercivity for durability, low density for the numeric payload that track 2 was designed to carry.
Limits of the Technology
The magnetic stripe is a passive, static, low-capacity medium. It holds a few dozen characters, cannot authenticate itself, and cannot generate a per-transaction value. Those limits are physical and structural, not fixable by better readers.
Where it survives — transit passes, hotel keys, loyalty cards, and fallback payment — it survives because the alternatives cost more to deploy than the stripe costs to keep. Transit systems re-encode LoCo cards at every gate, so wear and erasure are designed into the workflow. Hotel locks rewrite keys on checkout. Those are closed loops where a static, cheap medium is adequate.
For open payment networks, the stripe's inability to produce a dynamic cryptogram is the decisive limitation. The magnetic physics still works perfectly; the security model around it does not. That is why the stripe persists as a backup path rather than a primary one, and why its role keeps shrinking even as the underlying mechanism remains unchanged.