PurposeTo amend the efficiency of engineering processes and electronic devices, it is very urgent to assess the irreversibility in the term entropy generation (EG). The efficiency of energy transportation in a system can be improved by minimization of the rate of EG. In this context, the aim of the present study is to estimate irreversible losses of an unsteady magnetohydrodynamic (MHD) flow of a viscous incompressible electrically conducting non-Newtonian molybdenum disulfide-polyethylene glycol Casson nanofluid past a moving vertical plate with slip condition under the influence of Hall current, thermal radiation, internal heat generation/absorption and first-order chemical reaction. Molybdenum disulfide (MoS2) nanoparticles are dispersed in the base fluid polyethylene glycol (PEG) to make Casson nanofluid. Casson fluid model is considered to characterize the rheology of the non-Newtonian fluid, whereas Rosseland approximation is adopted to simulate the thermal radiative heat flux in the energy equation.Design/methodology/approachThe closed-form solutions are obtained for the model equations by using the Laplace transform method (LTM). Graphs and tables are prepared to examine the impact of pertinent flow parameters on the pertinent flow characteristics. The energy efficiency of the system via the Bejan number is studied extensively.FindingsAnalysis reveals that Hall current has diminishing behavior on entropy production of the thermal system. Strengthening of the magnetic field declines the velocity components and prop-ups the rate of EG. Adding nanoparticles into the base fluid reduces the EG, whereas there are an optimum volume fraction of nanoparticles for which the EG is minimized. Further, the rate of decay of EG is prominent in molybdenum disulfide-polyethylene glycol in comparison to PEG.Practical implicationsThe results of this study would benefit the industrial sector in achieving the maximum heat transfer at the cost of minimum irreversibilities with an optimal choice of embedded thermophysical parameters. In view of this agenda, this study would be adjuvant in powder technology, polymer dynamics, metallurgical process, manufacturing dynamics of nano-polymers, petroleum industries, chemical industries, magnetic field control of material processing, synthesis of smart polymers, etc.Originality/valueThe novelty of this study is to encompass the analytical solution by using the LTM. Such an exact solution of non-Newtonian fluid flow is rare in the literature. Limited research articles are available in the field of EG analysis during the flow of non-Newtonian nanoliquid subject to a strong magnetic field.