Voids are comment defects generated during the manufacturing process and highly sensitive to moisture in the hygrothermal environment, which has deleterious effects on the mechanical performances. However, the combined impact of void content and water-absorbed content on mechanical properties is not clear. Based on the random sequential adsorption algorithm, a microscale unit cell with random distribution of fibers, interfaces and voids was established. The quantitative effects of voids content on strength and modulus under the loading of transverse tension, compression and shear were investigated by introducing a degradation factor dependent on water content into the constitutive model, and the different failure mechanisms before and after hygrothermal aging were revealed. Conclusively, before hygrothermal aging, voids induce the decrease in mechanical properties due to stress concentration, and every 1% increase in the void content results in a 6.4% decrease in transverse tensile strength. However, matrix degradation due to the absorbed water content after hygrothermal aging is the dominant factor, and the corresponding rate is 3.86%.