balancing selection
Most kinds of selection eventually crown a single winning allele. Balancing selection does the opposite: it actively keeps two or more alleles around, like a referee who steps in to stop either side from sweeping the board. The result is a polymorphism that selection sustains rather than erases.
Formally, balancing selection is any mode of selection that maintains multiple alleles at a locus in a population over long stretches of time, holding their frequencies in a stable balance instead of pushing one to fixation. It is a key reason genetic variation can be preserved rather than steadily lost.
Several mechanisms produce it. In heterozygote advantage (overdominance), heterozygotes are fitter than either homozygote, so both alleles persist. In frequency-dependent selection, an allele's advantage grows as it becomes rarer, so it never quite disappears. Selection that varies across space or time can also keep different alleles in play.
The textbook example is the sickle-cell allele: one copy confers resistance to malaria while two copies cause disease, so in malarial regions selection holds the allele at an intermediate frequency rather than removing it—a case where balance, not elimination, is the stable outcome.
Balancing selection preserves variation; directional selection and drift tend to deplete it. Heterozygote advantage is the classic mechanism, but frequency-dependent and spatially varying selection count too.