According to one embodiment, a magnetic resonance imaging apparatus includes an acquiring unit and a generating unit. The acquiring unit performs compensation of a control waveform of a radio-frequency wave based on &ldquoan output waveform of a radio-frequency wave from an amplifier before the compensation&rdquo so that an intended output waveform of a radio-frequency wave for generating a spatially non-selective radio-frequency magnetic field is outputted from the amplifier, and acquires a magnetic resonance signal using the control waveform of a radio-frequency wave after the compensation. The generating unit generates image data based on the magnetic resonance signal.