Check your local building codes or homeowners association (HOA) to determine the legal maximum height of your barrier. Each city has its own fencing height regulations. Standard measurements for backyard fences are typically between 6 to 8 feet tall, but the height varies depending on your city’s laws and the type of barrier you are building.