Magnetic fields cannot be blocked; they can only be redirected. The only materials that redirect magnetic fields are ferromagnetic materials (attracted to magnets) such as iron, steel (containing iron), cobalt, and nickel. The degree of redirection is proportional to the permeability of the material.