Atmospheric pressure is an important, yet understudied factor that may shape plant ecology and evolution. We evaluated the impact of ecologically realistic atmospheric pressures between 660 and 950 hPa on the growth and secondary metabolism of dandelion populations originating from different altitudes. We find that growth under low atmospheric pressure suppresses root growth and the production of defensive sesquiterpene lactones. The suppression of defence at low atmospheric pressure is most pronounced for populations originating from lower altitudes. Populations from higher altitudes constitutively produce less latex and sesquiterpene lactones, and do not suffer from suppression under low atmospheric pressure. We conclude that atmospheric pressure modulates plant growth and defence traits, and that evolutionary history shapes plant phenotypic plasticity in response to atmospheric pressure. Our findings have important implications for our understanding of altitudinal gradients and the future use of plants as a source of food and bioactive metabolites in extraterrestrial habitats.