The needle of a compass is a small magnet that responds to the Earth’s magnetic field. The Earth’s magnetic field shifts over long timespans, and Earth’s current geographic North Pole is actually associated with its south magnetic pole. So the north pole of a compass needle will point toward the Earth’s geographic North Pole.