In this work we study the contribution of magnetic fields to the Sunyaev Zeldovich (SZ) effect in the intracluster medium.In particular we calculate the SZ angular powervspectrum and the central temperature decrement. The effect of magnetic fields is included in the hydrostatic equilibrium equation by splitting the Lorentz force into two terms – one being the force due to magnetic pressure which acts outwards and the other being magnetic tension which acts inwards.