Whether you’ll need a permit to build a fence around your yard will depend on your city or county's local codes. Many metropolitan and suburban areas require a permit to install most fencing, but they may not for fences situated behind a house as opposed to in front of it or fences that don’t run within a certain distance of the road. To find out if you’ll need a permit to fence your yard, reach out directly to your local government office.