Pool and spa rules in York, Pennsylvania
Source: local code / Updated December 1, 2026
In York, pools deeper than 24 inches must sit at least 5 feet from side and rear lot lines and 10 feet from the house. Shallower pools (24 inches to 3 feet) may be 3 feet from side and rear lines, or 1 foot from one side line on lots under 18 feet wide if a 6-foot solid fence is built along that line.
The short answers
Setback from side/rear lot line
Local code5ft
Applies to: pools deeper than 3 feet; shallower pools have smaller setbacks
Source wording [1]Above-ground pools and spas
Local codeAbove-ground pools, hot tubs, spas and fixed wading pools over 24 inches deep are private swimming pools and follow the same location rules.
Source wording [2]How York compares nearby
Pool rules in the closest places we cover. A blank means the code we have does not say.
| Place | Minimum barrier height | Self-closing, self-latching gate | Permit required |
|---|---|---|---|
| York | |||
| York Township5 mi | 4 ft | Yes | |
| Windsor Township6 mi | 4 ft | Yes | |
| Conewago Township8 mi | 4 ft | Yes | |
| Chanceford Township15 mi | 4 ft | Yes | |
| Hopewell Township18 mi | Yes |
What the code says
The exact wording behind each answer, checked against the source text.
- [1]
YorkLocal code7.03
Pools in excess of a design depth of twenty-four inches and erected on a lot of any width shall be located at least five (5) feet from the rear and side property line and ten (10) feet from the principal building, with the following exceptions:
Supports: Setback from side/rear lot line
- [2]
YorkLocal code7.03
This includes in-ground, above-ground and in-ground pools; hot tubs; spas and fixed-in-place wading pools.
Supports: Above-ground pools and spas
Source documents
Codes change, and some rules depend on your zoning district or lot. Confirm with York before you build or apply. Spotted something out of date? Tell us.