In this article, a diffusion component in an SIR model is introduced, and its impact is analyzed using fractional calculus. We have included the diffusion component in the SIR model. in order to illustrate the variations. Here, we have applied the general fractional derivative to analyze the impact. The Laplace decomposition technique is employed to obtain the numerical outcomes of the model. In order to observe the effect of the diffusion component in the SIR model, graphical solutions are also displayed.