A method and apparatus for generating a localized heating are provided, the method comprising: transmitting a spatially localized or shaped electromagnetic field via a plurality of coils to a subject and generating magnetic resonance signals performing magnetic resonance imaging based on the magnetic resonance signals to generate an image of a region of interest of the subject and controlling the plurality of the same imaging coils to radiate radio frequency (rf) energy to generate the localized heating on a region of interest. The invention provide a more efficient manner for generating localized heating and means for verifying the heating pattern without the need to measure temperature rises in the patient. This is useful to check the localization prior to the application of hyperthermia.