Kin selection and dispersal play a critical role in the evolution of cooperative breeding systems. Limited dispersal increases relatedness in spatially structured populations (population viscosity), with the result that neighbours tend to be genealogical relatives. Yet the increase in neighbours' fitness-related performance through altruistic interaction may also result in habitat saturation and thus exacerbate local competition between kin. Our goal was to detect the footprint of kin selection and competition by examining the spatial structure of relatedness and by comparing non-effective and effective dispersal in a population of a lekking bird, Tetrao urogallus. For this purpose, we analysed capture-recapture and genetic data collected over a 6-year period on a spatially structured population of T. urogallus in France. Our findings revealed a strong spatial structure of relatedness in males. They also indicated that the population viscosity could allow male cooperation through two non-exclusive mechanisms. First, at their first lek attendance, males aggregate in a lek composed of relatives. Second, the distance corresponding to non-effective dispersal dramatically outweighed effective dispersal distance, which suggests that dispersers incur high post-settlement costs. These two mechanisms result in strong population genetic structuring in males. In females, our findings revealed a lower level of spatial structure of relatedness and genetic structure in respect to males. Additionally, non-effective dispersal and effective dispersal distances in females were highly similar, which suggests limited post-settlement costs. These results indicate that kin-dependent dispersal decisions and costs have a genetic footprint in wild populations and are factors that may be involved in the evolution of cooperative courtship.