Approximate analytic solutions of time–space fractional heat and wave equations are described. A new algorithm of Residual power series technique is introduced to obtain approximate solutions of such problems. The solution was obtained without reducing fractional differential equations to time fractional or space fractional differential equations. Some interesting results are presented to verify the efficiency and reliability of the developed algorithm.