That depends on where you live. Always check local zoning laws before you begin construction on a fence (or any landscape project). If your neighborhood has a homeowners association, you might need its approval, too. If you hire a contractor to build your fence, they'll typically know the local laws and acquire any necessary permits for you. All you'll have to do is sign the paperwork.