While the risk of ED does increase with age, it is not an inevitable part of aging. Many men enjoy healthy sexual function well into their older years. Lifestyle, underlying health conditions, and psychological factors can all contribute to ED.