A magnetic shielding device includes: a passive shield having an inner space a first coil that cancels a magnetic field entering in the inner space a first magnetic sensor that measures the magnetic field entering in the inner space a second magnetic sensor located in a position farther from the first coil than the first magnetic sensor and a controller that controls the first coil so that a gradient between a first magnetic field measured by the first magnetic sensor and a second magnetic field measured by the second magnetic sensor be less than a predetermined threshold.