A compass needle gets deflected near a bar magnet because the compass needle itself is a tiny magnet, and it is forced to align with the magnetic field of the bar magnet instead of just Earth’s field.

Quick Scoop: Why does a compass needle get deflected when brought near a

bar magnet?

One-line idea

The bar magnet’s magnetic field pulls and pushes on the compass needle (which is also a magnet), so the needle turns to line up with the stronger nearby field instead of pointing to north.

What is a compass needle, really?

  • The compass needle is a small, lightweight bar magnet that can freely rotate.
  • Normally, far from other magnets, it aligns with Earth’s magnetic field and points approximately north–south.

Think of it as a tiny magnet on a pivot that is always “trying” to line up with whichever magnetic field around it is strongest.

What happens when you bring a bar magnet close?

When you bring a bar magnet near the compass:

  • The bar magnet creates a magnetic field in the space around it.
  • This field exerts a magnetic force on the compass needle’s poles:
    • Unlike poles (N–S) attract.
    • Like poles (N–N or S–S) repel.
  • Because of these forces, the needle turns until it comes to rest along the net magnetic field (Earth’s field plus the bar magnet’s field).

So, the closer the magnet is, the stronger its field compared to Earth’s, and the larger the deflection of the needle.

A simple mental picture

Imagine:

The compass needle is like a tiny dancer who always faces the “wind” of magnetic field lines.
Earth gives a gentle, steady wind, but when you bring a bar magnet close, it’s like turning on a strong fan from the side, so the dancer turns to face the new wind.

That “turning to face the new wind” is the deflection you see.

Key points in bullet form

  • A compass needle is a small bar magnet.
  • A bar magnet produces a magnetic field around it.
  • Near the bar magnet, its field is stronger than Earth’s local field.
  • The magnet’s field exerts forces on the compass needle’s poles (attraction and repulsion).
  • The needle rotates and settles along the direction of the net magnetic field, so it looks “deflected” from its usual north–south direction.

Extra angle: Why this matters today

This same idea explains:

  • Why compasses misbehave near phones, speakers, or electric wires (they create magnetic fields too).
  • Why navigation apps warn you to keep magnets and metal objects away when calibrating the compass.

SEO-style meta description

A clear, student-friendly explanation of “why does a compass needle get deflected when brought near a bar magnet?” covering how the needle is a tiny magnet, how the bar magnet’s field acts on it, and why it no longer points simply north.

Bottom note:
Information gathered from public forums or data available on the internet and portrayed here.