Extra-group paternity (EGP) occurs commonly among group-living mammals and plays an important role in mating systems and the dynamics of sexual selection; however, socio-ecological and genetic correlates of EGP have been underexplored. We use 23years of demographic and genetic data from a high-density European badger (Meles meles) population, to investigate the relationship between the rate of EGP in litters and mate availability, mate incompatibility and mate quality (heterozygosity). Relatedness between within-group assigned mothers and candidate fathers had a negative quadratic effect on EGP, whereas the number of neighbouring-group candidate fathers had a linear positive effect. We detected no effect of mean or maximum heterozygosity of...