A magnetic stripe reader works by dragging the stripe's magnetized particles past a gap in a small read head, where their moving fields induce a voltage in a coil; a decoder chip converts that analog waveform into standard Track 1/2/3 character strings, which the host verifies with a checksum and sends to a payment network or access-control system. The reader never reads the data off the card in the way a file system reads a disk. It regenerates the characters from timing and flux-reversal patterns.

That distinction explains most of the strange behavior people see at checkout: cards that fail at one terminal work at another, swipes that fail on the first pass succeed on the second, and a card that looks undamaged can be unreadable because one particle region was demagnetized.

The physics of inductive swiping

A magnetic stripe is not a tape of recorded bits. It is a band of magnetic particles, historically iron oxide (Fe₂O₃) or barium ferrite for high-coercivity cards, embedded in a plastic binder. When the card is swiped, nothing on the stripe moves electrically. Instead, the previously written regions of alternating polarity sweep past the read head, and their stray magnetic flux passes through the head's core.

The read head is a small ferrite core with a narrow gap facing the stripe and a coil wound around it. Flux from the stripe crosses the gap, and Faraday's law of induction does the rest: a changing magnetic flux through the coil generates a voltage proportional to the rate of change. Each boundary between two regions of opposite magnetization produces a voltage peak, with opposite polarity depending on which way the transition runs. So the reader's raw signal is a train of positive and negative pulses whose spacing encodes the data.

This is why swipe speed matters but not in a simple way. The decoder measures time intervals between pulses rather than the pulse height, using a self-clocking scheme called F2F, or Aiken double-frequency, encoding. Every bit cell contains two possible transitions, and the presence or absence of a mid-cell transition distinguishes a 1 from a 0. Because the clock is embedded in the data, a slow swipe and a fast swipe carry the same information, but the decoder's expected time window is not infinitely tolerant. A swipe that is too slow or too fast moves the intervals outside that window and the checksum fails. This is the counterintuitive part: the reader does not read voltage levels at all. It reads timing.

A plain-language way to hold the model: the stripe is a pattern of magnetic signposts, and the head is a pickup that clicks each time a signpost flips direction. The chip downstream counts those clicks and the gaps between them.

The stripe has three tracks in the ISO/IEC 7811 standard. Track 1 holds up to 79 characters, including the cardholder name, and uses a 7-bit scheme at 210 bits per inch. Track 2 holds 40 characters of account data and uses 5-bit encoding at 75 bits per inch. Track 3 holds 107 characters and was designed for issuer use but is rarely populated on modern payment cards. The lower bit density of Track 2 makes it more swiping-speed tolerant in practice.

What the decoder and host actually do

The analog pulses from the read head are amplified and squared up by a comparator, which turns them into digital edges. The decoder then applies F2F decoding to recover a bit stream, aligns it to character framing, strips sentinel characters, and assembles the track string. Each track ends with a longitudinal redundancy check, an LRC, computed by exclusive-OR over the character bits. If the LRC does not match, the track is rejected.

The host device, a card terminal, door controller, or point-of-sale system, then applies its own validation: expected track length, character set conformance, and a format check on the account field. For payment cards, a legitimate reader inside a PCI-compliant terminal encrypts the track data immediately, at the point of swipe, so that the sensitive account number and discretionary data never exist in plaintext beyond the head assembly. This is a meaningful design fact, because the head output is analog and the decryption boundary sits right behind it.

For access control, the reader sends the track or a derived identifier to a panel that compares it to an enrollment database. The card's stripe here is often a proprietary format written by the badge issuer, not a bank account number.

The submission layer varies. Payment data goes through the terminal to the acquirer and then the card network. Physical access data typically stays inside the building's network. The shared principle is the same at both ends: the card contributes a claim, and the host decides whether to trust it.

Reading in context: speed, wear, and lifetime

Typical card readers accept swipe speeds somewhere around 3 to 50 inches per second, with the practical usable band narrower for worn cards. ISO 7811 specifies reference swipe profiles that terminals are tested against. Faster consumer terminals generally push toward the upper half of that range in use. Door readers, which are often swiped slowly by users, need the decoder timing window to accommodate low speeds.

Track durability is a real constraint. Magnetic stripes degrade from abrasion, flexing, and proximity to magnetic fields. A card that has lived in a wallet for years, been swept past magnet clasps, and been swiped thousands of times loses signal amplitude. The head output drops, the comparator margin shrinks, and read errors rise. This is a measurable curve, not a binary switch. One swiping failure does not mean a dead card; it means the signal-to-noise ratio fell under threshold for that pass.

Worn read heads produce the same effect on the reader side. A scratched or grooved head face reduces coupling and introduces noise. In a well-maintained terminal, the head is the component most likely to fail silently, and its failure looks exactly like a bad card from the operator's point of view.

Card readers themselves have changed less than the cards. The head-and-decoder architecture is decades old and remains the basis of nearly every swipe reader in service. What changed is the security wrapper and the shift toward contactless.

Reader class Typical use Data handling Weakness
Swipe terminal Retail point of sale Encrypted at head, sent to network Physical skimming at the head
Motorized insert Unattended kiosks, transit Head is motor-driven, more consistent speed Motor wear, card jams
Access-control swipe Door entry, time clock Local database match Easy to clone written badges
Hybrid swipe/contactless Retail, transit Stripe fallback plus NFC Contactless is dominant now
Reader/writer Badge issuance, loyalty Writes and verifies stripe Writer head alinement errors

Every row depends on the same electromagnetic core. The differences are mechanical and cryptographic, not physical.

The replication and skimming problem

The single most important professional caveat is that magnetic stripes are trivially copyable. A stripe carries a static magnetic pattern with no cryptographic challenge built in. Anyone with an inexpensive read head, a coil, or even a smartphone with a magnetic sensor in the right configuration and a writer can duplicate the pattern. The card is a bearer token, and the stripe itself offers no proof that the presenting card is genuine.

This is the reason payment networks layered the industry security programs in the 2000s and why EMV chip cards took over. The stripe persists as a fallback for terminals that cannot do chip, and fraudsters have exploited exactly that. The relevant countermeasure at the terminal is not a smarter swipe reader. It is shifting the transaction to the chip, which generates a one-time cryptogram per transaction that a copied stripe cannot reproduce.

Skimming hardware exploits the analog front end. A thin shim or overlay head ahead of the genuine head captures the stripe pattern, and a hidden camera or overlay keypad captures the PIN. Detection is visual and procedural: inspect the reader face, check for loose overlays, and prefer terminals where the head assembly is sealed and tamper-evident.

Misconceptions worth correcting

A common misconception is that a magnet damages a card instantly and completely. In reality, weak fields do little, and even a moderate field relevels the stripe only partially. Card stripes are usually high-coercivity and resist ordinary refrigerator magnets. Demagnetization is a graded loss of amplitude, not an all-or-nothing event.

Another is that the reader "reads ones and zeros" from the stripe directly. It does no such thing. It reads transition timing, and the bits are recovered by the decoder. A card with a flawless pattern can fail if the timing window on a given terminal is too strict, and a card with a degraded pattern can pass on a more tolerant terminal.

A third is that the failing swipe is the card's fault. The head cleanliness, wear, and the encoder/decoder firmware version on the terminal all move the threshold. From the user's side, the observable is a failed transaction, not which component caused it.

Practical actions and thresholds

These are things you can do without special tools. Each is a concrete check with a clear pass condition.

Clean the read head with a manufacturer-approved cleaning card as recommended by the terminal vendor. A head with visible debris or a scratch line across the gap side is a candidate for replacement, not cleaning. Test the same card on two different readers. If it swipes reliably on both, the card is likely fine and the failure is terminal-specific. If it fails on both, suspect the stripe. Try a second swipe at a noticeably different speed and with a straight pass along the track. Success on pass two localizes the issue to timing margin, not data. Inspect the stripe surface for a continuous scratch or wear line. A visible line across the stripe in the travel direction is a risk for a dropped track. Check whether the failure is one track or all tracks. A failing track with others reading suggests a localized defect; all tracks failing suggests broad demagnetization or a head issue. For access badges, reissue the credential from the enrollment system rather than rewriting a suspect badge. Badge-writing errors and head alinement problems produce inconsistent copies.

For a payments operator, the threshold that matters is simpler. Any terminal that cannot perform chip transactions should be treated as a stripe-only risk and scrutinized under the applicable card brand rules. For a facility manager, any door reader with rising swipe-failure complaints should be checked for head wear and card age before buying new cards.

This reconciles the two threshold camps you will encounter. Consumer advice says "one failure, try again." Operator guidance says "track failure rate above a set baseline triggers maintenance." They do not contradict each other. The consumer threshold is about a single event; the operational threshold is about a trend. A reader failing 3 of 10 swipes on the same card across a week is a maintenance signal even if it never fails twice in a row.

Timeline of a common failure

Stage What happens Observable Action window
Weeks 1-4 Stray magnetic field partially relevels particles Occasional failed swipe Retest, inspect stripe
1-6 months Abrasion wears binder and particle alignment Failures cluster on hot/cold days Clean head, retest
6-12 months Flexing of worn wallet card cracks the layer Track dropped intermittently Replace card
Same period Terminal head grime and groove Same card fails on one reader only Clean or replace head
Later Broad amplitude loss at head Fails on most readers Card replacement
Later Head failure or firmware drift All cards fail at one terminal Service call

The useful part of this table is that the early failures are ambiguous by design. The same symptom appears for card wear, head wear, and timing margin. Only isolating the variable resolves it.

The final limit is architectural. A swipe reader can tell you what was written on a stripe. It cannot tell you that the stripe was written by the legitimate issuer, unless the host checks something beyond the pattern, and the stripe has no built-in cryptographic proof. That is why the sensible framing is not "how secure is a stripe" but "what is the stripe being trusted for." Access-control systems accept the limitation because the badge database is the trust anchor. Payments removed it by policy. For everything else, the stripe is a reliable, cheap, analog data carrier, and the reader is a timing-sensitive inductive sensor, not a computer that scans a barcode-shaped strip. Once that model is in place, the failure modes stop looking random.