
At a Glance
Magnetic field lines are a map of a magnetic field: the direction of a line at any point is the direction of the field there, and the closer the lines, the stronger the field. They run from north to south outside a magnet, continue from south to north inside it, form closed loops and never cross. Around a straight wire they are circles whose field strength falls as B = μ0 I / (2πr).
- Shows
- Direction (tangent) and strength (line density) of B
- Direction outside a magnet
- North pole to south pole
- Shape
- Always closed loops, never crossing
- Field quantity
- Magnetic field B, a vector, in teslas (T)
- Around a straight wire
- Circles, B = μ0I / (2πr)
- Idea introduced by
- Michael Faraday ("lines of force")
On this page
- What Are Magnetic Field Lines?
- Magnetic Field Lines Explained Simply
- What Are the Rules of Magnetic Field Lines?
- What Do the Field Lines of a Bar Magnet Look Like?
- What Do Magnetic Field Lines Look Like Around a Wire?
- What Is the Field Line Pattern of a Coil or Solenoid?
- How Do Field Lines Show the Strength of a Magnetic Field?
- How Can You See Magnetic Field Lines?
- How Are Magnetic Field Lines Different From Electric Field Lines?
- Who Came Up With the Idea of Field Lines?
- How Can You Practice Drawing Field Lines?
- Common Misconceptions
- Key Facts
- Quiz
- FAQ
What Are Magnetic Field Lines?
A magnetic field fills the space around a magnet or a current, but you cannot see it. Field lines are a drawing tool that makes it visible. Each line is traced so that a tiny compass placed anywhere on it would line up with the line, and an arrow on the line shows the way the compass's north end would point.
The lines carry two pieces of information at once. Their direction at any point is the direction of the field there. Their spacing shows the strength: packed tightly where the field is strong, spread out where it is weak. A single picture can therefore show both what a field does and where it is most intense.
Field lines are a model, not physical strings. The field exists everywhere between the lines too; we just draw a selection of them so the pattern is readable.
Magnetic Field Lines Explained Simply
Imagine scattering a thousand tiny compasses around a magnet. Each one swings until it points along the field. If you join up the needles head to tail, you get smooth curves looping from one end of the magnet to the other. Those curves are the field lines.
Near the ends of the magnet, the needles are pulled hard and the curves bunch up. Far away, the pull is weak and the curves spread out. That is all a field-line picture is: a map that shows which way a compass would point and how hard it would be pulled.
What Are the Rules of Magnetic Field Lines?
- They point from north to south outside a magnet. Inside the magnet they continue from south back to north.
- They always form closed loops. A line never starts or stops in empty space, because no isolated north or south pole has ever been found.
- They never cross. At a crossing point the field would have two directions at once, which is impossible. A compass can only point one way.
- Closer lines mean a stronger field. The number of lines passing through a small area is proportional to the field strength there.
- The field points along the tangent. On a curved line, the direction of the field is the direction of the line at that exact point.
- Parallel, evenly spaced lines mean a uniform field. The field has the same size and direction everywhere in that region.
What Do the Field Lines of a Bar Magnet Look Like?
Around a single bar magnet the lines bulge out of the north pole, sweep around the sides in wide arcs and curve back into the south pole. The pattern is crowded at the two ends and thin along the middle of the sides, which matches the everyday fact that paper clips stick to the poles but barely to the center of the magnet. You can learn more about where this field comes from on our page about how magnets work.
Two magnets change the picture. With opposite poles facing, lines run straight across the gap and the magnets pull together. With like poles facing, the lines from each magnet bend away from each other, and between them is a neutral point where the two fields cancel and a compass would not settle in any particular direction.

What Do Magnetic Field Lines Look Like Around a Wire?
A straight wire carrying current has no poles at all. Its field lines are circles centered on the wire, lying in planes at right angles to it. The right-hand grip rule gives the direction: point your right thumb along the current and your fingers curl the way the field circles.
The circles get farther apart as you move away from the wire, because the field strength falls in proportion to
This formula sets how quickly the circular lines around a long straight wire thin out with distance. Here it is with each symbol and its SI unit.
| Symbol | Quantity | SI unit |
|---|---|---|
| magnetic field magnitude | tesla (T) | |
| permeability of free space (4π × 10⁻⁷ T·m/A (approximately; 1.2566 × 10⁻⁶ T·m/A)) | tesla meter per ampere (T·m/A) | |
| current | ampere (A) | |
| perpendicular distance from the wire | meter (m) |
Rearranged to find another variable:
Valid for: long straight wire; field lines are circles (right-hand rule).
Example 1 How strong is the field one ring out?
A long straight cable carries a steady 12 A. What is the magnetic field strength 3.0 cm (0.030 m) from its center? Use μ0 = 1.25663706127 × 10⁻⁶ T·m/A.
- Given:
- permeability of free space:
- current:
- perpendicular distance from the wire:
- permeability of free space:
- Formula:
- Substitute:
- Answer:
That is stronger than Earth's field at the surface, which is why a compass held this close to a current-carrying cable swings away from north.
| Distance from wire | Field B (T) | Field B (μT) | Compared with 1 cm |
|---|---|---|---|
| 0.5 cm | 4.0 × 10⁻⁴ | 400 | 2× |
| 1 cm | 2.0 × 10⁻⁴ | 200 | 1× |
| 2 cm | 1.0 × 10⁻⁴ | 100 | 0.5× |
| 5 cm | 4.0 × 10⁻⁵ | 40 | 0.2× |
| 10 cm | 2.0 × 10⁻⁵ | 20 | 0.1× |
| 20 cm | 1.0 × 10⁻⁵ | 10 | 0.05× |
| Source: Computed with B = μ0I / (2πr), μ0 from NIST CODATA 2022 · Retrieved October 2026 | |||

What Is the Field Line Pattern of a Coil or Solenoid?
Bend a wire into a loop and the circles from every part of the loop add up in the middle, so the lines pass straight through the center. Stack many loops into a long coil, called a solenoid, and the field inside becomes nearly uniform: straight, parallel, evenly spaced lines running along the axis.
Outside the solenoid the lines spread out and loop back around, giving almost exactly the same pattern as a bar magnet. One end acts as a north pole and the other as a south pole. That similarity is the basis of every electromagnet, which is simply a solenoid wrapped around an iron core.
How Do Field Lines Show the Strength of a Magnetic Field?
The strength of a magnetic field is the number of lines crossing each square meter of area at right angles to them. Physicists turn this picture into a quantity called magnetic flux,
That is why field strength is sometimes called flux density, and why its unit, the tesla, equals one weber per square meter. A loop facing the field square-on catches the most lines. Tilt it and fewer lines pass through, which is the key idea behind every generator and transformer.
Example 2 Counting the field through a small loop
A square loop of wire with an area of 0.0025 m² (5 cm by 5 cm) sits in a uniform 0.40 T field. The field lines make a 60° angle (1.0472 rad) with the loop's normal. What is the magnetic flux through the loop?
- Given:
- magnetic field:
- area:
- angle between B and the normal to the area:
- magnetic field:
- Formula:
- Substitute:
- Answer:
Tilting the loop lets fewer field lines pass through it; at 90 degrees no lines would cross the loop at all and the flux would be zero.
| Source | Typical field | Field lines in a drawing |
|---|---|---|
| Earth's field at the surface | About 25 to 65 μT | Very widely spaced |
| Fridge magnet, at its surface | About 5 mT | Sparse |
| Strong neodymium magnet, at its surface | About 0.5 to 1 T | Dense |
| Hospital MRI scanner | About 1.5 to 3 T | Very dense, uniform |
| Strongest steady lab magnets | About 45 T | Extremely dense |
| Source: Typical approximate values · Retrieved October 2026 | ||
How Can You See Magnetic Field Lines?
The easiest method is iron filings. Lay a sheet of card over a magnet, sprinkle filings on top and tap the card gently. Each filing becomes a tiny magnet, lines up with the field and links with its neighbors into chains that trace out the pattern.
A plotting compass gives the direction as well. Place it near the magnet, mark where the needle points, move the compass to that mark and repeat. Joining the dots builds one field line at a time. Both methods are described step by step in our magnetic field mapping experiment.
On a grand scale, the glowing curtains of the aurora trace field lines high above the poles, where Earth's field guides charged particles from the Sun into the atmosphere. Read more about the Earth's magnetic field.

How Are Magnetic Field Lines Different From Electric Field Lines?
Electric field lines start on positive charges and end on negative charges, so they have loose ends. Magnetic field lines have no ends at all; they always close on themselves. This difference reflects a deep fact: electric charges can exist on their own, but magnetic poles always come in north-south pairs.
Break a bar magnet in half and you do not get a lone north pole. You get two smaller magnets, each with both poles and its own set of closed loops. For a full side-by-side look, see electric field vs magnetic field.
Who Came Up With the Idea of Field Lines?
The English scientist Michael Faraday made field lines central to physics in the 1830s and 1840s. He called them "lines of force" and treated them as something close to real, using them to reason about induction long before the mathematics existed. James Clerk Maxwell later turned Faraday's pictures into the equations of electromagnetism.
The patterns themselves were noticed much earlier. People had sprinkled iron filings around lodestones for centuries, and the curved lines they formed hinted that the space around a magnet had a structure of its own.
How Can You Practice Drawing Field Lines?
Start with a single bar magnet, then two magnets with like and unlike poles facing, then a wire and a coil. Check every drawing against the rules: arrows from north to south, closed loops, no crossings, tighter spacing near poles. Our magnetism worksheets include field-line drawing tasks with answer keys, and the magnetism formula sheet collects the field equations for wires, loops and solenoids.
Common Misconceptions
Myth: Magnetic field lines are real physical objects, like strings.
Physics: They are a drawing convention. The field exists everywhere in the space, including between the lines we choose to draw.
Myth: The field is zero in the gaps between field lines.
Physics: The gaps only mean we did not draw a line there. The field is continuous, and its strength is shown by how close the drawn lines are.
Myth: Field lines start at the north pole and stop at the south pole.
Physics: They continue through the inside of the magnet from south to north, so every line is a closed loop with no start or end.
Myth: A charged particle always moves along a magnetic field line.
Physics: The magnetic force is at right angles to the field, so a charge crossing the lines is pushed sideways and usually spirals around them instead of following them.
Key Facts
- Magnetic field lines show the direction of a magnetic field and, by their spacing, its strength.
- Outside a magnet the lines run from the north pole to the south pole; inside they return from south to north.
- Magnetic field lines always form closed loops because isolated magnetic poles have never been found.
- Field lines never cross, since the field can only have one direction at each point.
- Around a straight wire the lines are circles, and the field falls off as 1/r.
- Inside a long solenoid the lines are straight and evenly spaced, showing a nearly uniform field.
- Michael Faraday introduced field lines, calling them lines of force.
Quick Quiz: How Well Do You Know Magnetic Field Lines?
6 questions. Tap an answer to check it.
Outside a bar magnet, which way do the magnetic field lines point?
Outside the magnet, field lines leave the north pole and enter the south pole.
What does it mean when field lines are drawn close together?
Line density shows field strength, so crowded lines mean a strong field.
Why can two magnetic field lines never cross?
The field at a point has only one direction, so only one line can pass through it.
What shape are the field lines around a long straight wire carrying current?
The field around a straight wire forms concentric circles centered on the wire.
What do field lines inside a long solenoid look like?
The field inside a long solenoid is nearly uniform, so its lines are straight and evenly spaced.
Why are magnetic field lines always closed loops?
With no lone north or south pole to start or end on, every line must loop back on itself.
Frequently Asked Questions
What are magnetic field lines?
Magnetic field lines are imaginary lines drawn to show a magnetic field. At every point, the line points in the direction a compass needle would point, and the spacing of the lines shows how strong the field is. They run from north to south outside a magnet, return through the magnet from south to north, never cross and always form closed loops.
Why do magnetic field lines never cross?
If two lines crossed, the field at that point would have two different directions at once. A compass placed there would have to point two ways, which is impossible. The magnetic field at any single point has exactly one direction, given by adding up the fields of every magnet and current nearby, so only one line can pass through each point.
Do magnetic field lines go from north to south?
Outside a magnet, yes: the lines leave the north pole and enter the south pole. Inside the magnet they continue from the south pole back to the north pole, completing a closed loop. The arrows on a field-line drawing therefore always show the direction a small compass's north end would point at that spot.
What does the spacing of magnetic field lines tell you?
Spacing shows field strength. Where lines are packed close together, such as near the poles of a magnet, the field is strong. Where they are far apart, the field is weak. Strictly, the number of lines crossing a unit area at right angles is proportional to the field strength, which is why the field is also called magnetic flux density.
Why are magnetic field lines closed loops?
Because magnetic poles always come in pairs. Electric field lines can begin on a positive charge and end on a negative one, but no one has ever found a lone north or south magnetic pole for a line to start or end on. Every magnetic field line must therefore loop back on itself, passing through the magnet or around the current that creates it.
What do magnetic field lines look like around a current-carrying wire?
They are circles centered on the wire, in planes at right angles to it. The direction follows the right-hand grip rule: point your right thumb along the current and your fingers curl in the direction of the field. The circles spread farther apart with distance, since the field strength drops in proportion to one over the distance from the wire.
How do you show magnetic field lines with iron filings?
Place a sheet of paper or card over a magnet, sprinkle a thin layer of iron filings on top and tap the sheet gently. Each filing becomes magnetized and lines up with the field, linking with others into chains that follow the field lines. The filings show the pattern but not the direction, so use a small plotting compass to add arrows.
Can magnetic field lines exist inside a magnet?
Yes. Inside a magnet the lines run from the south pole to the north pole, which is what makes every line a closed loop. The field inside a bar magnet is actually strong and fairly uniform. We usually leave these lines out of simple drawings because the magnet is shown as a solid block, but they are there.
Sources
Constants come from NIST CODATA 2022 (public domain) and unit definitions from the BIPM SI Brochure (CC BY 4.0). Text, diagrams and illustrations are original work by Physics Tribune.








