On our home planet, we are accustomed to using many tools that work in an obvious way. In space or other space objects, things can operate in unexpected ways. Does a compass work on the moon?
On the Moon, there is no global magnetic field, so the traditional magnetic compass will not work. It would be more accurate to say that it will not work properly.
There is no global magnetic field on the Moon; therefore, an average Earth compass would be useless there, as the arrow has nothing to navigate. Instead, the Moon has small, localized magnetic fields in certain regions. Consequently, while a compass will work, it will be effectively meaningless since it will point in different directions depending on your location.
Compasses, as we commonly know them, rely on the Earth's magnetic field to function properly. The Earth's magnetic field acts as a guide, aligning the compass needle with the north-south direction. However, the Moon does not possess a strong enough global magnetic field like the Earth does.
Given these circumstances, a traditional compass designed to work on Earth would not be reliable or accurate on the Moon. Without a strong and consistent magnetic field to interact with, a compass would not provide reliable directional information. Therefore, alternative navigation methods would need to be employed for orientation and direction-finding on the Moon.
References: Links and sources