In this paper, the pulsating flow and forced convection heat transfer in a pipe filled with porous medium is investigated. The pipe is under a constant heat flux. The governing equations of the problem includes continuity, Brinkman momentum equation and energy equation. Using complex analysis technique, an analytical solution for velocity profile and temperature distribution are obtained. Also, the effect of various design parameters on velocity profile and temperature distribution is studied. Results show that the pulsating effect on velocity and temperature profile increases with the increase of Darcy number and dimensionless amplitude of pressure gradient but decreases with the increase of viscosity ratio parameter, Prandtl number and dimensionless frequency. For high dimensionless frequency (Ω>30), the maximum velocity and temperature tend to be constant due to the decrease in wave amplitude.