Shear wave elastography (SWE) is an innovative method that allows for the nondestructive and quantitative characterization of muscular mechanical properties. This method finds extensive utility in fields such as sports medicine, sports rehabilitation, and the diagnosis of muscle-related ailments. Existing studies have demonstrated the promise of SWE in probing intramuscular pressure (IMP), a factor intimately tied to muscular physiological functions and the onset of certain diseases. Nonetheless, there remains a lack of a SWE method grounded in an appropriate biomechanical model capable of effectively imaging IMP in vivo. Addressing this issue, we propose a shear wave imaging method relaying on a porohyperelastic model encompassing well-defined parameters for both muscular active behavior and intramuscular pressure. Drawing upon wave motion analysis, we establish a correlation between shear wave velocities and IMP in analytical form. This theoretical solution on one hand help understand the interplay between IMP and muscle active stress and the impact of muscle contraction on IMP. On the other hand, it enables us to develop an elastography method to assess IMP in vivo. We conducted a series of experiments to underscore the applicability of our theory and elastography method. Ex vivo experiments were performed on porcine muscles, while in vivo tests were carried out on human skeletal muscles. The results from the ex vivo tests validate the efficacy of our method. Meanwhile, the in vivo outcomes suggest that our approach holds potential to assess the variation of IMP with muscle fatigue and injuries, inspect intramuscular injections, and diagnose acute and chronic compartment syndrome.