Correlations between the earnings of siblings reflect shared family and community background, but evidence is mixed on the relative magnitudes of these influences. Using administrative data on the Danish population we link brothers, schoolmates and teenage neighbors and estimate a model of multiple group earnings dynamics to measure jointly the relative importance of family, neighborhoods and schools for long-term earnings. We find that: (1) family is by far the most relevant factor; (2) the influence of neighborhoods and schools falls rapidly, becoming insignificant by age 30; and (3) community effects are persistent and upward biased by a factor of five if family effects are ignored.