Fence RegulationsSourced to the codeBrowse states
State law

Fence laws in Illinois

What Illinois statutes and statewide codes say about fences, one topic at a time, with the section number and a link to the document behind every line.

Fence laws in Illinois, question by question

The short version

Who pays on the line
Illinois makes both neighbors pay for a fence on the line between them, each one a fair share.
How tall
Illinois sets no maximum fence height. The chapters that were read are listed below. Cities and counties decide this one.
Permits
Illinois has no one statewide permit rule for work at a house.
Pool barriers
Illinois sets no statewide pool barrier rule. The chapters that were read are listed below. Cities and counties decide this one.
Spite fences
Illinois has no spite fence statute. The chapters that were read are listed below. Cities and counties decide this one.
Measured from what
Illinois leaves the measuring rule to the corporate authorities of each municipality.
Corner lots
Illinois treats this as blocking the road. It reaches a public highway, where the highway authority has not given permission only.
Retaining walls
Illinois leaves retaining walls to the municipal or county residential building code, or the International Residential Code named in the construction contract. It reaches newly built homes only.
Materials
Illinois lists what a legal fence can be made of: rails, boards, stone, hedge, barbed wire, woven wire, or anything the town fence viewers judge just as good. It reaches fences meant to keep farm animals off the land next door only.
Livestock
Illinois calls a fence legal at four and a half feet tall and in good repair. The figure is 4.5 feet, for height of a legal fence.

Who owns the fence between two properties in Illinois?

Compare fences on the property line across all 50 states

Illinois answers this in its own law. The words that do it are quoted below.

Illinois makes both neighbors pay for a fence on the line between them, each one a fair share. Most of the section is about hedge fences. A hedge has to be cut back to four feet in the year after it turns seven, then trimmed to five feet at least every two years. An owner who has done the trimming can give the neighbor ten days written notice, do the work, and sue for the cost. Town officers called fence viewers settle the fights.

When 2 or more persons have lands adjoining, each of them shall make and maintain a just proportion of the division fence between them

765 ILCS 130/3Illinois General Assembly · Read 13 September 2026

How tall can a fence be in Illinois?

Compare fence height across all 50 states

Illinois law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Illinois sets no limit on how tall a fence at a house can be. The Fence Act names four and a half feet, but that is a floor for a farm fence that holds animals, and the same section lets a town meeting or the county board pick a different number. The state housing law sets no height either. A yard fence height comes from city zoning.

Documents read before writing that:

Do I need a permit for a fence in Illinois?

Compare permits across all 50 states

Illinois answers this in its own law. The words that do it are quoted below.

Illinois has no one statewide permit rule for work at a house. Where a town or county has no building code of its own, the Residential Building Code Act makes the builder and the buyer name a code in the building contract, and the International Residential Code applies when they name none. A separate law, in force since January 1, 2025, also requires a city or county code to be at least as strict as a recent model code on how a building is built to hold weight.

A contract to build new residential construction in any non-building code jurisdiction must adopt as part of the construction contract the applicability of a residential building code that is agreed to by the home builder and the home purchaser as provided in this Section.

Illinois Residential Building Code Act, Sec. 15Illinois General Assembly · Read 13 September 2026

Pool fence requirements in Illinois

Compare pool barriers across all 50 states

Illinois law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Illinois writes no fence rule for a pool at a private home. The Swimming Pool Safety Act covers pools built for public swimming, and it says plainly that a pool at a private home used by the owner and guests is left out. The state Swimming Facility Code leaves the same pools out. What a home pool needs comes from the city or county and from whatever building code that place has adopted.

Documents read before writing that:

Spite fence laws in Illinois

Compare spite fences across all 50 states

Illinois law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Illinois has no spite fence law. The Fence Act covers who pays, what counts as a legal fence, and how hedges get trimmed. Nothing in it turns on why a fence was built. A fence put up to annoy a neighbor is fought in Illinois as a nuisance case in court, or under a city rule.

Documents read before writing that:

How fence height is measured in Illinois

Compare how height is measured across all 50 states

Illinois does not set this. It leaves it to the corporate authorities of each municipality.

Illinois never says where a fence height is measured from. The Illinois Municipal Code lets a city set the height and size of buildings, in one short line, and stops there. The Fence Act calls four and a half feet a legal fence and says nothing about the surface those feet start at. So the number and the way to measure it both come from the city.

(1) to regulate and limit the height and bulk of buildings hereafter to be erected;

65 ILCS 5/11-13-1Illinois General Assembly · Read 13 September 2026

The code hands this to the corporate authorities of each municipality, which is not published in the code itself.

Fence rules for corner lots in Illinois

Compare corner visibility across all 50 states

Illinois answers this in its own law. The words that do it are quoted below.

Illinois treats this as blocking the road. Under the Illinois Highway Code it is a petty offense to block a public highway, and running a fence onto one counts, unless the highway authority in charge gave permission. The fine runs from fifty to five hundred dollars, and more for each day the blockage stays after an order to take it out. That rule covers the road strip. A clear view triangle on private ground comes from city zoning.

If any person injures or obstructs a public highway by felling a tree or trees in, upon or across the same, or by placing or leaving any other obstruction thereon, or encroaching upon the same with any fence

605 ILCS 5/9-117Illinois General Assembly · Read 13 September 2026

Retaining wall rules in Illinois

Compare retaining walls across all 50 states

Illinois does not set this. It leaves it to the municipal or county residential building code, or the International Residential Code named in the construction contract.

Illinois has no statewide building code for homes, so no state law sets a height at which a wall that holds back dirt needs a permit. Where a town or county has its own building code, that code answers it. Where there is none, the Residential Building Code Act makes the builder and the buyer name a code in the building contract, and the current International Residential Code becomes part of that contract when they name none.

The home builder and the home purchaser may agree to adopt the International Residential Code or any municipal residential building code or county residential building code that is in effect on the first day of construction in any county or municipality that is within 100 miles of the location of the new home.

815 ILCS 670/15Illinois General Assembly · Read 13 September 2026

The code hands this to the municipal or county residential building code, or the International Residential Code named in the construction contract, which is not published in the code itself.

Fence materials allowed in Illinois

Compare materials across all 50 states

Illinois answers this in its own law. The words that do it are quoted below.

Illinois lists what a legal fence can be made of: rails, boards, stone, hedge, barbed wire, woven wire, or anything the town fence viewers judge just as good. The fence has to stand four and a half feet tall and be in good repair.

Fences four and one-half feet high, and in good repair, consisting of rails, timber boards, stone, hedges, barb wire, woven wire or whatever the fence viewers of the town or precinct where the same shall lie shall consider equivalent thereto suitable and sufficient to prevent cattle, horses, sheep, hogs and other stock from getting on the adjoining lands of another

765 ILCS 130/2Illinois General Assembly · Read 13 September 2026

Livestock and boundary fence law in Illinois

Compare agricultural fencing across all 50 states

Illinois answers this in its own law. The words that do it are quoted below.

Illinois calls a fence legal at four and a half feet tall and in good repair. It can be rails, boards, stone, hedge, barbed wire, woven wire, or anything the town fence viewers judge just as good at keeping cattle, horses, sheep and hogs off the land next door. Voters at the yearly town meeting can set a different number for their own town. In a county with no townships, the county board sets it.

Fences four and one-half feet high, and in good repair, consisting of rails, timber boards, stone, hedges, barb wire, woven wire or whatever the fence viewers of the town or precinct where the same shall lie shall consider equivalent thereto suitable and sufficient to prevent cattle, horses, sheep, hogs and other stock from getting on the adjoining lands of another

765 ILCS 130/2Illinois General Assembly · Read 13 September 2026

4.5 ftheight of a legal fence

Also on agricultural fencing in Illinois

  • set in state lawIllinois puts the duty on the animal owner, not on the neighbor. A separate act bans letting livestock roam loose anywhere in the state and tells owners to put up whatever it takes to hold them. The owner pays in court for the damage loose animals do. The one way out is showing the animals got out without the owner knowing, and that the owner had taken reasonable care to keep them in. 510 ILCS 55/1Illinois · Statute

Documents behind this page

9 documents, each read on the date shown. Nothing on this page rests on a summary of one.

  1. Illinois General AssemblyIllinois Compiled Statutes, Property, Fence Act765 ILCS 130/3 · Read 13 September 2026
  2. Illinois General AssemblyIllinois Compiled Statutes, Property, Fence Act, Legal and sufficient fences765 ILCS 130/2 · Read 13 September 2026
  3. Illinois General AssemblyIllinois Compiled Statutes, Illinois Residential Building Code ActIllinois Residential Building Code Act · Read 13 September 2026
  4. Illinois General AssemblyIllinois Compiled Statutes, Health Facilities and Regulation, Swimming Pool Safety Act210 ILCS 130/1 · Read 13 September 2026
  5. Illinois General Assembly, Joint Committee on Administrative RulesIllinois Administrative Code, Title 77, Part 820, Swimming Facility Code77 Ill. Adm. Code 820 · Read 13 September 2026
  6. Illinois General AssemblyIllinois Compiled Statutes, 65 ILCS 5, Illinois Municipal Code, Article 11, Division 13, Section 11-13-165 ILCS 5/11-13-1 · Read 13 September 2026
  7. Illinois General AssemblyIllinois Compiled Statutes, 605 ILCS 5, Illinois Highway Code, Article 9, Section 9-117605 ILCS 5/9-117 · Read 13 September 2026
  8. Illinois General AssemblyIllinois Compiled Statutes, Chapter 765, Fence Act765 ILCS 130/2 · Read 13 September 2026
  9. Illinois General AssemblyIllinois Compiled Statutes, 510 ILCS 55, Domestic Animals Running at Large Act510 ILCS 55/1 · Read 13 September 2026

What this page does not cover

Everything above is state law. Fence height, setback, corner visibility and materials are set by city and county ordinance in almost every state, and a local rule can be far stricter than the statewide default. A parcel can also carry an easement, an overlay district, a fire hazard zone or a recorded HOA restriction, none of which appear in a statute.

This is general information drawn from published government documents. It is not legal advice, statutes are amended, and the date beside each finding is the date the document was read. How findings are made · What the terms mean