Jump to main content

Levitating Magnets: Floating Isn't Just for Magicians

1,326 reviews


Have you ever seen a magician float an object in the air? If so, you might think that levitation (making things float) is just a magic trick, but the truth is you can use an invisible physical force to levitate a magnet! Try this science project to find out how.


Areas of Science
Time Required
Average (6-10 days)
Material Availability
The magnets needed for this experiment can be bought online from science supply stores.
Very Low (under $20)
When placed next to one another in certain configurations, magnets are attracted and can move toward one another, so be careful not to get your fingers pinched between the magnets.

Sonali Mukherjee, Seagate

Edited by Sandra Slutz, PhD, Science Buddies

Special thanks to Dr. Luc Berger at Carnegie Mellon University for his help and insights.

  • Play-Doh® is a registered trademark of Hasbro, Inc.


In this science project you'll discover how to place magnets so they either attract or repel one another and then use that information to levitate a magnet.


Imagine people's surprise when they came across the first magnet! It must have seemed like a magic stone to them—able to make tiny pieces of iron rise up and slide around by some invisible force. The earliest records of magnets are from the Chinese and the Greeks who both wrote of lodestones, which are naturally occurring stones that attract iron. Today we know that lodestones contain magnetite, a naturally occurring magnetic material. Through experimentation and observation, both the Chinese and the Greeks eventually began to use these magnetic lodestones to make compasses to use for navigation at sea. But it took until the 1600's before major scientific understanding of magnets occurred. And scientists are still discovering more and more about magnetic principles today!

One of the most basic and important features of magnets is that when allowed to rotate freely on a piece of string, they always align themselves so that one end faces the North Pole and the other end faces the South Pole, these two ends are referred to as the north and south poles of the magnet. By aligning the poles of two magnets in different combinations, the magnets will either be attracted, (pulled closer to one another) or repelled (pushed farther apart from one another). To learn more about magnets, check out the Science Buddies Electricity, Magnetism, & Electromagnetism Tutorial.

Magnets are used in a wide variety of household objects, including headphones, televisions, computer disks, and refrigerator magnets. Recently, engineers have used magnets to create maglev (short for magnetic levitation) trains. These maglev trains use the attractive and repellant nature of magnets to levitate or "float" above the tracks, rather than use wheels. The first commercial high-speed maglev train, located in Shanghai, China, began transporting people in December of 2003. It averages 250 miles per hour!

In this science project you'll conduct two experiments. In the first experiment you'll discover how to place two magnets in order to create a repellant force and an attractive force. Then you'll use that information in a second experiment to make your own magnetic levitation system.

Photo of a maglev train on a track
Figure 1. This maglev train in Shanghai, China uses magnets to levitate above the tracks and travels an average of 250 miles per hour!

Terms and Concepts



This website contain general information about magnets and what they are used for.

If you're interested in finding out more about maglev trains, try this website:

Materials and Equipment

Disclaimer: Science Buddies participates in affiliate programs with Home Science Tools, Amazon.com, Carolina Biological, and Jameco Electronics. Proceeds from the affiliate programs help support Science Buddies, a 501(c)(3) public charity, and keep our resources free for everyone. Our top priority is student learning. If you have any comments (positive or negative) related to purchases you've made for science projects from recommendations on our site, please let us know. Write to us at scibuddy@sciencebuddies.org.

Experimental Procedure

Remember to be careful when using the magnets so you don't get your fingers pinched between two magnets that are attracted to one another.

Determining Which Poles Attract and Repel One Another

  1. Place the two bar magnets on a table. Examine both ends of the bar magnets, you'll notice that one end of each magnet is labeled "north" or "N," and the other end is labeled "south" or "S." Bring the north pole of the first magnet close to the north pole of the second magnet. Do the two north poles attract or repel? Make a data table, like the one below, in your lab notebook and record your observations.
  2. Using the same technique, try all the different combinations of poles and record your observations in your data table.

    Pole Type of 1st Magnet Pole Type of 2nd Magnet Attract or Repel
    North North 
    North South 
    South North 
    South South 

  3. Look at your data table. What conclusions can you make? Do like (which also means the same) poles attract or repel? What about opposite poles?

Levitating a Ring Magnet

  1. From your experiments with the bar magnets, you now know how the poles of two magnets behave when you bring them close to one another. Use that information to determine which is the north pole and which is the south pole for your ring magnets.
    1. Bring the flat side of one of the ring magnets close to the north pole of a bar magnet. Is the ring magnet attracted to or repelled from the bar magnet? Based on that observation, is the side of the ring magnet you chose the north or south pole? Using the permanent marker, label that side either "N" for north or "S" for south. Be careful not to get the ink on anything else, it'll stain!
    2. Repeat these steps in order to label the north and south poles of the second ring magnet.
  2. Once you have the north and south poles of two ring magnets labeled, you are ready to determine the conditions under which you can achieve magnetic levitation.
    1. First you need to make the holder for the ring magnets.
      • Place the marker/crayon in the hole of the spool of thread, or in a lump of Play-Doh, so that it stands up vertically.
    2. Slide one ring magnet onto the marker/crayon, with the north pole facing the ceiling. It will fall to the base of the holder.
    3. Slide the second ring magnet onto the marker/crayon so that the north pole of the second magnet faces the north pole of the first magnet. What happens? Does the second magnet levitate? Record your observations in a data table, like the one below, in your lab notebook.
    4. Remove the ring magnets from the stand and repeat steps 5b and 5c using all the possible combinations for north and south poles of both magnets. Record your observations in your data table.

    Pole Type of 1st Magnet Pole Type of 2nd Magnet Levitation of 2nd Magnet (Yes or No)
    North North 
    North South 
    South North 
    South South 

  3. Look at your data table. Under which conditions does the second magnet levitate? Are the conditions for levitation the same as the conditions that caused the bar magnets to be attracted or repelled?
  4. Using what you have learned, can you get multiple magnets to levitate above each other, as shown in Figure 2?
Magnetic rings around an upright marker float above each other
Figure 2. Three magnets floating above the bottom magnet.
icon scientific method

Ask an Expert

Do you have specific questions about your science project? Our team of volunteer scientists can help. Our Experts won't do the work for you, but they will make suggestions, offer guidance, and help you troubleshoot.

Global Connections

The United Nations Sustainable Development Goals (UNSDGs) are a blueprint to achieve a better and more sustainable future for all.

This project explores topics key to Industry, Innovation and Infrastructure: Build resilient infrastructure, promote sustainable industrialization and foster innovation.


Magnets are fascinating and have endless properties to explore. Here are a couple more ideas you can investigate with your magnets.

  • Can you use a magnetic compass to determine which end of a magnet is the north pole and which is the south pole? Design an experiment to find out. Hint: Use the bar magnets, which already have their poles labeled, so you can interpret your observations.
  • Did you know that you can make a temporary magnet out of a nail? Using a bar magnet, stroke the nail 30 times, in the same direction each time. Now can you use the nail to pick up staples? How many? What happens if you stroke the nail more times? Does it become a stronger magnet? Use the staples to find out.


If you like this project, you might enjoy exploring these related careers:

Career Profile
Physicists have a big goal in mind—to understand the nature of the entire universe and everything in it! To reach that goal, they observe and measure natural events seen on Earth and in the universe, and then develop theories, using mathematics, to explain why those phenomena occur. Physicists take on the challenge of explaining events that happen on the grandest scale imaginable to those that happen at the level of the smallest atomic particles. Their theories are then applied to… Read more
Career Profile
Our universe is full of matter and energy, and how that matter and energy moves and interacts in space and time is the subject of physics. Physics teachers spend their days showing and explaining the marvels of physics, which underlies all the other science subjects, including biology, chemistry, Earth and space science. Their work serves to develop the next generation of scientists and engineers, including all healthcare professionals. They also help all students better understand their… Read more

News Feed on This Topic

, ,

Cite This Page

General citation information is provided here. Be sure to check the formatting, including capitalization, for the method you are using and update your citation, as needed.

MLA Style

Science Buddies Staff. "Levitating Magnets: Floating Isn't Just for Magicians." Science Buddies, 23 June 2020, https://www.sciencebuddies.org/science-fair-projects/project-ideas/Phys_p067/physics/levitating-magnets. Accessed 14 Apr. 2024.

APA Style

Science Buddies Staff. (2020, June 23). Levitating Magnets: Floating Isn't Just for Magicians. Retrieved from https://www.sciencebuddies.org/science-fair-projects/project-ideas/Phys_p067/physics/levitating-magnets

Last edit date: 2020-06-23
Free science fair projects.