Deciding on what kind of fence you need is one of the big debate questions. I have found that a four foot fence will keep in most goats, a five foot fence will keep in nearly every goat and some goats could get out of Fort Knox. Most people use standard four foot high woven wire with a strand of barbed or electric wire above it. Cattle panels and chainlink make great fences but they are more costly. On the other hand, a simple electric fence wire can keep in goats once they learn it shocks them if they touch it.