Enhancement of heat transfer is investigated in an experimental study of ferrofluid flow in a tube subjected to a constant and uniform heat flux on its wall, filled with permeable material under the effect of magnetic field. Effect of ferrofluid volume fraction, Reynolds number, and different frequencies of various magnetic field modes on heat transfer is examined by measuring the temperature on the wall. Using ferrofluid under the effect of magnetic field improves the heat transfer, and porous media makes the temperature distribution more uniform. Volumetric percentage of nano-particles has the greatest effect on the heat transfer.