The information contained on this page is a general overview of swimming pool codes and may not apply to your local codes. Please, before ordering, check with your local Building Inspector at City Hall and ask about the pool code laws and regulations as they may vary from the B.O.C.A. or I.B.C. standards.
The most important codes are these:
The fence must be at least 48" tall
The minimum distance between the bottom rail and the next existing horizontal rail must be at least 45". So most 3-horizontal rail fence styles must be either 54" or 60" depending if there are spears above the top rail
The spacing between pickets must be less than 4"
The space between the bottom rail and the ground must be 4" or less
The gate(s) must be self-closing, self-latching (The opening mechanism of the latch must be at least 54" above ground.) And all gates, that are accessible to the pool area, MUST open out, away from the pool area.
Please keep in mind when installing your fence, that any objects within 48" of the fence, on the outside of the fence (ex. Pool pumps, deck piers, lights, large rocks, retaining walls etc.), could technically be used as a stepping-stone making it easily accessible to your pool area. These codes are in place with the frame of mind to keep people from getting-into the pool area, not getting-out. So you are always safer to enclose objects that could serve as a stepping-stone inside the fenced in portion of the yard.