The three-dimensional flow of a viscous fluid induced by an expanding or contracting porous slider under the influence of activation energy with exothermic and endothermic chemical reactions is explored in this study. Moreover, the amount of fluid injected to levitate the slider changes over time according to where it is at any instant. With the aid of similarity variables, the modelling equations relating to the fluid flow are converted into a system of ordinary differential equations. Then, this system of equations is solved numerically with the help of the Runge–Kutta Fehlberg’s fourth fifth-order method (RKF-45). Graphs are used to analyze the impact of the various parameters on the flow, thermal and concentration fields. Results reveal that the velocity profiles get smaller as the wall dilation parameter rises. An anticipated boundary layer development next to the wall results from increased Reynolds number. The temperature profile for an exothermic process has a diminishing influence as the activation energy parameter increases, whereas the opposite consequences are obtained for an endothermic reaction. For an exothermic reaction, the temperature profile rises as the chemical reaction parameter values increase. However, the opposite consequences can be seen for an endothermic reaction.