Reactivity dynamics and stability of a confined hydrogen molecule in presence of an external magnetic field has been studied using quantum fluid density functional theory. Dynamic profiles of various reactivity parameters such as hardness, electrophilicity, magnetizability, phase volume, entropy, etc. have been studied within a confined environment. Responses in the reactivity parameters as well as the associated electronic structure principles validate the stability of the confined H2 molecule in ground and excited states in presence of an external magnetic field. Confinement to the system has been imposed by the Dirichlet type boundary condition. Confinement and excitation act in opposite directions. Ground state type dynamics is obtained on simultaneous electronic excitation and confinement. © 2014 Wiley Periodicals, Inc.