Previous research has demonstrated stability of cognitive ability and marked heritability during adulthood, but questions remain about the extent to which genetic factors account for this stability. We conducted a 35-year longitudinal assessment of general cognitive ability using the Armed Forces Qualification Test administered to 7,232 male twins in early adulthood and readministered to a subset of 1,237 twins during late middle age. The proportion of variance in cognitive functioning explained by genetic factors was.49 in young adulthood and.57 in late middle age. The correlation between the two administrations was.74 with a genetic correlation of 1.0, indicating that the same genetic influences operated at both times. Genetic factors were primarily responsible for stability, and nonshared environmental factors were primarily responsible for change. The genetic factors influencing cognition may change across other eras, but the same genetic influences are operating from early adulthood to late middle age.