In terrestrial plants the segregation of male and female reproductions on different individuals results in the seed-shadow handicap: males do not disperse any seed so that the number of local patches reached by seeds is potentially reduced in dioecious populations in comparison to hermaphrodite populations. An analytical model, incorporating a lottery-based recruitment and dispersal stochasticity, was built. The spatially mediated cost of the seed-shadow handicap has been assessed considering the criterions for the invasion of a resident hermaphrodite species by a dioecious species and the reverse invasion, both species having the same demographic parameters but assuming a likely higher fecundity for dioecious females. The reciprocal invasion of a dioecious and hermaphrodite species differing only by their fecundity is never possible. The seed-shadow handicap disappears when the dispersal or survival rate is high enough. This latter point is due to dispersal stochasticity, which allows for the existence of empty patches. A low fecundity and an aggregated seed distribution increase dispersal stochasticity and increase the positive impact of a low mortality rate on the relative competitivity of dioecy and hermaphroditism. Adding a dispersal cost has a comparable effect but also requires higher dispersal rates for the dioecious invasion.