Portland requires a building permit for a wood fence over 7 feet, a masonry or concrete fence over 4 feet, a chain-link fence over 8 feet, or any swimming-pool enclosure.
Zoning, setbacks, corner visibility, historic resources, retaining walls, and private covenants can still control a fence below the building-permit threshold.