There is a growing interest in how social conditions moderate genetic influences on education [gene–environment interactions (GxE)]. Previous research has focused on the family, specifically parents’ social background, and has neglected the institutional environment. To assess the impact of macro-level influences, we compare genetic influences on educational achievement and their social stratification across Germany, Norway, Sweden, and the United States. We combine well-established GxE-conceptualizations with the comparative stratification literature and propose that educational systems and welfare-state regimes affect the realization of genetic potential. We analyse population-representative survey data on twins (Germany and the United States) and twin registers (Norway and Sweden), and estimate genetically sensitive variance decomposition models. Our comparative design yields three main findings. First, Germany stands out with comparatively weak genetic influences on educational achievement suggesting that early tracking limits the realization thereof. Second, in the United States genetic influences are comparatively strong and similar in size compared to the Nordic countries. Third, in Sweden genetic influences are stronger among disadvantaged families supporting the expectation that challenging and uncertain circumstances promote genetic expression. This ideosyncratic finding must be related to features of Swedish social institutions or welfare-state arrangements that are not found in otherwise similar countries.