As coal resource development progresses deeper underground, the increasing depth of mine shafts poses significant challenges to the safety and stability of traditional shaft construction methods, further compounding operational difficulties. In this context, cast-in-situ concrete shaft walls in a slurry environment have emerged as an effective solution. The strength of these shaft walls is a crucial parameter for assessing their safety. To explore this, experiments were conducted on slurry preparation and mortar casting (used here as a substitute for concrete) under three different conditions: slurry environment, pure water environment, and dry environment. The cast specimens underwent compressive, tensile, shear, and microscopic observation tests to analyze the strength development patterns of the mortar specimens in these varied casting environments. The study yielded several key findings: As the casting environment becomes more complex, the strength of the mortar specimens gradually decreases. Specifically, specimens cast in a slurry environment exhibit strengths approximately 15% to 20% lower than those cast in a dry environment, although both environments show similar trends in strength development over time. Across all casting environments, the initial strength loss of the specimens is significant, while the rate of strength loss decreases in the later stages; the strength loss is minimal in specimens cast in a pure water environment and reaches its maximum in those cast in a slurry environment. Additionally, in specimens cast in a slurry environment, air void diameter tends to polarize, and the distribution of air void is denser compared to the other two environments. In conclusion, cast-in-situ mortar in a slurry environment exhibits the lowest strength and the greatest strength loss compared to specimens cast in dry and pure water environments. Nonetheless, the strength development trends over time remain similar across all conditions, providing theoretical and technical support for the construction of shaft walls in slurry environments.