In general, a 6-foot high fence is sufficient for larger dogs, while smaller dogs are typically contained by a 3 or 4-foot fence. That all goes out the window, though, if your dog is a jumper, in which case you'll either want to opt for something even taller or an electric option, which will prevent dogs of all shapes and stripes from escaping.