Both Achilles tendon stiffness and walking patterns influence the energy cost of walking, but their relative contributions remain unclear. These independent contributions can only be investigated using simulations. We created models for 16 young (24±2 years) and 15 older (75±4 years) subjects, with individualized (using optimal parameter estimations) and generic triceps surae muscle-tendon parameters. We varied Achilles tendon stiffness and calculated the energy cost of walking. Both in young and older adults, Achilles tendon stiffness independently contributed to the energy cost of walking. However, overall, a 25% increase in Achilles tendon stiffness increased the triceps surae and whole-body energy cost of walking with approximately 7% and 1.5%, respectively. Therefore, the influence of Achilles tendon stiffness is rather limited. Walking patterns also independently contributed to the energy cost of walking because the plantarflexor (including, but not limited to the triceps surae) energy cost of walking was lower in older than in young adults. Hence, training interventions should probably rather target specific walking patterns than Achilles tendon stiffness to decrease the energy cost of walking. However, based on the results of previous experimental studies, we expected that the calculated hip extensor and whole-body energy cost of walking would be higher in older than in young adults. This was not confirmed in our results. Future research might therefore assess the contribution of the walking pattern to the energy cost of walking by individualizing maximal isometric muscle force and by using three-dimensional models of muscle contraction.Summary statementAchilles tendon stiffness and walking patterns independently contribute to the energy cost in simulations of walking in young and older adults. The influence of Achilles tendon stiffness is rather small.