This paper has dealt with a tracking control problem for a class of unstable reaction–diffusion system with time delay. Iterative learning algorithms are introduced to make the infinite-dimensional repetitive motion system track the desired trajectory. A new Lyapunov–Krasovskii functional is constructed to deal with the time-delay system. Picewise distribution functions are applied in this paper to perform piecewise control operations. By using Poincaré–Wirtinger inequality, Cauchy–Schwartz inequality for integrals and Young’s inequality, the convergence of the system with time delay using iterative learning schemes is proved. Numerical simulation results have verified the effectiveness of the proposed method.