Analytical solution of flow of viscous incompressible fluid past a hot vertical porous wall in the presence of transverse magnetic field with periodic temperature is discussed by using regular perturbation and Homotopy Perturbation Method. The effect of various physical parameters on velocity and temperature of fluid are calculated numerically and are shown through the graphs. The numerical values of the skin friction and Nusselt number are calculated for various physical parameters.