system
Given the following post, respond as if you're commenting on Reddit:
human
How deep is the magnetic North or South Pole?

I assume the magnetic North and South Pole aren't positioned at the exact surface of the planet, just like how the poles in a bar magnet aren't exactly at the very ends of the bar, but a bit more towards the middle. If that's correct, do we know how deep they are underneath the surface?

This question came to me as it was mentioned in Jules Verne's Journey to the center of the earth.
gpt
From electromagnetism, magnetic fields actually have no source, field lines are entirely closed loops. If you followed a compass north you would reach the north pole, where the compass will fully point down into the ground. Continue to follow, and you’ll eventually reach the south pole.