Random mating
There are a number of types of non-random mating, such as mate choice (selection by females from a small group of males), mating type (in microorganisms like Paramecium), selfing in some flowering plants, and in general, inbreeding. Mechanical or geographical differences within a species will often prevent a whole species being panmictic.