§TownLaws

Fence rules in St. Clair County, Illinois

Source: local code / Updated December 1, 2026

Fences along lot lines are allowed, but fences over 6 feet must meet the district's minimum yard requirements. Corner lots have a 2-foot height limit within the restricted intersection triangle, and barbed wire or electric fences are limited to agricultural or rural residential districts. Pools more than 24 inches deep need a barrier at least 48 inches high.

These rules apply in unincorporated St. Clair County, including St. Clair Township, Caseyville Township, O'Fallon Township, Centreville Township, Shiloh Valley Township, Mascoutah Township and 19 more, all listed below.

The short answers

Applies to: allowed only in agricultural or rural residential districts (Barbed / razor wire, Electric fences)

Permit required above height

Local code

7ft

Applies to: building permit exemption list for Building Regulations

Source wording [1]

Max height in corner visibility area

Local code

2ft

Applies to: within the restricted triangular area at street intersections

Source wording [2]

Barbed / razor wire

Local code

Allowed with limits

Source wording [3]

Electric fences

Local code

Allowed with limits

Source wording [4]

Prohibited materials

Local code

barbed wire, other sharp pointed fences, electrically charged fences

Applies to: outside agricultural or rural residential districts

Source wording [3]

Pool barrier minimum height

Local code

4ft

Applies to: pools with water deeper than 24 inches

Source wording [5]

What the code says

The exact wording behind each answer, checked against the source text.

  1. [1]

    St. Clair CountyLocal code

    2. Fences not over 7 feet (2134 mm) high.

    Supports: Permit required above height

  2. [2]

    St. Clair CountyLocal codeFigure 1, Sec. 40-2-3

    obstructions higher than two (2) feet above the adjacent top of the curb elevation shall not be permitted to be planted, placed, or erected on any corner lot

    Supports: Max height in corner visibility area

  3. [3]

    St. Clair CountyLocal code

    No barbed wire below ten (10) feet above ground level or other such sharp pointed fence and no electrically charged fence shall be erected or maintained except in agricultural or rural residential districts where they do not constitute undue hazard.

    Supports: Barbed / razor wire, Prohibited materials

  4. [4]

    St. Clair CountyLocal code

    and no electrically charged fence shall be erected or maintained except in agricultural or rural residential districts where they do not constitute undue hazard.

    Supports: Electric fences

  5. [5]

    St. Clair CountyLocal code29-3-15

    Private swimming pools, hot tubs and spas, containing water more than 24 inches (610 mm) in depth shall be completely surrounded by a fence or barrier at least 48 inches (1219 mm) in height above the finished ground level

    Supports: Pool barrier minimum height

Where these rules apply

Unincorporated St. Clair County, including these communities, which have no fence rules of their own.

  • St. Clair Township
  • Caseyville Township
  • O'Fallon Township
  • Centreville Township
  • Shiloh Valley Township
  • Mascoutah Township
  • Stookey Township
  • Canteen Township
  • Sugar Loaf Township
  • Millstadt Township
  • Freeburg Township
  • Lebanon Township
  • Smithton Township
  • Prairie Du Long Township
  • New Athens Township
  • Marissa Township
  • Fayetteville Township
  • Lenzburg Township
  • Engelmann Township
  • Stites Township
  • Darmstadt
  • Floraville
  • Paderborn
  • Rentchler
  • Scott AFB

Source documents

Codes change, and some rules depend on your zoning district or lot. Confirm with St. Clair County before you build or apply. Spotted something out of date? Tell us.