Evolution

Fitness Landscape

Peaks and valleys of survival

A fitness landscape is a map that assigns a fitness value — expected reproductive success — to every possible genotype, drawn as a terrain whose horizontal axes are genetic space and whose height is fitness. Evolution moves a population across this surface, climbing uphill toward adaptive peaks. Introduced by Sewall Wright in 1932, the picture explains a deep puzzle: because natural selection only goes uphill, a population can become trapped on a local optimum — a peak lower than the best solution available — separated from it by a valley selection refuses to cross.

  • Introduced bySewall Wright, 1932
  • AxesGenotype space (horizontal), fitness (height)
  • Core dynamicHill climbing toward adaptive peaks
  • Key trapLocal optimum across a fitness valley
  • Ruggedness driverEpistasis between mutations
  • Measured example18 of 120 paths to β-lactam resistance accessible

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

From Darwin's hills to Wright's map

Charles Darwin gave us the engine of evolution — heritable variation plus differential reproduction. But the engine alone does not tell you where evolution can reach. In 1932, the population geneticist Sewall Wright supplied the missing map. He asked you to imagine the entire space of possible genotypes spread out on a horizontal plane, and to lift each point to a height equal to its fitness. The result is a surface — Wright's "surface of selective value," what we now call the fitness landscape. Selection becomes a simple rule on this terrain: populations roll, or rather climb, uphill.

The power of the picture is that it makes evolution visual and intuitive. A smooth single-peaked landscape is a paradise: wherever a population starts, selection walks it steadily to the one best genotype. But real biology is rarely so kind. When the fitness of one mutation depends on the genetic background it lands in — a phenomenon called epistasis — the surface buckles into a range of peaks and valleys. And on a many-peaked, rugged landscape, the uphill rule that normally helps a population becomes a trap. You can climb to the top of the nearest hill and find yourself stranded, with a far higher summit visible across a valley you can never descend into.

Wright meant the landscape literally as a tool for thinking about populations, not single organisms. A point on the surface is best read as the average genotype of a whole population, and the population is a cloud of points that, under mutation and recombination, constantly samples its immediate neighborhood. Selection biases which of those neighbors leave descendants. The result is an adaptive walk: a trajectory of small, mostly uphill steps through genotype space.

What the axes actually mean

The vertical axis is the easy one: it is fitness, usually the expected number of surviving offspring relative to competitors, sometimes the intrinsic growth rate r of a lineage or a directly measured selection coefficient s. A genotype with relative fitness 1.05 leaves 5% more descendants per generation than the reference; over 100 generations that 5% edge compounds to a more-than-hundredfold advantage. Small slopes on the landscape translate into enormous changes in frequency given enough time.

The horizontal axes are where the metaphor strains, because genotype space is not two-dimensional. A genome of just 100 biallelic sites already has 2100 ≈ 1.3 × 1030 possible states, each a "point" with its own set of immediate neighbors (the genotypes one mutation away). We draw two axes because that is all a page or a screen can show; the true object is a high-dimensional graph, and many of its most important properties — like how easy it is to route around a valley — exist only because there are so many dimensions to move in. High dimensionality is a friend: a valley that walls you off in two dimensions often has a flat or uphill detour through some third, fourth, or thousandth axis.

Peaks, valleys, and the problem of local optima

An adaptive peak is a genotype fitter than every one of its single-mutation neighbors. The global optimum is the single tallest peak in the whole landscape — the best solution evolution could possibly find. A local optimum is any other peak: a genotype that still beats all its neighbors, so selection will not move off it, but that sits below the global summit.

The trouble is that natural selection is a strict hill-climbing algorithm with no foresight. It evaluates only immediate neighbors and always favors the fitter one. It cannot accept a temporary loss of fitness today in exchange for a larger gain three mutations later, because every individual is judged on its present reproductive success. So when a population reaches a local peak, it is genuinely stuck: every accessible step is downhill, and selection opposes each one. To reach the global optimum it would have to descend into a fitness valley of low-fitness intermediates — exactly the move selection forbids. This is why evolution produces structures that look like clumsy compromises: the recurrent laryngeal nerve looping under the aorta, the vertebrate eye's inside-out retina, the panda's "thumb." Each is a local peak that was easy to climb, not the global optimum an engineer would have chosen.

How lineages escape a peak

If selection alone can never go downhill, how does life ever leave a local optimum for something better? Four mechanisms break the deadlock, and they are the heart of why fitness landscapes are interesting rather than depressing.

  • Genetic drift. In a small population, chance can fix a mildly deleterious intermediate that selection would have weeded out in a large one. A few unlucky deaths or lucky reproductions let the population stumble partway down a valley by accident. This is the engine of Wright's shifting balance theory: a species subdivided into many small demes can have one deme drift across a valley and then climb a new, higher peak, exporting its superior genotype to the rest.
  • Recombination. Sex shuffles mutations between individuals. Two beneficial changes that are each useless or harmful alone but excellent together can be brought into one genome in a single recombination event, letting a sexual population leap a valley that an asexual one would have to cross step by step.
  • A moving landscape. The surface is not fixed. When the environment changes — a new predator, a drug, a climate shift — fitnesses change, and a valley can rise into a slope while an old peak collapses. Antibiotic resistance is exactly this: the drug reshapes the bacterial landscape so that a once-mediocre genotype becomes the new summit.
  • Neutral networks. Many genotypes have identical or near-identical fitness, forming flat "ridges" through the landscape. A population can wander along such a ridge by drift, neither gaining nor losing fitness, until it arrives at the foot of a higher peak it could never have reached by climbing. RNA and protein folding studies show these neutral networks are vast and interconnected.

Ruggedness and the NK model

How peaky a landscape is depends entirely on epistasis. With no epistasis — every mutation's effect simply adds up regardless of background — the landscape is a single smooth dome, the picture R. A. Fisher favored in his geometric model. With strong epistasis the dome shatters into a mountain range. Stuart Kauffman formalized this in the 1980s with the NK model, where N is the number of genes and K is the number of other genes each gene interacts with. Tuning K dials ruggedness from a single smooth peak to a maximally jagged surface, and the number of local optima explodes accordingly.

Smooth versus rugged fitness landscapes
PropertySmooth landscape (low epistasis)Rugged landscape (high epistasis)
Number of peaksOne (global only)Many local optima, often exponentially many
NK parameterK = 0Large K (up to N−1)
Outcome of hill climbingAlways reaches the global optimumUsually trapped on a nearby local optimum
Effect of starting pointIrrelevant — all roads lead upDecisive — the start determines the peak
Predictability of evolutionHigh; repeatableLow; historically contingent
Role of drift / recombinationMinorEssential for finding better peaks
Biological analogueFisher's geometric modelKauffman's NK model, empirical protein landscapes

Landscapes you can actually measure

For decades the fitness landscape was pure theory. Now it is an experimental object. Because synthesizing DNA is cheap, biologists can build every combination of a handful of mutations and measure each variant's fitness directly. Daniel Weinreich's landmark 2006 study did this for five mutations in the bacterial enzyme β-lactamase that together raise resistance to the antibiotic cefotaxime roughly 100,000-fold. There are 5! = 120 possible orders in which those five mutations could accumulate, but because several intermediates are less fit than their predecessors, Weinreich found that only 18 of the 120 paths are monotonically uphill and therefore accessible to selection. Evolution toward resistance is far more constrained — and more repeatable — than the raw number of genotypes suggests.

The same approach has mapped RNA-binding sites, viral surface proteins, and Richard Lenski's decades-long E. coli long-term evolution experiment, where 12 populations have climbed their landscapes in parallel for more than 75,000 generations. They converge on similar adaptations again and again — strong evidence that the local landscape funnels them toward the same few accessible peaks — while occasionally one population unlocks a rare innovation (the famous citrate-using mutant) that the others never found, a vivid demonstration of historical contingency built into the surface.

Why it matters beyond evolution

The fitness landscape is one of biology's most exported ideas. In medicine it frames the fight against drug resistance and cancer: a tumor or a pathogen population is climbing its own landscape, and "evolutionary steering" or "collateral sensitivity" therapies try to deliberately push it toward a peak where a second drug is lethal. In protein engineering, directed evolution is literally a guided adaptive walk, and knowing the landscape's ruggedness tells you whether random mutagenesis will work or whether you must recombine. The concept even crossed into computer science, where simulated annealing and genetic algorithms are explicit machines for escaping local optima — the same problem, borrowed straight from Wright. Wherever a system improves by small steps and can get stuck short of the best answer, the fitness landscape is the right map to draw.

Frequently asked questions

What is a fitness landscape?

A fitness landscape is a map that links every possible genotype (or phenotype) to its fitness — its expected reproductive success. Picture a 3D terrain: the horizontal axes are genetic or trait space, and the height of each point is fitness. Populations move across this surface and tend to climb uphill toward peaks of high fitness. Sewall Wright introduced the idea in 1932 to visualize how mutation, selection, and drift interact.

What is an adaptive peak versus a local optimum?

An adaptive peak is any genotype that has higher fitness than all of its immediate genetic neighbors — a high point on the surface. The global optimum is the single highest peak in the whole landscape. A local optimum is a lower peak: still higher than everything around it, so selection won't leave it, but lower than the global peak. A population that climbs a local optimum can become stranded there because escaping requires crossing a fitness valley.

Why can a population get stuck on a local optimum?

Natural selection only moves populations uphill — toward higher fitness, one small mutational step at a time. To reach a taller peak across the landscape, the population would first have to descend through a valley of lower-fitness intermediates, and selection actively opposes that descent. So once a population reaches a local peak, it tends to stay, even if a far better solution exists nearby. This is the core "problem of peaks" in evolutionary theory.

How do populations cross fitness valleys?

Several mechanisms let lineages escape a local peak. Genetic drift in small populations can fix mildly deleterious intermediates by chance — the basis of Wright's shifting balance theory. Recombination can combine beneficial mutations from different individuals to leap across a valley. Environmental change can deform the landscape, turning a valley into a slope. Neutral networks of equal-fitness genotypes can let a population wander sideways until it reaches the base of a higher peak without ever going downhill.

What makes a fitness landscape rugged?

Ruggedness comes from epistasis — when the fitness effect of one mutation depends on which other mutations are present. With no epistasis the landscape is a single smooth hill (Fisher's additive view). With strong epistasis it becomes a Himalaya of many peaks and valleys. Stuart Kauffman's NK model tunes ruggedness with the parameter K: K=0 gives one smooth peak, while large K produces an exponentially large number of local optima.

Is the fitness landscape real or just a metaphor?

Both. As a visualization it is a metaphor — real genotype space has thousands of dimensions, not two. But the underlying object is concrete and measurable. Experiments on proteins, RNA, and microbes now map empirical landscapes by synthesizing every mutational combination and measuring fitness directly. A landmark study of five mutations in a beta-lactamase enzyme found only 18 of the 120 possible mutational paths to antibiotic resistance were accessible to selection.