FENCE RULES – FARMINGTON (CITY), UTAH

OVERVIEW

These rules apply inside Farmington city limits in Davis County. In a residential area as defined by the City, a fence can reach 8 feet in a required side or rear yard, but the building-code permit exemption stops at 7 feet. Required front yards and street-facing side yards on corner lots have lower limits. A separate corner visibility rule can restrict a fence that otherwise meets the height limit. The Original Townsite Residential zone has its own material rules, and on foothill lots the slope can determine where a fence can go. Updated November 2026.

Quick questionFarmington answer
Permit or approvalAn ordinary fence no more than 7 feet high is exempt from the residential building-code permit. A taller fence is outside that exemption. Separate zoning, pool and site-specific requirements still apply.
Typical fence heightIn a defined residential area: up to 8 feet in required side and rear yards, up to 4 feet in a required front yard, and up to 6 feet in a side corner yard. The side corner street setback and visibility rules still apply. This definition excludes the A and AA zones.
Placement & property linesIn a residential area, keep a side corner yard fence at least 8 feet from the street-frontage property line unless the zoning administrator approves a modification. The general fence section sets no universal side or rear property-line offset. Check the actual boundary, public right-of-way and easements.
Common fence materialsWood: No separate citywide specification in the general fence section; solid wood is prohibited for specified mixed-use separation fences. Vinyl/PVC: No separate specification in the general fence section; Original Townsite vinyl rules and the mixed-use solid vinyl prohibition can apply. Chain-link: The general rule expressly addresses it as open mesh. Original Townsite front and side corner yards have a separate material restriction.
Important local conditionsFence rules may be further affected by corner visibility, the foothill or Scenic Byway overlay, an approved development plan, historic landmark status, a pool, a retaining wall, flood hazards, drainage, utilities, and private covenants.
Official local resourceFarmington City Code: fence standards

Use the sections and official links below to identify the right yard, check conditions on your lot and plan where to set posts.

GOVERNANCE

The Farmington City Council adopts the local ordinances. The zoning administrator applies the zoning rules, reviews building applications for zoning compliance and considers the limited fence modifications described below. The Building Department administers the adopted construction codes. Farmington adopts Utah’s state construction codes as adopted and amended by the state. The current editions include the 2021 International Residential Code, the 2024 International Building Code and the residential provisions of the 2024 International Swimming Pool and Spa Code.

Public Works administers work in city rights-of-way, and the urban forester reviews covered excavation near public trees. The City’s floodplain administrator handles development in mapped special flood hazard areas. The Historic Preservation Commission handles covered work on listed historic resources, with the alternative professional review described below. A Farmington mailing address does not establish that land outside city limits is subject to these city rules.

PERMIT AND APPROVAL REQUIREMENTS

• Ordinary fences and replacements: The adopted residential code exempts fences no more than 7 feet high from its building permit. The general city fence section does not impose a separate permit simply to install or replace an ordinary fence. For a fence over 7 feet, use the City’s building application before installation; the ordinary fence exemption does not cover that height. Use the same application for a pool project when a building permit is required, and check separate approvals regardless of fence height. When building review applies, the zoning administrator checks compliance and the zoning code calls for a scaled plot plan in duplicate, showing the lot and existing and proposed structures.

• Site changes: A fence by itself is not listed as a separate site-plan trigger. The site-plan rules require review for new development on an undeveloped site, additions to existing structures, changes of use and covered site changes such as modifying access points, required landscaping or drainage patterns. It also applies to qualifying changes that may add impervious area and increase stormwater runoff. Do not assume that the ordinary fence exemption covers grading, electrical work for a powered gate, or other work included in the same project.

• Retaining walls: The Utah residential code amendment exempts a retaining wall only if it retains less than 4 feet of unbalanced fill and neither supports a surcharge nor requires design under Section R404.4. A fence and a retaining wall have separate permit and zoning checks; the fence’s 7-foot exemption does not decide the wall’s permit status.

• Street work and public trees: Work within a public right-of-way requires the City’s excavation permit, subject to the code’s exceptions. The City’s guidance lists a fee, liability insurance and a minimum $1,000 cash bond, with the amount for large projects determined by the City. Cutting public tree roots, excavating a ditch, tunnel or trench, or placing paving within 8 feet of a public tree requires a Public Works excavation permit reviewed by the urban forester. For a public tree near excavation or construction, use a guard at least 4 feet high and at least 8 feet square, enlarging it if needed to protect the critical root zone. Keep construction materials and debris outside it. Do not attach wire or other devices to a public tree without authorization.

• Flood hazard areas: The City requires a floodplain development permit before construction or development in a mapped special flood hazard area. The definition of development includes excavation. The application can require scaled site plans and professional certification; bringing in fill requires a no-rise certification. Encroachment in an adopted floodway is separately restricted, generally requiring engineering proof of no increase in base flood levels unless the specified federal map-revision route is met. An ordinary fence building-permit exemption does not waive this review.

• Historic landmarks and repairs: A permit-requiring repair, alteration, addition, move or demolition affecting a resource on the City’s Landmarks Register generally needs a certificate of historic appropriateness before the building permit. For covered repairs, alterations or additions, the owner may choose the City’s option for review by an appointed preservation architect or survey professional. Ordinary exterior maintenance and repair that keeps the existing form without materially changing design, material or appearance does not need the certificate if the zoning administrator determines it qualifies. Original Townsite zoning restrictions are separate from landmark designation.

• Existing nonconforming fences: Do not assume that an old fence can be rebuilt higher, moved or replaced in kind if it no longer meets current rules. The administrative hearing officer decides covered nonconformity matters, with routine uncontested verification handled by the zoning administrator. Older work must have been lawful to qualify for nonconforming treatment. A pool barrier also must continue to satisfy the applicable safety rules.

FENCE PLACEMENT RULES

• Required yards and legal boundaries: The City’s required-yard rule allows fencing that meets the applicable fence standards. The required front yard runs from the front lot line to the district’s minimum front setback, not necessarily to the front of the house. Required side and rear yards likewise use the district’s minimum yard distances; the side corner yard is along the corner lot’s second street frontage. The zoning definitions use street right-of-way lines as lot lines for yard purposes, and exclude fences 8 feet or less from the general definition of a structure. Do not apply accessory-building setbacks to every fence or assume the curb, old fence or online parcel line is the legal boundary.

• Side corner yards: On a corner lot in a defined residential area, the 8-foot setback is measured from the street-frontage property line. Keep the separate street intersection visibility triangle clear as explained below. The 8-foot distance is not a setback from every property line or a general driveway setback.

• Planned or conservation development: A planned unit development can have yard and height rules in its approved master plan. In an Agriculture Planned district, the approved development agreement and plan may set fence rules that supersede specified underlying zoning rules without overriding building codes, subdivision procedures or public improvement standards. Check recorded plats, any sight-area notes, approval conditions and permanent conservation restrictions if they affect the lot or the proposed fence line.

• Foothill Overlay: Under the Foothill Overlay standards, fences and walls must be on usable land. The fence or wall location must have a slope under 20% before and after grading and excavation. The City can approve a fence on a 20% to 30% slope through a special exception. The overlay separately limits grading, land disturbance and excavation. For slopes below 30%, the ordinance ties those activities to issuance of the main-building permit. Do not treat the limited street and driveway rules for steeper land as permission to grade for a fence. Preserve natural drainage flow and stabilization on affected slopes.

• Public rights-of-way and easements: Do not block a public street, sidewalk or other public way with an unauthorized fence. Public rights-of-way can include dedicated walks, alleys and easements. Work on a state highway right-of-way generally needs prior written Utah Department of Transportation approval unless an applicable delegation or waiver changes that route. Separate access, utility, drainage or conservation easements may restrict posts or require continued maintenance access.

• Drainage and water facilities: Do not obstruct stormwater channels, street gutters, drainage inlets or detention structures without the specific authorization the City’s ordinance allows. State law also limits fences that obstruct or change flow along or across a water facility with an established right-of-way. Subject to the statute’s exception for a facility damaging private property, the law requires written permission and gates adequate for the facility owner’s passage, or compliance with the separate statutory facility-change process. A gate alone does not authorize work in a canal easement.

• Survey monuments: Give the county surveyor at least 5 business days’ notice before disturbing an established government survey monument or public land survey corner. If the county requires a construction permit within 30 feet of such a marker, obtain it before work. This is not a general 30-foot setback from all private boundary markers.

• Existing shared fences: When adjoining owners agree to fence an enclosure or build a partition fence, Utah apportions construction and maintenance costs by the land enclosed. If an adjoining owner later encloses land and makes part of an existing fence a partition fence, that owner must pay half the value of that portion before enclosing the land. An owner who stops improving or cultivating enclosed land or opens the enclosure must notify the other owner and give an opportunity to pay reasonable value before removing the partition fence. Removal cannot occur before payment or 30 days after notice, whichever comes first, and remains prohibited if it would expose enclosed crops to injury. Do not willfully leave someone else’s or a joint enclosure open.

• Agricultural land and livestock: The general residential-area fence section excludes the Agriculture and Heavy Agriculture zones, A and AA. Other site, safety and property rules can still apply. Utah’s separate grazing-land partition rule depends on actual qualified agricultural or conservation land and grazing or qualifying adjoining use. Its half-cost provision is limited to reasonable, locally common construction no more expensive than posts, wire and connectors; maintenance is allocated by the land enclosed. Livestock enclosure rules are not ordinary privacy fence standards.

• Before digging fence posts: Give Blue Stakes of Utah 811 the planned location, dimensions and type of digging. The Utah excavation law requires at least 48 hours’ notice as it defines that period: it begins at 8 a.m. on the first business day after notice and excludes weekends and defined holidays. Give notice no more than 14 days before digging. For scheduling, Blue Stakes advises allowing at least 3 business days. Use the legal start time on the ticket. Each excavator must submit notice. Mark the proposed excavation in white when the area cannot be described adequately or the operator requests it under the statute.

• Responses, marks and renewals: Check electronic responses from operators that use that system, verify markings or clearances, and follow any required meeting procedure before digging. After the response deadline, if you know of or see signs of an unmarked facility, submit a no-response notice and do not start until the operator arranges marking. The statute separately allows commencement on a missed response when there are no visible indications of a facility. If markings no longer identify a facility, request remarking before digging. The notice lasts 21 days from notice; renew at least the defined 48 hours before expiry, but no more than 7 calendar days ahead. A renewal extends 21 days from the previous expiration; a remark is not a renewal.

• Digging near a mark: Locate the facility exactly with hand tools before using power equipment in its tolerance zone unless the operator waives that step in writing or electronically. For a facility with a marked diameter, the zone extends half the diameter plus 24 inches on either side of the center mark. If the diameter is not marked, it extends 24 inches beyond each outside edge of the mark. Arrange a separate locate for private lines where needed. Do not apply the emergency, gardening or private-ground tilling exceptions to ordinary fence-post work. Report contact or damage immediately to the operator, wait for repairs as required and do not backfill until authorized. For hazardous release or danger, notify emergency responders and the operator immediately and take reasonable protective measures.

FENCE HEIGHT AND VISIBILITY RULES

• Ordinary residential-area heights: The maximum is 8 feet in a required side or rear yard and 4 feet in a required front yard; the front limit applies to opaque fencing and open mesh, including chain-link. In a side corner yard the maximum is 6 feet and the minimum setback from the street-frontage property line is 8 feet. These rules apply to residential subdivisions and other lots with dwellings, except in A and AA zones. The general fence section does not state a separate grade-measurement formula for an ordinary fence.

• Retaining wall on a shared line: A reasonable and necessary retaining wall on the property line between two lots may be topped with a fence, wall or hedge of the height that would be allowed at that location without the retaining wall. This is not a general rule allowing an arbitrary change in grade or adding a full-height fence to every wall.

• Limited frontage modification: The zoning administrator may modify the 8-foot setback or the 4-foot front-yard height limit if it is shown that the proposal closer to the street-frontage property line will not impair pedestrian safety, obstruct views or affect traffic safety, or harm adjoining properties. The administrator considers driveways, sidewalks, street widths and rights-of-way, visibility and the streetscape. This provision does not state a waiver of the 6-foot side corner maximum or the separate intersection rule.

• Corner visibility: In any zone with a required front yard, a corner lot may not have a material obstruction to view from 2 to 10 feet above curb level in the clear-vision triangle. Measure 30 feet along each street property line from their intersection and join those points to find the third edge. This restriction applies even if the fence elsewhere meets the yard height limit.

• Commercial or Neighborhood Mixed Use: In these zones a fence between primarily residential and commercial areas can be up to 72 inches. A master-planned project perimeter fence can be up to 42 inches. In multifamily areas, fencing between buildings or along streets is prohibited; a private patio screen can be up to 60 inches and enclose no more than 150 square feet. The code directs single-family areas within these zones back to the residential sections.

MATERIAL AND CONSTRUCTION LIMITS

• Wood, vinyl/PVC and chain-link: The general residential fence section does not list separate wood or vinyl/PVC specifications or a citywide finished-side rule. It expressly identifies chain-link as open mesh for the required-front-yard height rule. Material limits can still apply in the districts and settings below.

• Original Townsite Residential: The Original Townsite fence rules prohibit chain-link or vinyl fences in front and side corner yards, with an exception stated for fences with a wood-grain appearance. Vinyl fences throughout this zone must have flat, nongloss finishes. The rule is distinct from the citywide front-yard height limit.

• Commercial or Neighborhood Mixed Use: Separation fences between primarily residential and commercial areas can use Farmington stone, molded precast concrete with a stained and embossed stone pattern on both faces, wrought iron or colored masonry. Solid wood and solid vinyl are prohibited for that separation fence. The code recommends a substantial landscape buffer. For master-planned project perimeters, it identifies Farmington stone, rail fencing or a combination as appropriate. Retaining walls over 30 inches must use landscape boulders, stone, or concrete faced with stone or cultured stone. The code recommends that walls generally stay at 4 feet or less unless terraced with planting areas at least 3 feet wide between tiers.

• Scenic Byway Overlay: The Scenic Byway design standards can apply on mapped parcels, in the corridor shown on the specified plan map, or on adjacent parcels substantially visible from Legacy Parkway if the City determines they are covered. They reduce reliance on fences and walls in favor of berms or plantings. For required security or access control, use an open or partially private design. A 6-foot solid fence or wall may be used in limited or intermittent circumstances or when otherwise required by the code. Match materials and style to the buildings or corridor, minimize or terrace retaining walls, and keep trail and pathway access open. Sound walls are prohibited in the overlay.

• Foothill retaining walls: Necessary approved retaining walls in the overlay can be at most 8 feet. Walls within 30 horizontal feet of one another that retain the same hillside count as one wall. Extensive rear-yard walls built to level a yard by backfilling are prohibited. The overlay’s fence-slope restrictions and building-code wall review still apply separately.

• Private recreational pools, local zoning: The City’s pool enclosure rule calls for a complete, permanent fence, wall or substantial barrier at least 4 feet high. Access is limited to gates with self-closing and self-latching devices. A nonsolid barrier must prevent passage of a 4-inch sphere. The City allows security covers instead of fencing for hot tubs, spas and Jacuzzis. For a pool not completely enclosed by solid building walls, the pool itself must be at least 5 feet from side and rear property lines, 30 feet from the front line, 20 feet from the side corner line, and 20 feet from a neighbor’s dwelling. These are not ordinary fence setbacks.

• Private sports courts: Under the City’s private sports court rule, a private tennis or similar sports court must be at least 5 feet from side and rear lines, 15 feet from the side corner line, 30 feet from the front line and 20 feet from a neighboring dwelling. A departure from those setbacks or the fence standards requires a special exception, with no fee for that application.

• Pool covers and construction: Utah adopts the residential provisions of the 2024 pool and spa code. The state definition covers individual, family or living-unit use and guests, not a housing complex with four or more units. A compliant ASTM F1346 powered pool cover or lockable spa or hot-tub cover has the state code’s specified exception from Sections 305.2 through 305.7. It does not remove Farmington’s separate local enclosure requirement for a swimming pool. For in-ground pool and spa construction, maintain a surrounding construction fence at least 4 feet high from the first excavation until the permanent barrier is complete.

• Pool barrier height, gaps and equipment: When the adopted code requires a barrier, measure the 48-inch minimum vertically from grade on the side facing away from the pool or spa. Maintain that minimum around the entire barrier and across the adjacent area extending 3 feet horizontally outside it. The maximum opening below the barrier is 2 inches over a nonsolid surface or 4 inches over a solid surface. A barrier mounted above the pool or spa wall may leave no more than 4 inches between the wall top and barrier bottom. Openings must not pass a 4-inch sphere. Openings in chain-link must not exceed 1¾ inches, including where top-and-bottom-fastened slats are used to achieve that size. Keep equipment on the same lot at least 36 inches away if it sits outside the barrier.

• Pool fence construction: Solid barriers cannot provide footholds or handholds except at ordinary construction tolerances or tooled masonry joints. When the tops of horizontal members are less than 45 inches apart, put them on the pool side and limit vertical-member gaps and decorative cutouts to 1¾ inches. At 45 inches or more between horizontal members, vertical gaps may be up to 4 inches; decorative cutouts remain limited to 1¾ inches. Diagonal members cannot be more than 45 degrees from vertical or create openings over 1¾ inches.

• Pool gates and latches: A pedestrian gate must open away from the pool or spa, close and latch by itself, and accommodate a locking device; doors and gates may not swing over stairs. Keep service gates locked when not in use. For paired or multiple doors or gates, secure at least one leaf and use a self-latch on the adjacent leaf. For residential pools and spas, an outside-accessed release that is not self-locking must be at least 54 inches above the finished floor or ground. For a self-locking mechanism, the control and the latch release must be no more than 54 inches above that surface. An inside-only self-latching gate release at a private pool must be at least 3 inches below the gate top. Inside latches also require openings no larger than ½ inch in any dimension within 18 inches of the release.

• Other pool barrier designs: Non-chain-link mesh fences have manufacturer and ASTM F2286 requirements, a minimum 20-inch water-edge setback to the inside of the fence, and must not be installed on top of an onground residential pool. Hinged gates must meet the barrier gate rules. A screen enclosure used as a barrier must be professionally designed and meet the code’s mesh strength requirements. Its walls do not count as dwelling walls. An alternative under the adopted code must also satisfy applicable local zoning.

• Dwelling walls and aboveground pools: A dwelling wall used as part of the barrier may need a listed water-hazard alarm for directly accessible doors, gates and windows with sills below 48 inches unless the listed cover or approved equivalent protection applies. For a typical dwelling, alarm deactivation controls must be at least 54 inches above the finished floor; for required accessible units and Type A or B units, the range is 48 to 54 inches. An onground residential pool wall used alone must start at grade and reach 48 inches above grade around the entire perimeter, comply with the barrier rules and be allowed by the manufacturer. A barrier mounted on the pool wall must also reach 48 inches above grade around the perimeter, meet the barrier rules and follow the manufacturer’s instructions. Ladders or steps must be securable, lockable or removable unless separately protected by a compliant barrier; resulting openings must not pass a 4-inch sphere.

• Natural pool barriers: A natural shoreline can replace the barrier on that side only where public access along the shore is not allowed and the remaining barriers extend at least 18 inches beyond the water’s edge. Other natural topography must prevent direct access, provide at least equivalent protection and be approved by the governing body. Neither state-code alternative automatically waives local zoning.

PRIVATE RESTRICTIONS

Farmington’s zoning rules do not cancel more restrictive private covenants or agreements, and the City does not enforce them for the parties. Check the deed, plat, association design rules, private easements and any fence or maintenance agreement before building or removing a fence. Public approval is not proof of the boundary or permission to use someone else’s land.

For an association covered by Utah’s Community Association Act, a required plan review fee cannot exceed the actual review and approval cost. A written denial must identify the governing provision and what is nonconforming. State law also limits denial, delay or restriction based on the use of fire-resistant materials in areas with heightened wildfire risk. This does not exempt a fence from other applicable standards.

REVIEW AND ENFORCEMENT CONTEXT

Fence issues are typically reviewed during permit or approval review when required, and through complaint-based code enforcement. Examples include:

• Zoning: Yard height and street setbacks, corner visibility, hillside siting, materials in the Original Townsite and design in the Scenic Byway Overlay.

• Site conditions: Retaining walls, pool enclosure and gate safety, floodplain development, drainage, public rights-of-way and public-tree protection.

• Separate private matters: A dispute about ownership, an easement or a private covenant is not resolved through a City fence approval.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the City of Farmington. Updated November 2026.

In addition to local fence rules, certain Utah laws apply statewide. See Statewide Fence Laws in Utah.

It is not legal advice and does not replace official statutes, regulations, ordinances, orders, permits, surveys, recorded documents or professional guidance. Rules and interpretations may change. Applicable requirements depend on the property’s actual location, the authority responsible for each issue, current adopted codes and amendments, zoning and site conditions, rights-of-way, easements, drainage and floodplain conditions, historic or design districts, pool and home uses, agricultural and livestock conditions, shared-fence rights, excavation and private restrictions. Government approval does not resolve ownership, private agreements or recorded access rights. If this page conflicts with controlling law or official requirements, the controlling authorities govern.