In the US, a 4 feet fence is allowed by law in front yards and 6 feet in backyards.