We investigate the Friedmann–Lemaitre–Robertson–Walker cosmological models within the framework of Rastall gravity incorporating particle creation. The modified field equations for Rastall gravity are derived and exact solutions are obtained under various choices of scale factors. The qualitative behaviour of our solutions depends on the Rastall coupling parameter ψ=kλ. Following the literature, we have restricted the Rastall coupling parameter ψ(k=1) to the range −0.0001 < ψ < 0.0007 at 68% CL from CMB+BAO data. Further, we have discussed the distinct physical behaviour of the derived models in detail.