There is a canonical life-history trade-off between quantity and quality of offspring, but molecular determinants for this are unknown. Here, we show that knockout of tumor necrosis factor (TNF-KO) in mice switched a relation between the number and size of developing embryos from expectedly negative to unexpectedly positive. Depletion of TNFα imbalanced humoral and trophic maintenance of embryo growth during gestation with respect to the litter size. The levels of embryotrophic GM-CSF cytokine and placental efficiency attained positive correlations with the number and size of embryos in TNF-KO females. Thus, TNFα oversees mother's resource allocations to balance embryo growth with the number of offspring. Consequently, this suggests an intricate link between the number-size trade-off and immunity given a pivotal role of TNFα in immune homeostasis.