This study explores the dynamics of unsteady magnetohydrodynamics (MHD) parabolic flow along an infinite vertical plate, emphasizing the effects of thermal and mass stratification in a porous medium subjected to periodic temperature variation and exponential mass diffusion. Utilizing the Laplace transform technique to obtain precise solutions, this study effectively integrates the impacts of both thermal and mass stratification without dependence on approximations. The main goal is to assess how thermal and mass stratification impact MHD flow dynamics, temperature, and concentration profiles under varying conditions. The study provides a thorough comparison of these findings with traditional nonstratified scenarios, presenting a comprehensive analysis of fluid behavior under diverse conditions. The conclusions reveal that thermal and mass stratifications considerably diminish velocity and stabilize temperature distributions, which suggests a damping influence on fluid movement and improved management of diffusion processes. Enhanced Grashof numbers improve heat and mass transfer efficiency, while magnetic and Darcy parameters significantly influence flow resistance and heat transfer characteristics. These conditions also result in higher Nusselt and Sherwood numbers, indicating increased efficiency in heat and mass transfer. In contrast, scenarios without stratification display higher velocities and more unstable temperature and concentration profiles. The findings highlight the critical role of stratification in improving fluid dynamics and increasing the efficiency of heat and mass transfer processes, offering valuable insights for engineering and environmental applications in similar conditions. The main novelty of the research is being the first to use the Laplace transform for exact solutions on combined thermal and mass stratification in MHD flows, enhancing prediction accuracy and process control.