This study reviews the factors of pig production that impact the quality of dry-cured ham. When processing is standardized, the quality of the final dry-cured product is primarily determined by the quality of the meat before curing (green ham). This has been defined as the aptitude for seasoning and is determined by the green ham weight, adipose tissue quantity and quality, meat physico-chemical properties and the absence of visual defects. Various ante-mortem factors including pig age and weight, genetic type, diet, feeding strategy and slaughter conditions determine green ham properties such as the dynamics of water loss, salt intake and, as a consequence, proteolysis and lipolysis. Muscle conditions (pH, salt concentration, water content and availability, temperature) influence enzymatic activity and development of characteristic texture and flavor. Generally, hams of older and heavier pigs present better seasoning aptitude because of higher adiposity. Adiposity is also positively correlated with fat saturation, which is desired to avoid rancidity and oiliness. The fatty acid profile of tissue lipids can be manipulated by diet composition. Feeding strategy affects tissue accretion and protein turnover, thus directly impacting proteolysis. With respect to the impact of pig genotype on dry-cured ham quality, local breeds are generally considered more suitable for producing quality dry hams; however, the majority of dry-cured hams on the market today are from modern pig breeds raised in conventional systems, providing lean hams. The importance of all these factors of pig production is discussed and synthesized, with an emphasis on the main difficulties encountered in dry-cured ham production.