A magnetic field measuring apparatus includes a cell array including a plurality of cells each accommodating a medium that changes the polarization rotation angle of laser light incident on the medium in accordance with the intensity of a magnetic field, alight source that emits the laser light, and shielding members with which the cells are provided.