This study aimed to evaluate adult emergence and duration of the pupal stage of the Mediterranean fruit fly, Ceratitis capitata (Wiedemann), and emergence of the fruit fly parasitoid, Diachasmimorpha longicaudata (Ashmead), under different moisture conditions in four soil types, using soil water matric potential. Pupal stage duration in C. capitata was influenced differently for males and females. In females, only soil type affected pupal stage duration, which was longer in a clay soil. In males, pupal stage duration was individually influenced by moisture and soil type, with a reduction in pupal stage duration in a heavy clay soil and in a sandy clay, with longer duration in the clay soil. As matric potential decreased, duration of the pupal stage of C. capitata males increased, regardless of soil type. C. capitata emergence was affected by moisture, regardless of soil type, and was higher in drier soils. The emergence of D. longicaudata adults was individually influenced by soil type and moisture factors, and the number of emerged D. longicaudata adults was three times higher in sandy loam and lower in a heavy clay soil. Always, the number of emerged adults was higher at higher moisture conditions. C. capitata and D. longicaudata pupal development was affected by moisture and soil type, which may facilitate pest sampling and allow release areas for the parasitoid to be defined under field conditions.