In this paper I analyze the conditions for scientific research and the social relationships that allowed the establishment of genetics in Mexico, in the laboratory, the clinic and in agronomy. I give three examples to illustrate how the cultural history of heredity has enlightened this work: the introduction and institutionalization of Mendelism in Mexico, the hereditarian ideas of medical doctors in the late nineteenth century, and the introduction of medical genetics in Mexico.