During the last two centuries, the North American common ragweed (Ambrosia artemisiifolia L.) invaded a large part of the globe. Local adaptation of this species was revealed by a common garden experiment, demonstrating that the distribution of the species in Europe could extend considerably to the North. Our study compares two populations of common ragweed (one from the native range and one from the invaded range) that differ in flowering time in the wild: the invasive population flowers earlier than the native population under non-inductive long-day photoperiods. Experiments conducted in controlled environments established that the two populations differ in their flowering time even under inductive short-day photoperiods, suggesting a change in autonomous flowering control. Genetic analysis revealed that early flowering is dominantly inherited and accompanied by the increased expression of the floral activator AaFTL1 and decreased expression of the floral repressor AaFTL2. Early flowering is also accompanied by reduced reproductive output, which is evolutionarily disadvantageous under long vegetation periods. In contrast, under short vegetation periods, only early-flowering plants can produce any viable seeds, making the higher seed set of late-flowering plants irrelevant. Thus, earlier flowering appears to be a specific adaptation to the higher latitudes of northern Europe.