In-group favoritism has often been conceptualized as the flip side of out-group derogation. Whereas research has dissociated these attitudes at the phenotypic level, it is currently unknown whether such dissociation is also evident at the biological level. Here, using an adult German twin sample, which provided ratings on patriotism, nationalism, and prejudice, we tested whether common or distinct heritable influences best explained variation in in-group love and out-group derogation. Results indicated that independent genetic effects accounted for individual differences in in-group love (i.e., patriotism) and out-group derogation (i.e., prejudice). In addition, we observed that nationalism showed common genetic links to both patriotism and prejudice, albeit through distinct pathways. These findings suggest that in-group sentiment is complex at the genetic level as well as at the behavioral level. Future work is recommended to further delineate the specific biological processes underlying these heritable effects.