State guide Reviewed November 2026

Do You Need a Permit to Build a Fence in Texas?

Under the default in the state-adopted code, a fence up to 7 ft needs no permit, but cities amend it: Dallas starts at 6 ft (4 ft in a front yard) and San Antonio permits every new fence. Pool fences, masonry fences in Houston and tall fences are where permits usually start.

Statewide rule State-adopted code in cities, amendable Local Government Code 214.212 adopts the 2012 IRC as the municipal residential code; cities may add, modify or remove requirements.
Height that triggers it Over 7 ft under the state baseline Dallas permits over 6 ft (4 ft in front), Houston over 8 ft (masonry, concrete or electrified at any height), San Antonio every new fence.
Who issues it Your city; zoning or city code sets heights Cities may regulate structure height through zoning (211.003); Houston has no zoning, so deed restrictions set its limits.
Outside city limits County code law covers new houses only Chapter 233 covers new houses and big additions and does not authorize county zoning. Deed restrictions still apply.
How Texas sets building rules. Texas adopts the International Residential Code as it existed on May 1, 2012 as the municipal residential building code (Local Government Code 214.212); it applies inside cities, which may amend it by ordinance after a public hearing and may consider later ICC editions. Outside cities, the statutes reviewed give counties a residential code role only through Chapter 233, Subchapter F: a county that adopts it may require new houses and large additions to follow the 2008 IRC or the county seat's code, without prior approval or a county fee (233.153).

What does Texas law say about fence permits?

No Texas statute among those reviewed sets a fence permit rule directly. Local Government Code 214.212 adopts the International Residential Code as it existed on May 1, 2012 as the residential building code of Texas cities, and section R105.2 of the 2012 IRC lists fences not over 7 feet high as work exempt from a permit. The same list exempts retaining walls up to 4 feet unless they hold back a surcharge.

Cities may amend the code by ordinance after a public hearing, and many do. Dallas exempts fences up to 4 ft in a front yard and 6 ft elsewhere; Houston exempts non-masonry, non-electrified fences up to 8 ft; Fort Worth exempts solid fences up to 7 ft; San Antonio requires a permit for any new fence or for replacing more than 25% of one.

How tall can a fence be in Texas?

None of the statutes reviewed sets a height limit for a private fence. Height caps come from city zoning or city code where a city has them: Local Government Code 211.003 lets each city regulate the height and size of structures, Dallas caps fences at 9 ft and San Antonio at 12 ft, and Houston, which has no zoning, leaves limits to deed restrictions and plat building lines. The permit exemption and the height cap are separate questions: the IRC says an exemption does not authorize work that violates any other law or ordinance.

Fees are set locally, with one state limit: under Local Government Code 214.907 (H.B. 852, 2019) a city may not consider the value of a residential dwelling or the cost of constructing or improving it when it sets a building permit or inspection fee. Houston, Dallas and Fort Worth cite that rule for their residential fees, and in practice the cities on this site price by square foot, length, trade or a flat fee. Within 45 days of an application, a city must grant or deny the permit, explain in writing why it cannot, or reach a written agreement with you on a deadline (214.904).

Can an HOA stop you from building a fence in Texas?

Partly. Under Property Code 202.023, which does not cover condominiums, an HOA may not enforce a covenant that prevents you from installing security measures, including a perimeter fence. It may still regulate the type of fencing, keep fences from obstructing sidewalks, drainage easements and license areas, and, where its covenant says so, prohibit fencing in front of the front-most building line. That front-yard ban cannot be applied if your address is confidential under law or a law enforcement agency documents your need for enhanced security, and fences built before September 1, 2025 may be kept. Under Property Code 202.022 an HOA also may not prohibit a mesh or clear-panel pool fence in metal frames that meets state or local safety rules.

Do you need a fence permit outside city limits in Texas?

Outside city limits the picture changes. State law gives counties a residential code role only for new houses and large additions. Local Government Code Chapter 233, Subchapter F lets a county that adopts it by resolution or order hold a new single-family house or duplex on a vacant lot, or an addition that grows a home by more than 50 percent, to the 2008 IRC or the county seat's code. That law cannot be read to require prior approval by the county, and the county may not charge a fee to enforce it.

A fence is neither, and that law does not authorize county zoning. In a city's extraterritorial jurisdiction, Local Government Code 212.003 bars the city from regulating the use and size of buildings there unless other state law allows it. Deed restrictions still apply. In a mapped flood zone, ask the county floodplain administrator: every city and county must adopt flood insurance program rules under Water Code 16.3145, and those local rules vary.

Who may build or permit a fence in Texas?

None of the licensing statutes reviewed covers fence building. Where a city requires a fence permit, the city decides who may sign for it: Dallas lets a homestead owner act as contractor with an affidavit, Fort Worth accepts an owner-occupant with a homestead permit, and San Antonio lets homeowners apply with proof of ownership. A gate opener or lighting is electrical work, which needs a licensed electrician under Occupations Code 1305.151 unless the homeowner exception applies.

Fence Permit rules in the 4 Texas cities we have researched

Each row is read off our page for that city, which quotes the city’s own code section and fee schedule. Follow the city link for the conditions on each rule, the worked fee examples and the sources.

CityOrdinary fenceBuilding permit starts atZoning height caps: front · side and rearCity fee for a 6 ft wood fence
DallasExempt below a heightOver 6 ft, or over 4 ft in a front yard4 ft front · 6 ft; 9 ft maximum with a permit$0; over 6 ft about $321 ($898 if the $577 plan review minimum is charged)
Fort WorthExempt below a heightOver 7 ft for solid fences; over 8 ft for open wire without slats4 ft, open design, front and projected front yard (chain link banned there) · not quoted; Zoning Ordinance 5.305 unreachable$0; over 7 ft an estimated $168.95 ($119 one-trade fee + $33.08 + $16.87)
HoustonExempt below a heightOver 8 ft; masonry, concrete or electrified fences at any heightNo zoning: deed restrictions and plat building lines are the only limits · same$0; a permitted 150 ft masonry fence about $147
San AntonioPermit, any new fenceAny new fence, or replacing more than 25% of an existing one3 ft solid or 5 ft open front · 6 ft; 8 ft only under the 35-514(c)(2) exceptions$28.75 flat ($31.05 online with the two 4% surcharges; $42.55 on paper)

A ⚠ marks a city whose own documents give two different answers. To compare more cities, see fence permit rules in 30 cities and fence permit fees in 30 cities.

Not in one of these cities?

The rule that binds you is the one your own city has adopted, or your county’s if you live outside city limits. Ask the building department for its list of work exempt from permit and its zoning rules for accessory structures before you buy materials; the phone call is free and the answer is specific to your lot.

Frequently asked questions

The 2012 International Residential Code, which Texas adopts as the city building code, exempts fences not over 7 feet high. Cities may change that by ordinance: Dallas requires a permit over 6 feet (4 feet in a front yard), Houston over 8 feet for most materials, and San Antonio requires a permit for any new fence. Local height limits apply even when no permit is needed.
Outside a condominium, Property Code 202.023 bars an HOA from enforcing a covenant that stops you from installing a perimeter fence as a security measure. It can still regulate the type of fence, keep it from obstructing sidewalks and drainage easements, and, if its covenant says so, prohibit fencing in front of the front-most building line of the house.
No state statute among those reviewed sets a height for private residential fences. Fence heights come from city zoning or city code, which Local Government Code 211.003 lets cities write, and from deed restrictions or HOA covenants. Outside city limits, the county residential code law does not cover fences or authorize county zoning.
It depends on the city. Cities may set pool enclosure standards under Local Government Code 214.101, and Dallas, for example, excludes pool enclosures from its fence exemption, so they need a permit at any height. Pools of apartment complexes and property owners associations must also meet the 48 inch enclosure rule in Health and Safety Code Chapter 757.
The county residential code law in state statute covers only new houses and large additions and does not authorize county zoning, so it does not reach a fence. Deed restrictions still apply, and in a mapped flood zone ask the county floodplain administrator, since every county must adopt flood insurance program rules.

Sources

Every statement about state law on this page is taken from the documents below, read on the date shown at the top. Laws and adopted code editions change; the linked text is the authority, and your city or county building department has the final word on your project.

  • Local Government Code Sec. 214.212(a); Local Government Code Sec. 214.212(c); Local Government Code Sec. 214.212(e); Local Government Code Sec. 214.907(a) (H.B. 852, 2019); Local Government Code Sec. 214.907(a)(1)-(2); Local Government Code Sec. 214.904(b); Local Government Code Sec. 214.904(b)(1)-(3); Local Government Code Sec. 214.101(a) — statutes.capitol.texas.gov
  • 2012 International Residential Code Sec. R105.2 (Public.Resource.Org copy on archive.org, a mirror), Building item 2; 2012 International Residential Code Sec. R105.2 (Public.Resource.Org copy on archive.org, a mirror), Building item 3; 2012 International Residential Code Sec. R105.2 (Public.Resource.Org copy on archive.org, a mirror) — archive.org
  • Local Government Code Sec. 211.003(a) — statutes.capitol.texas.gov
  • Property Code Sec. 202.023(a); Property Code Sec. 202.023(b); Property Code Sec. 202.023(c)(2); Property Code Sec. 202.023(c)(3); Property Code Sec. 202.023(c)(5); Property Code Sec. 202.023(e); Property Code Sec. 202.023(e)(1); Property Code Sec. 202.023(d); Property Code Sec. 202.022(b)(1); Property Code Sec. 202.022(a) — statutes.capitol.texas.gov
  • Local Government Code Sec. 233.151(a)(1); Local Government Code Sec. 233.151(a); Local Government Code Sec. 233.152; Local Government Code Sec. 233.153(a); Local Government Code Sec. 233.153(d)(1); Local Government Code Sec. 233.153(f); Local Government Code Sec. 233.153(d)(2) — statutes.capitol.texas.gov
  • Local Government Code Sec. 212.003(a); Local Government Code Sec. 212.003(a)(1)-(3) — statutes.capitol.texas.gov
  • Water Code Sec. 16.3145 — statutes.capitol.texas.gov
  • Occupations Code Sec. 1305.151 — statutes.capitol.texas.gov
  • Health and Safety Code Sec. 757.002; Health and Safety Code Sec. 757.003(b) — statutes.capitol.texas.gov

Related: Texas shed permit · Texas deck permit · Texas pool permit · Fence permit guide · All state guides

Stay up to date
Get notified when we add new cities or update permit fees.