The Floating Pencil Trick
Green highlight

Make a floating pencil illusion using clear thread, straw, and tape; explore balance, center of mass, and simple optical tricks while performing safely.

Orange shooting star
Download Guide
Collect Badge
Background blob
Challenge Image
Skill Badge
Table of contents

Step-by-step guide to make a floating pencil illusion

What you need
Adult supervision required, clear thread or fishing line, pencil, scissors, straw, tape

Step 1

Lay all your materials out on a clean flat table so you can see everything.

Step 2

Use scissors to cut one piece of clear thread about 50 centimeters long.

Step 3

Slide the straw onto the thread so the straw sits near the middle of the thread.

Step 4

Tie one end of the thread tightly to one end of the pencil with a double knot about 1 centimeter from the tip.

Step 5

Tie the other end of the thread tightly to the other end of the pencil with a double knot about 1 centimeter from that tip.

Step 6

Press a small piece of tape over each knot to hide and secure the knots to the pencil.

Step 7

Hold the straw horizontally and keep the thread taut so the pencil hangs down below the straw.

Step 8

If the pencil tilts, slide one taped knot a tiny bit toward the pencil’s center until the pencil lies level.

Step 9

Slowly move the straw left and right while keeping the thread tight to practice making the pencil look like it floats.

Step 10

Balance the pencil on your index finger to find its center of mass and notice where the knots sit compared to that spot.

Step 11

Share a photo or short description of your floating pencil trick on DIY.org so everyone can see your illusion.

Final steps

You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!

Complete & Share
Challenge badge placeholder
Challenge badge

Help!?

What can I use instead of clear thread or a drinking straw if they're hard to find?

Use fishing line or thin nylon thread in place of the clear thread and substitute a paper or plastic straw (or a short wooden skewer taped to the thread) so you can still slide the straw near the middle as the instructions require.

The pencil keeps tilting or the knots slip — how can I fix that?

Retie each end with a tight double knot about 1 centimeter from the tip, press a small piece of tape over each knot as the steps say, then hold the straw horizontally, keep the thread taut, and slide a taped knot tiny amounts toward the pencil’s center until it lies level.

How can I adapt this activity for different age groups?

For preschoolers have an adult pre-cut the 50-centimeter thread and pre-tie and tape the knots and use a chunky marker instead of a pencil, for elementary kids let them cut and tie with supervision, and for older kids challenge them to use thinner fishing line and experiment with different objects while finding the center of mass.

How can we make the trick more impressive or personalize it?

Decorate the pencil with colored tape before tying the double knots, try swapping in markers or small toys to see how knot placement affects balance, and record a short photo or video of your floating pencil to share on DIY.org as the instructions suggest.

Watch videos on how to make a floating pencil illusion

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

The Floating Pencil Trick - Easy Magic to Amaze Your Friends! 🪄✏️

4 Videos

Facts about basic physics and optical illusions

♻️ With just a drinking straw, tape, and thread you can build a safe, low-cost illusion toy at home.

🎯 Clear thread only a few hundred micrometers thick becomes practically invisible from a short distance.

🪄 Magicians often use near-invisible nylon thread to make tiny objects appear to levitate during tricks.

🧪 Simple balancing tricks let you explore stability: move the support point and the center of mass shifts.

🧭 The center of mass is the point where an object balances — position it right and a pencil can seem to float!

How do you do the Floating Pencil Trick step by step?

To perform the Floating Pencil Trick, tape one end of a length of clear thread to the pencil's middle. Thread the other end through a drinking straw so the straw hides the line and helps keep it straight. Tape or discreetly hold the straw ends so the thread is taut and the pencil balances on it. Gently adjust the pencil's position until it appears to float; practice angles and tension for a steady illusion.

What materials do I need for the Floating Pencil Trick?

You'll need clear thread or fishing line, a straight pencil, a drinking straw, transparent tape, scissors, and a ruler or marker; optionally small paper clips or modeling clay for tiny weights. Use a clean flat surface and good lighting to check the illusion. Avoid metal wire—use soft clear line to be safe.

What ages is the Floating Pencil Trick suitable for?

Suitable for children aged about 6 and up with adult supervision. Younger kids (4–5) may enjoy watching but might need help with threading, cutting tape, and avoiding tangled line. This activity builds fine motor skills and focus; ensure supervision to prevent choking, thread around neck, or eye hazards. Adapt complexity for older kids by experimenting with balance points and props.

What are the benefits, safety tips, or variations for the Floating Pencil Trick?

Benefits include teaching balance, center of mass, and observational skills while encouraging patience and precise hands-on work. For safety, use short thread lengths, supervise to avoid strangulation, and cut excess tape cleanly. Variations: try different pencil lengths, use colored straws to hide the line better, or add tiny clay weights to shift the balance point. Turn it into a mini science lesson by measuring where the pencil balances.
DIY Yeti Character
Join Frame
Flying Text Box

One subscription, many ways to play and learn.

Try for free

Only $6.99 after trial. No credit card required