For a wood fence, it depends a lot on the type of wood:  An inexpensive spruce fence may last only 4 to 7 years. A pine fence lasts longer, about 5 to 12 years. Cedar lasts from 15 to 30 years, based on weather conditions and maintenance. A fence made of treated lumber can last 20 years or more.