This research mainly focuses on the effects of heat absorption/generation and radiation on the hydromagnetic flow of Fe3O4-ethylene glycol nanofluid through a shrinking wall with porous medium and the computation of the entropy generation. We considered basic governing ordinary differential equations into partial differential equations by using appropriate similarity solutions. Moreover, hyper geometric function is employing to determine the formulated problem. We analyze the effects of appropriate physical parameters on the Bejan number, Entropy generation, Nussult number, skin friction, fluid temperature and velocity profiles. In addition, the derived result of the present study is compared with those in the existing literature. We noted that the presence of heat absorption and suction parameters reduces the Bejan number and increases the entropy generation, and the heat source, porous medium, radiation parameters minimize the entropy production. The presence of porosity parameter reduced the fluid velocity, improved fluid temperature and minimized the entopy production. Nanosolid volume fraction parameter reduced both Nussult number and skin friction coefficient.