A model of gene flow and selection in two linked loci is analyzed. The problems considered are the effects of linkage on the clines in frequencies at the two loci and the role of gene flow in producing linkage disequilibrium between the loci. Also, the possible significance of linkage as a mechanism for permitting a population of "track" spatial changes in the environment is considered. The results are that when the recombination fraction between the loci is of the same order of magnitude as the selection coefficients or smaller, then linkage is important in determining the gene frequencies and a substantial amount of linkage disequilibrium is present in the cline. Depending on the spatial pattern of selection on the two loci, linkage can either decrease or increase a population’s response to local selection.