If you’re not choosing composite materials, cedar is the best overall wood option for fencing due to its natural resistance to rot, insects, and moisture.