Most fencing laws and ordinances are broad or unspecific. However, more often than not, local laws limit residential artificial fences to 4 feet in front yards and 6 feet in backyards. That being said, it really depends on the location. Homeowners should check their local laws as well as their HOA's rules.