The patella is a sesamoid bone located in the major extensor tendon of the knee joint, in the hindlimb of many tetrapods. Although numerous aspects of knee morphology are ancient and conserved among most tetrapods, the evolutionary occurrence of an ossified patella is highly variable. Among extant (crown clade) groups it is found in most birds, most lizards, the monotreme mammals and almost all placental mammals, but it is absent in most marsupial mammals as well as many reptiles. Here, we integrate data from the literature and first-hand studies of fossil and recent skeletal remains to reconstruct the evolution of the mammalian patella. We infer that bony patellae most likely evolved between four and six times in crown group Mammalia: in monotremes, in the extinct multituberculates, in one or more stem-mammal genera outside of therian or eutherian mammals and up to three times in therian mammals. Furthermore, an ossified patella was lost several times in mammals, not including those with absent hindlimbs: once or more in marsupials (with some re-acquisition) and at least once in bats. Our inferences about patellar evolution in mammals are reciprocally informed by the existence of several human genetic conditions in which the patella is either absent or severely reduced. Clearly, development of the patella is under close genomic control, although its responsiveness to its mechanical environment is also important (and perhaps variable among taxa). Where a bony patella is present it plays an important role in hindlimb function, especially in resisting gravity by providing an enhanced lever system for the knee joint. Yet the evolutionary origins, persistence and modifications of a patella in diverse groups with widely varying habits and habitats—from digging to running to aquatic, small or large body sizes, bipeds or quadrupeds—remain complex and perplexing, impeding a conclusive synthesis of form, function, development and genetics across mammalian evolution. This meta-analysis takes an initial step toward such a synthesis by collating available data and elucidating areas of promising future inquiry.