Magnetic Strips: How Do Magnetic Strips On Credit Cards Work?

The magnetic strip on a card can be ‘written’ or encoded with information because the tiny iron-based particles that make up the strip can be magnetized in different directions by a device that produces a strong magnetic field. This device encodes the required information onto the stripe, which is then pasted on a plastic card.

If you travel frequently, you may have faced a specific problem with key cards for hotel rooms: sometimes, when you swipe the card to open your room’s door, it just doesn’t work. A little perplexed, you try swiping it a few more times, but every time the light blinks red and you remain stranded outside your room.

A room access key card

A room access key card

You then head to the reception and convey your concerns to the staff. With an ‘I totally know why your card is not working’ smile on their face, they ask, “Did you put your smartphone or camera next to the keycard?” You sheepishly nod, the staff member takes the card from you, punches a few keys on the computer and returns it to you. You try the same key card again, and this time, it works!

So, what’s going on here? Why does putting a smartphone/camera next to the keycard upset its ability to open a door?

Before discussing this answer, let’s first take a quick look at how a magnetic stripe card works.


Recommended Video for you:


What is a magnetic stripe card?

A magnetic stripe card, also referred to as a swipe card or magstripe, is a plastic card with a magnetic strip attached on its surface. This stripe is made of tiny iron-based components whose magnetism can be modified and can therefore be used to store information. A magstripe is quite similar to a magnetic recording tape, which you might find in a videotape or a music cassette.

Magnetic stripe card

A typical magnetic stripe card

Magnetic stripe cards are widely used in hotel key cards to provide room access and credit/debit cards to handle purchases. They are also commonly used as identity cards for entrance to corporate premises and college campuses for a variety of purposes.

How a magnetic stripe card works?

The magnetic strip on a card can be ‘written’ or encoded with information because the tiny iron-based particles that make up the strip can be magnetized in different directions by a device that produces a strong magnetic field. This device is a ‘solenoid’, which is basically a coil wound into a tightly packed helix.

solenoid

A solenoid

The wire is wound around a high-permeability, metallic core that produces a strong magnetic field when a current is passed through it. This device encodes the required information onto the stripe, which is then pasted on a plastic card.

How does a magnetic stripe reader work?

When a card with a magnetic strip is moved back and forth over the ‘reader head’, a voltage is induced in the coils of the card reader device.

A card reader consists of a solenoid too – the same component that is used to write information in the magnetic strip. (Photo Credit : Flickr)

This voltage can be amplified and recorded electronically, which is finally read by a computer (or a processor installed within the reader) to authenticate a user (in the case of identity cards) or a transaction (in the case of credit/debit cards).

Demagnetizing a magstripe: Why are hotel key cards erased when placed next to cellphones?

Access key cards for hotel rooms are often erased if placed next to a cell phone. However, thankfully enough, the same is not true for credit cards or any other bank transaction cards, and there’s a good reason behind that.

You see, magnetic strips are classified on the basis of their coercivity, which is basically a measure of their ability to withstand an external magnetic field. There are high-coercivity or HiCo cards, which are encoded and can withstand the presence of a very strong magnetic field (to the order of 4000 Oersted), and there are low-coercivity or LoCo cards, which are encoded with a low-intensity magnetic field (~300 Oe).

Hotel room key cards are LiCo cards.

As you can imagine, LoCo cards are more suited for short-term applications, such as temporary access to hotel rooms. Such room key cards must be encoded/erased very frequently; therefore, cost-saving is very important for such businesses. LoCo cards are easy to manufacture and require only a low-intensity magnetic field source to encode data on them.

On the flip side, however, they are easily erased by things that produce a magnetic field, such as a cell phone, camera or even a piece of magnet.

Bank credit cards, on the other hand, are HiCo cards. Quite predictably, they are expensive to manufacture, require a strong magnetic field to encode data on them, and are highly resistant to most magnets (electronic devices are a type of magnet) that people generally come in contact with.

That’s why you can put your credit card and smartphone together in your pocket, but you can’t do the same with a room access key card!

Suggested Reading

Was this article helpful?
YesNo
Help us make this article better

Follow ScienceABC on Social Media:

About the Author

Ashish is a Science graduate (Bachelor of Science) from Punjabi University (India). He spearheads the content and editorial wing of ScienceABC and manages its official Youtube channel. He’s a Harry Potter fan and tries, in vain, to use spells and charms (Accio! [insert object name]) in real life to get things done. He totally gets why JRR Tolkien would create, from scratch, a language spoken by elves, and tries to bring the same passion in everything he does. A big admirer of Richard Feynman and Nikola Tesla, he obsesses over how thoroughly science dictates every aspect of life… in this universe, at least.

.
Science ABC YouTube Videos

  1. Slowing or Reversing Aging: Can We Live for 180 years?Slowing or Reversing Aging: Can We Live for 180 years?
  2. Detectives Use this Simple Technique to Find Your Fingerprints (Even AFTER You Have Wiped Them Off)!Detectives Use this Simple Technique to Find Your Fingerprints (Even AFTER You Have Wiped Them Off)!
  3. Why is a Circle 360 Degrees, Why Not a Simpler Number, like 100?Why is a Circle 360 Degrees, Why Not a Simpler Number, like 100?
  4. Quantum Physics: Here’s Why Movies Always Get It WrongQuantum Physics: Here’s Why Movies Always Get It Wrong
  5. Do Fish Get Thirsty and Do They Need to Drink Water?Do Fish Get Thirsty and Do They Need to Drink Water?
  6. Gasoline (Petrol) vs Diesel: Which one is better? A Beginner’s GuideGasoline (Petrol) vs Diesel: Which one is better? A Beginner’s Guide
  7. Black Holes Explained: What Is a Black Hole? How They Form?Black Holes Explained: What Is a Black Hole? How They Form?
  8. Gut Microbiome Explained in Simple WordsGut Microbiome Explained in Simple Words