How Magnetic Fields Are Created

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: How Magnetic Forces Affect Moving Charges

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:05 The Source of Magnetic Fields
  • 1:09 Current-Carrying Conductors
  • 1:53 Electromagnets
  • 3:54 Electromagnets in Action
  • 5:01 Lesson Summary
Add to Add to Add to

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Login or Sign up


Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Jim Heald

Jim has taught undergraduate engineering courses and has a master's degree in mechanical engineering.

Have you ever wondered how magnetic fields are created? In this lesson, we'll discuss the very simple answer to this question and look at how electric current can be used to make electromagnets, which have many everyday applications.

The Source of Magnetic Fields

A magnetic field can be created by running electricity through a wire.
Electricity Creates Magnetic Field

All magnetic fields are created by moving charged particles. Even the magnet on your fridge is magnetic because it contains electrons that are constantly moving around inside. The first indication that moving electric charges cause magnetic fields was discovered in the early 19th century. During an experiment, it was observed that when an electric current flowed through a wire, a nearby compass would change direction.

When the current was turned off, the compass would go back to its original north/south alignment with the Earth's magnetic field. The conclusion from this observation was that the electrons moving through the wire were creating a magnetic field that didn't exist when the current was turned off. An important thing to note is that charged particles create magnetic fields only when they are moving. This means that we effectively have a magnet that can be turned on and off with the flick of a switch. This has huge implications when it comes to practical applications, as we'll discuss later.

Current Carrying Conductors

The 19th century experiment showed that a wire carrying an electric current is a magnet. Since the electrons all move through the wire in one direction, there is a well-defined magnetic field surrounding the wire. The strength of the magnetic field is proportional to the amount of current flowing through the wire. In other words, increasing the current increases the strength of the magnetic field. So, if wires are so magnetic, why don't we see paperclips and forks flying across the room and sticking to them? The reason is that the magnetic field just isn't very strong at normal, everyday levels of electric current. We'll need to do a bit more work to turn a wire into a useful magnet.


By placing ferromagnetic materials in an electrical coil, you can strengthen the electromagnet.
Ferromagnetic Material in Coil

An electromagnet is a magnet that uses an electric current to generate its magnetic field. This differs from permanent magnets, like the ones on your refrigerator, which rely on the magnetic properties of the atoms in the material to create a magnetic field. At this point, our electromagnet is just a wire, but the magnetic field is too weak to do anything practical. However, if we bend the wire around and around to form a coil, the magnetic fields of the loops will concentrate in the center. To further enhance this effect, we can wrap multiple layers of wire on top of each other. Using more turns of wire increases the strength of the magnetic field. This is a definite improvement over our single wire from before, but it's still not strong enough to be really practical.

We can make our electromagnet several thousand times stronger by putting a core of ferromagnetic material, such as iron, in the center of the coil. Ferromagnetic materials contain something called magnetic domains, which are areas in the material that act like tiny magnets. Normally, the domains are randomly configured and the material does not exhibit any magnetism. However, when exposed to a magnetic field, like the one created by our coil of wire, the domains start to align and the individual magnetic fields unify into a bigger field.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create An Account