Every outdoor swimming pool in Ontario with a water depth capable of exceeding 60 cm must be surrounded by a compliant enclosure. The authority is the Ontario Swimming Pools Act, R.S.O. 1990, c. S.22 and Ontario Regulation 565 — not the Ontario Building Code directly, though most municipal pool bylaws adopt OBC guard and fence construction standards (Section 9.8.8) by reference. This is what carpenters, contractors, and homeowners need to know before they build or inspect a pool fence.
Every pool enclosure in Ontario has to satisfy four core requirements that flow from O.Reg 565.
1. Height. The enclosure must be at least 1 200 mm high measured from grade (O.Reg 565, s. 9). That is 47-1/4 inches — just under four feet. In the City of Toronto, By-law 447-2004 raises this to 1 500 mm (59 inches, or about 4 ft-11 in). Other municipalities can and do impose higher minimums in their local pool bylaws, so the ORC 1 200 mm is the absolute floor, not a safe number to build to without checking with the local authority. Measure from the lowest adjacent grade on the exterior (street/neighbour) side of the fence — not the pool deck side, which may be higher. A fence that looks 1 200 mm tall from the pool deck can fail inspection if the grade on the outside is lower.
2. No openings larger than 100 mm. No opening in the enclosure — between pickets, rails, or any structural member, and including the gap between the bottom of the fence and the ground — may allow a 100 mm sphere to pass through (O.Reg 565, s. 11; OBC 9.8.8.5.(1) by reference). This is the same rule as the OBC 9.8.8 guard-height sphere test. In practice, a 38 mm (1-1/2") square picket at 3-1/2" (89 mm) centres gives a 51 mm clear gap — compliant with 49 mm of margin. Chain-link with 2" mesh (50 mm) also passes. The bottom-gap rule is the one that most existing fences fail when they settle — even a fence that passed inspection two years ago may have a 120 mm gap after frost-heave loosens the posts.
3. No climbable surfaces — the ladder-effect rule. No member, attachment, or opening between 100 mm and 900 mm above grade may facilitate climbing (OBC 9.8.8.6.(1), adopted by most pool bylaws). This zone captures the critical range from a toddler's first step to the point where an adult can brace a foot. A horizontal 2×4 rail at 600 mm height is a ladder rung. Horizontal cable rails, ranch-style boards, and lattice with openings wide enough to fit a child's foot all fail this rule. The standard solution is a fence with vertical pickets only, with no horizontal members in the climb zone — the top and bottom rails can be present if they are outside the 100–900 mm band and do not provide a climbable foothold.
4. Gate: self-closing, self-latching, latch at correct height. O.Reg 565, s. 10 specifies three gate requirements. First, the gate must be self-closing — it must automatically return to the closed position without manual assistance. A spring hinge (e.g. Stanley SP720) or a gravity-close mechanism satisfies this. Second, the gate must be self-latching — the latch must engage automatically when the gate closes. A barrel bolt or thumb-turn latch that requires manual operation does not comply. Third, the latch must be positioned at least 1 500 mm above grade on the exterior side of the gate, OR at least 1 200 mm above grade on the pool side. The pool-side placement at 1 200 mm is the lower alternative — it must be truly on the pool side (not accessible from the exterior without reaching over the top of the gate).
The Ontario Regulation 565 minimum of 1 200 mm is widely misquoted as the "Ontario pool fence requirement." It is not — it is the provincial floor, and every municipality in Ontario can and frequently does impose stricter requirements. The most common override is the fence height. Toronto requires 1 500 mm under By-law 447-2004, and has since 2004. Ottawa, Hamilton, and Mississauga follow the provincial 1 200 mm minimum in their pool bylaws but add specific material and installation requirements. A growing number of Ontario municipalities are increasing their minimums to 1 500 mm as older pool bylaws are updated. Before you build, call your municipal building or bylaw department and ask specifically for their current pool enclosure bylaw — not the provincial regulation. Some municipalities also require the gate to swing inward (toward the pool), restrict the materials that may be used (no wood rail fences in some jurisdictions), and require the enclosure to be on your lot, not on a shared property line.
It is also worth knowing that homeowners' associations and condominium declarations may impose additional enclosure requirements on top of the municipal bylaw — a condo pool fence may need to be 1 800 mm high and constructed of specific materials per the declaration's governing documents. These are private legal obligations that neither this tool nor the bylaw officer can override.
The Ontario Swimming Pools Act definition at s. 1.(1) covers any outdoor structure designed to be filled with water and used for bathing or swimming whose depth is capable of exceeding 60 cm (about 23-5/8"). The key phrase is "capable of exceeding" — the pool does not have to be filled to 60 cm to trigger the rules; it just has to be designed to hold that depth. A 24-inch-deep oval above-ground pool with a maximum depth of exactly 24 inches (610 mm) is technically covered. A small blow-up kiddie pool that never exceeds 600 mm of water depth is exempt. Hot tubs and outdoor spas are treated exactly the same as pools under O.Reg 565 — the enclosure rules apply in full if the water depth exceeds 60 cm. Many Ontario homeowners are surprised to learn their hot tub requires a compliant enclosure, gate, and latch, not just a cover. Seasonal above-ground pools that are set up and taken down each season still require a compliant enclosure for the entire period they are set up and contain water — the fence does not get a seasonal exemption. If you take the pool down every fall and re-install it every spring, the fence must be re-installed and inspected compliant before the pool is filled.
O.Reg 565 provides an important exemption for above-ground pools: a pool wall that is at least 1 200 mm high above grade on the exterior face may substitute for the enclosure fence on that side. This is why most 48-inch and 52-inch round and oval above-ground pool kits are sold with the claim that "no fence required on pool wall sides" — technically true if the wall height meets the minimum. Two conditions apply. First, the pool wall must actually be 1 200 mm above grade — if the pool is installed on a slope and the low side of the wall is only 900 mm above the exterior grade, the exemption does not apply on that side and a fence is required. Second, the access ladder must be removed or locked when the pool is not in use. The ladder is the only way a child can climb over the pool wall, so a ladder left in place defeats the enclosure. A lockable flip-up ladder (where the lower section can be raised and padlocked in the raised position) satisfies the requirement. In Toronto and municipalities with a 1 500 mm minimum, only above-ground pools with a wall height of 1 500 mm or more can use the wall-exemption — most standard 48-inch (1 219 mm) pool kits would still require a perimeter fence in Toronto.
If this tool, or a bylaw inspection, reveals that your current pool enclosure does not comply, here is the correct sequence. Do not wait for the inspector to come back. Under the Ontario Swimming Pools Act, a non-compliant enclosure is an ongoing offense — every day the pool is accessible without a compliant fence is a separate violation. Fix the most dangerous failures first: the bottom gap (most common cause of a child accessing the pool), horizontal members in the climb zone (most common gate failure), and a latch that is too low. A bottom rail that has settled and left a 150 mm gap can often be fixed in an afternoon by shimming or adding a J-channel base rail. Horizontal rails in the climb zone typically require replacing several fence panels or adding a vertical picket infill. A latch at the wrong height usually requires a new latch placement — not a new gate. Contact your local building or bylaw department to report that repairs are underway — most inspectors would rather work with a cooperative owner than issue a fine. If the fence is fundamentally non-compliant (wrong height, wrong material, wrong spacing throughout), budget for a full replacement and get a permit. Doing it right the first time costs less than a fine plus a forced re-inspection.
In Ontario, a swimming pool typically requires a building permit under the Ontario Building Code. The permit process usually includes the pool shell, the backfill, the equipment pad (pump, filter, heater), the electrical (which goes to ESA separately), and the enclosure. Most municipalities issue the pool permit and the enclosure as a single package — the pool cannot be used until the enclosure inspection passes. Some municipalities allow the pool to be filled before the enclosure inspection but require that access to the pool area be secured during construction. The enclosure permit — whether standalone or bundled with the pool permit — requires a site plan showing the pool location, the enclosure boundary, all gate locations, and the measured distance from the enclosure to the property lines. If the enclosure includes a building wall (e.g. the back of a garage), the plan must show that no openings in that wall (windows, personnel doors) allow access to the pool without going through a self-closing/self-latching gate. The permit drawing requirement is the reason this tool includes a "Copy Summary" button — the compliance check result can be attached to the site plan notes as a pre-check before the formal drawing is prepared.
This tool is a pre-design reference, not a permit document. Every pool enclosure in Ontario must comply with the Ontario Swimming Pools Act, O.Reg 565, and the local municipal pool bylaw. Verify every measurement with your local Chief Building Official or municipal bylaw officer. Verified 2026-06-01 by a Red Seal Carpenter.
Free Ontario pool fence compliance checker. Verify enclosure height (1.2 m / 1.5 m Toronto), 100 mm sphere rule, self-closing gate, latch height, and ladder-effect rule — Ontario Swimming Pools Act + O.Reg 565.
Part of ToolFluency’s library of free online tools for Ontario Building Code. No account needed, no data leaves your device.