The lifespan of a fence varies depending on the material used. On average, a well-maintained wood fence can last around 10 to 30 years, while vinyl and aluminium fences can last 20 to 40 years or more. Proper maintenance and repairs can extend its lifespan.