In the world of D&D, the average lifespan of elves can vary depending on the setting or the specific campaign. However, elves are generally known for their long lifespans compared to other races. In some settings, elves can live for hundreds of years, while in others, they can live for thousands of years or even longer. For example, in the Forgotten Realms setting, elves can live anywhere from 750 to 3,500 years, depending on their subrace. In the Greyhawk setting, elves have an average lifespan of 1,500 years.