If you own a pool in McKinney, Texas, or you are planning to have one built, one of the most important things you need to understand is the state's barrier law. Texas does not leave pool fencing up to homeowner preference. It is required by law, and the requirements are specific. Failing to comply puts your family and neighbors at risk, and it exposes you to serious legal and financial consequences.
This guide covers everything McKinney homeowners need to know about pool fence requirements: what Texas law says, what McKinney's city permits require, what materials are allowed, how to check your existing fence for compliance, and what it will cost to get up to code.
Texas State Law: The Foundation of Pool Barrier Requirements
The governing statute is Texas Health and Safety Code Chapter 757, also known as the Swimming Pool and Spa Safety Act. This law applies to all residential pools in Texas, including in-ground pools, above-ground pools, and portable pools that hold more than 18 inches of water.
The key requirement: every residential swimming pool must be enclosed by a barrier. That barrier must restrict a child's ability to access the pool without supervision. The law was enacted specifically to reduce drowning deaths among young children, and it reflects decades of data showing that pool barriers are one of the most effective drowning prevention tools available.
If your pool was built before the law took effect, you are not automatically grandfathered in. Texas law and McKinney's local ordinances require existing pools to meet barrier standards. If you purchase a home in McKinney that has a pool, the compliance obligation transfers to you as the new owner. More on that below.
Understanding the state law is just the starting point. Local jurisdictions like McKinney can add requirements on top of state minimums, and your homeowners association may layer on even more rules. The most restrictive requirement is always the one that applies.
Minimum Fence Height: 48 Inches on the Outside
Texas law requires the pool barrier to be at least 48 inches tall, measured from the outside of the fence. That is four feet. The outside measurement matters because that is the approach path a child would take to reach the pool. Measuring from the pool side, where the ground may be at a different grade, is not sufficient.
A few practical points McKinney homeowners should keep in mind:
- The 48-inch height must be maintained along the entire length of the fence, including corners and gate sections.
- If your yard has a slope, the fence height must account for the grade change. You cannot have low spots where a child could reach over or squeeze under.
- The fence must not have handholds or footholds that would allow a child to climb it. This is one reason chain-link fencing is generally discouraged for pool barriers, because the interlocking pattern creates natural footholds.
- Openings in the fence cannot be large enough for a four-inch sphere to pass through. This prevents a small child from squeezing between pickets or rails.
Many McKinney homeowners choose to go taller than 48 inches for additional safety and aesthetics. A five-foot aluminum fence, for example, is very common in North Texas neighborhoods and provides a comfortable margin above the legal minimum.
Gate Requirements: Self-Closing and Self-Latching
The gate is often the weakest point in any pool barrier, because it is the part that gets left open. Texas law addresses this directly with specific requirements for pool gates:
- Self-closing: The gate must close on its own after being opened. It cannot rely on a person to push it shut.
- Self-latching: The gate must latch automatically when it closes. A latch that has to be manually engaged does not meet this requirement.
- Latch placement: The latch must be located on the pool side of the gate, at least 54 inches above the ground. This keeps the release mechanism out of reach for young children, who cannot reach over the top of the gate to disengage it. Alternatively, the gate can use a key-operated or combination lock, in which case the height restriction on the latch may differ.
- Outward swing: Gates should swing away from the pool, meaning a child pushing on the gate from the outside pushes it toward the latch rather than through it.
Self-closing mechanisms use spring hinges or hydraulic closers. Over time, these mechanisms can wear out, meaning a gate that was compliant when installed might no longer self-close reliably. Check your gate hardware at least once a season, and replace worn springs or closers promptly. This is something our team often catches during routine pool maintenance visits.
What Counts as a Pool Barrier in Texas
Under Texas law, a compliant pool barrier can be one of the following, or a combination:
- A fence or wall that meets the height and construction standards described above.
- The wall of a building, including your house, when the house itself forms one side of the enclosure.
- A combination of fencing and building walls, as long as the total enclosure is complete and every opening is controlled.
The combination approach is the most common in McKinney. In many backyard layouts, the house sits on one side of the pool area, and the fence covers the remaining sides. This is perfectly acceptable under state law, but it creates a critical requirement: any door in the house wall that opens directly into the pool enclosure must comply with additional rules.
When Your House Wall Is Part of the Barrier
If a door in your home opens directly into the pool area, that door becomes part of the barrier, and it must meet one of the following standards:
- Door alarm: The door must have an alarm that sounds when the door is opened. The alarm must be audible throughout the house, and it cannot have a silencing feature that stays engaged for more than 30 seconds.
- Self-closing and self-latching door: The door must close and latch on its own, with the latch mechanism out of reach of young children.
This requirement catches a lot of McKinney homeowners by surprise, especially when they first purchase a home with a pool. The back door into the kitchen, the sliding glass door from the living room, the French doors off the master bedroom, if any of those open to a pool area that uses the house wall as one side of the barrier, that door must be compliant.
A common solution is to install a door alarm, which is relatively inexpensive and does not require replacing the door hardware. Door alarms designed for pool compliance are widely available at home improvement stores and pool supply retailers in the McKinney area.
Fence Material Options for McKinney Pool Owners
Texas law does not mandate a specific material for pool barriers, but the material you choose must meet the physical requirements: appropriate height, no handholds or footholds, no gaps larger than four inches. Here are the most common options in North Texas:
Aluminum and Wrought Iron
By far the most popular pool barrier material in McKinney and the surrounding Collin County area. Aluminum fencing is durable, low-maintenance, and allows full visibility into and out of the pool area, which is a significant safety advantage. You can see a child in the pool from inside the house. Wrought iron provides a similar look with even more heft, though it requires occasional maintenance to prevent rust in North Texas humidity. Installed costs for aluminum pool fencing in McKinney typically run $25 to $40 per linear foot.
Wood Privacy Fence
Some homeowners prefer a wood privacy fence for the seclusion it provides. A properly built six-foot cedar privacy fence can meet barrier requirements, and many McKinney HOAs are comfortable with this look. The downside from a safety standpoint is the loss of visibility. You cannot see into the pool area from outside the fence, which means you may not notice if a child has gained access. Wood fencing also requires more maintenance than aluminum in the Texas climate.
Vinyl Fencing
Vinyl pool fencing offers similar aesthetics to wood with less maintenance. It does not rot, warp, or require repainting. Vinyl can be installed in privacy or picket styles, and it meets pool barrier height requirements when installed correctly. It is a solid mid-range option for McKinney homeowners who want longevity without the higher cost of aluminum or glass.
Glass Panel Fencing
Glass panel fencing has become a premium choice for high-end pool installations throughout North Texas. Frameless tempered glass panels provide maximum visibility and a clean, modern aesthetic that complements contemporary home designs. Because the panels are solid, there are no gaps, no footholds, and no climbing opportunities. The trade-off is cost: glass panel pool fencing in the McKinney area typically runs $150 to $250 per linear foot installed. For a 100-foot perimeter, that is a significant investment, but homeowners who choose glass consistently report that it dramatically elevates the appearance of the entire pool area.
Chain Link Fencing
Chain link is generally not recommended for pool barriers, and it is increasingly prohibited by McKinney HOAs. The woven wire pattern creates footholds that make the fence easy to climb, even for young children. While some older pool installations in Collin County use chain link, if you are building a new pool or replacing an existing fence, there are better options available at comparable price points.
What Is Not Allowed as a Pool Barrier in Texas
A few things that might seem like reasonable pool barriers do not meet Texas legal standards:
- Soft or collapsible fencing: Any fencing that can be pushed aside, collapsed, or easily moved does not qualify as a barrier under state law. The barrier must be a rigid, fixed structure.
- Removable mesh fencing as a primary barrier: Removable mesh pool fences have specific compliance requirements in Texas and generally cannot serve as the sole primary barrier. If you see these marketed as "compliant" pool barriers, read the fine print carefully and verify with McKinney's code enforcement office before relying on one as your only barrier.
- Pool covers alone: A pool cover, even a hard safety cover, does not substitute for a barrier fence under Texas law. Covers can supplement other safety measures, but they cannot replace the required perimeter barrier.
- Hedges or landscaping: Shrubs, hedges, or other plantings do not meet barrier requirements, no matter how dense.
McKinney City Requirements: Permits and Inspections
On top of Texas state law, the City of McKinney has its own development standards and code enforcement. Here is what you need to know at the local level:
- Fence permit required: Installing a new pool barrier fence in McKinney requires a fence permit from the city's Development Services department. Do not skip this step. Building without a permit can result in fines and a requirement to tear out and redo work.
- Inspection required: Before your pool can be filled and used, the barrier must pass a city inspection. The inspector will verify that your fence meets state law requirements and McKinney's local standards.
- New pool construction coordination: If you are having a new pool built, your pool contractor should coordinate the fence permit and inspection as part of the overall project. Our team handles this routinely. You can read more about the overall permitting process in our guide to pool permits in McKinney.
- Re-inspection after fence changes: If you replace or significantly modify your pool barrier after the initial installation, a new permit and inspection may be required.
McKinney's building department can be reached through the City of McKinney's Development Services portal. When in doubt, call and ask. City staff would much rather answer a question upfront than deal with a code violation after the fact.
HOA Rules vs. State Law: Which Wins?
Many McKinney neighborhoods are governed by homeowners associations, and HOA fence rules can be significantly more restrictive than state law minimums. Common HOA restrictions in Collin County neighborhoods include:
- Approved fence materials (often prohibiting chain link, certain vinyl styles, or non-matching wood species)
- Fence color and finish requirements
- Height limits that may conflict with pool barrier minimums (in most cases, HOA rules will grant an exception for required pool barriers, but you need to apply for that exception in writing)
- Style requirements to maintain neighborhood aesthetic consistency
The general rule is that the most restrictive standard applies. If your HOA requires a six-foot fence but state law only requires four feet, your HOA rule governs. If your HOA would normally limit fences to four feet but state law requires at least four feet for pool barriers, you comply with state law and document your HOA approval. Always get HOA approval in writing before starting fence installation, and keep that documentation with your permit records.
If you are unsure whether your fence plans will satisfy both state law and your HOA, consult with your pool contractor before ordering materials. We have worked with dozens of McKinney HOAs and can help you navigate the approval process.
Buying a Home with a Pool: You Inherit the Compliance Obligation
This is one of the most important points in this entire guide, and it surprises many buyers: if you purchase a home in McKinney that has a pool, you are responsible for ensuring the pool barrier is compliant with current Texas law and McKinney ordinances. The seller's compliance history does not protect you.
Before closing on a home with a pool in North Texas, we strongly recommend having a professional pool inspection that specifically covers barrier compliance. Inspectors will assess:
- Fence height and condition along the entire perimeter
- Gate hardware: self-closing and self-latching function
- Latch placement and accessibility to children
- Door compliance if house walls are used as part of the barrier
- Any gaps, damage, or missing sections
If the inspection reveals non-compliance, you have options: negotiate a repair credit with the seller, require the seller to bring the fence into compliance before closing, or plan for the cost of bringing it into compliance yourself after purchase. What you cannot do is ignore it. A non-compliant barrier is a liability you own the moment you close on the house.
This is also a good time to schedule a full equipment inspection. Our pool repair team regularly helps new McKinney pool owners assess the full condition of a pool they have just purchased.
How to Tell If Your Existing Fence Is Compliant
If you already own a pool in McKinney, here is a quick self-inspection checklist:
- Measure fence height from the outside. Is it 48 inches or taller along the entire perimeter, including any low spots caused by grade changes?
- Check for gaps. Can a four-inch sphere (about the size of a softball) pass through any opening in the fence or under the fence line?
- Test the gate. Open it fully, then let go. Does it close completely and latch on its own within a few seconds?
- Check latch height. Is the latch on the pool side of the gate at least 54 inches from the ground? Can a five-year-old reach it by standing on the outside of the fence?
- Inspect gate hardware. Is the self-closing spring functioning? Does the latch engage every time?
- Walk the perimeter. Is the fence continuous with no missing sections, damaged panels, or areas where the fence has separated from a post?
- Check all doors. If your house wall forms part of the barrier, does every door that opens to the pool area have a working alarm or self-closing hardware?
- Look for footholds. Can a determined child find a way to climb your fence? Are there nearby structures, furniture, or landscaping that could be used as a boost?
If you find any issues during this self-inspection, address them promptly. Most repairs are inexpensive compared to the alternative.
Consequences of Non-Compliance
The consequences of having a non-compliant pool barrier in Texas are serious, and they go beyond the city fine:
- Liability in the event of an accident: If a child gains access to your pool through a non-compliant or missing barrier and is injured or drowns, your legal exposure is significant. Texas courts take pool barrier compliance seriously in wrongful death and personal injury cases. Your homeowner's insurance will also scrutinize whether your barrier met legal standards.
- Insurance consequences: Some homeowner's insurance policies in Texas have specific pool barrier requirements. A non-compliant barrier can void your coverage, leave you without a defense in a lawsuit, or result in policy cancellation.
- City fines: McKinney code enforcement can issue citations for pool barrier violations. Fines accumulate until the violation is corrected.
- Required remediation: If a code violation is documented, you may be required to correct it within a specified timeframe or face escalating penalties.
Pool safety is one area where the legal and ethical obligations align perfectly. A proper barrier protects children, protects you from liability, and protects your insurance coverage. Our guide on pool safety rules for North Texas families covers additional safety practices that go hand in hand with barrier compliance.
The Difference Between Your Yard Fence and Your Pool Barrier
This is a point of confusion for many McKinney homeowners. Your backyard perimeter fence and your pool barrier are not necessarily the same thing, and they are governed differently.
If your entire backyard is enclosed by a six-foot privacy fence and your pool is within that yard, does the yard fence qualify as your pool barrier? It depends. The yard fence must meet all of the pool barrier requirements: appropriate height as measured from outside the enclosure, no gaps larger than four inches, self-closing and self-latching gates on every entry point, and compliant door hardware on any house doors within the enclosure. A typical backyard privacy fence often falls short on the gate requirements, because most yard gates are not self-closing and self-latching.
Additionally, if the pool is within the yard but a person can enter the yard through a gate that is not pool-compliant, the yard fence does not function as a compliant pool barrier. Many McKinney homeowners solve this by installing a secondary fence specifically around the pool within the larger yard. This adds cost, but it creates a clear, dedicated barrier that is easy to inspect and maintain.
If you are planning a new pool and want to use your yard perimeter fence as the primary barrier, discuss this specifically with your contractor. It can work, but every gate and door entry into the enclosed space must meet pool barrier standards. You can find more guidance in our post on what to look for in a pool builder, including how experienced builders coordinate barrier design with pool construction from the start.
Cost of Pool Fencing in McKinney
Here is a realistic overview of what pool barrier fencing costs in the McKinney area as of 2026:
- Aluminum pool fencing: $25 to $40 per linear foot installed. For a typical pool with a 100-foot barrier perimeter, expect $2,500 to $4,000. Aluminum is the sweet spot for most McKinney homeowners: compliant, durable, visibility-preserving, and reasonably priced.
- Wrought iron: $30 to $50 per linear foot installed, depending on style complexity.
- Wood privacy fence: $20 to $35 per linear foot installed for cedar. Lower upfront cost, but factor in maintenance over time.
- Vinyl fencing: $25 to $40 per linear foot installed. Comparable to aluminum, with good longevity in North Texas conditions.
- Glass panel fencing: $150 to $250 per linear foot installed. Premium pricing for premium aesthetics. A 100-foot perimeter could run $15,000 to $25,000 or more depending on glass thickness and framing.
These are installed costs including labor, posts, hardware, and gates. Permit fees in McKinney are separate and vary based on project scope. Always get multiple quotes, and verify that each contractor is pulling the appropriate permits.
Frequently Asked Questions
Does my above-ground pool require a barrier fence in Texas?
Yes. Texas Health and Safety Code Chapter 757 applies to any residential pool, including above-ground pools, that holds more than 18 inches of water. Above-ground pools must have a barrier that prevents child access, either a surrounding fence or a system that prevents access to the pool's ladder when it is not in use. A retractable or lockable ladder alone is not sufficient if children can otherwise climb onto the pool structure.
I bought a home with a pool already installed. Do I need to bring the fence up to current code?
Yes. The compliance obligation transfers to the current owner of the property. If you are unsure whether your barrier is compliant, arrange for an inspection before assuming it meets current standards. Non-compliant barriers put you at legal risk even if the pool predates current requirements.
My gate closes but doesn't latch automatically. Does that count?
No. Texas law requires both self-closing and self-latching function. A gate that closes but must be manually latched does not meet the requirement. This is one of the most common compliance failures we see during pool inspections in the McKinney area, and fortunately it is also one of the easiest fixes. A replacement self-latching latch mechanism typically costs under $50 and can be installed in an afternoon.
Can I put the gate latch on the outside of the fence?
Only under specific conditions. The standard requirement is that the latch be on the pool side of the gate, at least 54 inches above the ground. If the latch is on the outside and at a height reachable by a child, it does not meet Texas law requirements. The exception is if the latch is a key-operated or combination lock, which can be positioned on the outside because a child cannot operate it without the key or combination.
Can my backyard perimeter fence serve as my pool barrier?
It can, but only if every entry point into the enclosed area meets pool barrier gate requirements, including self-closing and self-latching hardware, and any house doors that open into the space are compliant. Most standard backyard gates do not meet these requirements without modification. A McKinney building inspector will evaluate the entire enclosure during the pool inspection, not just the section of fence immediately around the pool.
My HOA limits fence height to 4 feet. That is the minimum for pool barriers. What do I do?
Four feet (48 inches) is the legal minimum, so a 4-foot fence meets the state requirement. However, confirm the 48-inch measurement is from the outside and that the fence is exactly 48 inches at every point, including near any grade changes. If your HOA tries to restrict your pool barrier to less than 48 inches, the state law requirement takes precedence. Document your position in writing to the HOA and keep a copy.
Are removable mesh pool fences legal in Texas?
Removable mesh fences occupy a complicated position under Texas law. They must meet specific standards to qualify as a barrier, and they generally cannot be the sole primary barrier for a residential pool under current Texas requirements. If you are considering a removable mesh fence system for your McKinney pool, consult with the city's code enforcement office and your insurance carrier before purchasing or installing.
Work With El Dorado Pools on Your McKinney Pool
Pool barrier compliance is not something to figure out on your own. The stakes, legal liability, insurance coverage, and most importantly child safety, are too high. Whether you are building a new pool, buying a home with an existing pool, or wondering whether your current barrier meets Texas law, El Dorado Pools is here to help.
We have been serving McKinney homeowners and the broader Collin County area for over 18 years. We know the Texas Health and Safety Code requirements, we know McKinney's permitting and inspection process, and we know the HOA rules in dozens of local neighborhoods. When you work with us, you are not guessing about compliance.
From new pool construction to pool maintenance to barrier inspections and pool repair, we handle every aspect of pool ownership so you can focus on enjoying your backyard. If you have questions about your pool's fence or want to schedule an inspection, reach out to us today.
Call us at (214) 945-6000 or contact us online to get started. We are happy to answer questions about barrier requirements, schedule a site visit, or discuss your options. There is no obligation, and the conversation could save you from a costly compliance problem down the road.