Where to Put a Pool on Your Lot: Setbacks, Sun, Views and Access
The code decides where a pool can go. The sun, the house and the machines decide where it should go. The setbacks four local codes set, how far a winter shadow reaches, and what to check on the survey before anyone draws the pool.
Put the pool inside the area your zoning setbacks leave open, off any easement and clear of the septic and well distances. Then pick the spot within that area for sun, the view from the house, drainage and machine access. Your city or county permit office sets the setbacks, so ask it for your zoning district's figures.
That order matters. The rules draw a box on the survey, and nothing outside the box can be built. Inside it, the choices are yours, and they decide how the pool feels to use. The diagram at the top of this page shows both layers on one lot.
Key facts
- The setbacks belong to your permit office. The City of Gainesville, unincorporated Alachua County, the City of Ocala and unincorporated Marion County each write their own. No single figure applies to every lot.
- Alachua County names pools as accessory structures. Its Unified Land Development Code lists swimming pools alongside sheds, garages and screen enclosures (Chapter 410, read December 1, 2026).
- Ocala names them too. Its code allows pools in side and rear yards, and puts rear-yard accessory structures at least 3 feet from the rear line and 5 feet from the house (Sec. 122-254, read December 1, 2026).
- Glass near the water is a code question. A window or door within 60 inches of the water's edge, with its bottom edge less than 60 inches above the walking surface, is a hazardous location for glazing (Florida Building Code, Residential, R308.4.5).
- Digging needs notice. The excavator has to notify the state's one-call system at least two full business days before excavation (Florida Statutes, 556.105).
- The winter shadow is long. At Gainesville's latitude, a wall casts a shadow about 13 feet long for every 10 feet of height at midday in late December, by our calculation.
What decides where a pool can legally go?
Three things, in this order: the setbacks of your zoning district, any easement recorded on the plat, and the state's distances from a septic system or a private well. Together they draw the area the pool and its structures have to fit inside. Everything else on this page is a choice made within that area.
Each code also says what a setback is measured to. Alachua County measures from the lot line to "the exterior vertical wall of a building or structure." Marion County measures from the lot lines, and its definition of a structure is "anything constructed or built which is located on or under land," which covers a pool. Ask your permit office which edge of your pool, deck and enclosure it measures to before the design is final.
How far does a pool have to be from the property line?
It depends on which permit office covers your parcel, and each one applies its own code. Inside Gainesville or Ocala city limits it is the city; outside them, Alachua County or Marion County. How each office reviews a pool is in our guides to pool permits in Gainesville and Alachua County and pool permits in Ocala and Marion County.
The table below is what we read in each code, at the section named, on December 1, 2026, for the residential districts listed. It is each jurisdiction's own rule, not a figure for every lot. Your zoning district may be another one, and the office applies the code in effect when you apply.
| Permit office's code | Does the code name pools? | Accessory setbacks, for the districts named | Section read |
|---|---|---|---|
| Unincorporated Alachua County | Yes, as an accessory structure | Single-family residential districts. Lots under 1 acre: front 10 ft, side 5 ft, rear 7.5 ft. 1 acre or more: front 15 ft, side 10 ft, rear 10 ft | ULDC Ch. 410; Table 403.07.2 |
| City of Gainesville | Not in its definition of an accessory structure | Residential districts in Table V-5: same as the house, except rear 5 ft; not in the front or street side yard | LDC 30-5.34; Table V-5 |
| Unincorporated Marion County | Pool enclosures, in its agricultural table; any structure on or under land counts | Residential classes in Table 4.2-4: rear or side yard only; front 25 ft, side 8 ft, rear 8 ft (R-E: 25 ft side and rear) | LDC 4.2.6.C(8); Table 4.2-4 |
| City of Ocala | Yes, by name | Residential districts: side yard with the district's side setback; rear yard at least 3 ft from the rear line and 5 ft from the house | Code 122-254 |
A few details change the answer on real lots:
- Agricultural land in Alachua County. On A and A-RB parcels, the code sets 40 feet front and rear and 20 feet at an interior side, and 25 feet at the rear for accessory buildings (Table 403.04.1).
- Agricultural land in Marion County. On A-1, A-2 and A-3 parcels, the table has its own row for accessory pool enclosures: 25 feet front, side and rear (Table 4.2-2).
- Older subdivisions. In Alachua County, on a platted subdivision that never set accessory setbacks, a structure may meet whichever is less restrictive, the plat's setback or the district's accessory setback (407.02(b)).
- Screen enclosures. In Gainesville's residential districts, a screened enclosure may sit 3 feet from the rear property line, no more than 8 feet tall at the setback line (Table V-5, note 8). Ocala lets a pool's screen enclosure attach to the house (122-254).
- The deck. Alachua County lets driveways and similar concrete slabs project into a setback, and patios only if they are removable (407.05(d) and (e)). Whether your pool deck counts as either is the county's call.
Your HOA, a planned development or the plat can be stricter than any of these, and the smaller cities in both counties have their own codes. The figures that bind your lot are the ones your permit office applies to your zoning district and your survey. We confirm them with that office and put them on the drawing before the pool is drawn.
What about easements, septic and wells?
An easement is a right someone else holds over a strip of your land, for a utility, drainage, access or another stated use. It is recorded on the plat and shows on a boundary survey. Alachua County's code keeps accessory structures in a front yard out of any easement (407.02(a)). Elsewhere, what may go on an easement is set by its terms, its holder and your permit office's review, so read it, and ask the office, before deciding a pool can sit there. Both of our permit guides list what each office wants on the site plan.
A septic system or a private well adds distances of its own, set by the state, around the tank, the drainfield and the wellhead. They can push the pool, the deck and the equipment pad to the other side of the yard. The distances and who reviews them in each county are in our guide to building a pool on a lot with a septic tank and a well. For placement, the point is that Alachua County's pool plan review asks for a site plan showing property boundaries, building setbacks, wells, septic systems, the flood zone and every existing structure. All of those go on one sheet.
Which side of the house gets the most sun?
South of the house gets sun all year. North of the house is in shadow at midday in winter. In June the midday sun is almost overhead, so in summer the orientation matters less at noon and more in the late afternoon.
We worked out the sun's position for Gainesville and Ocala with the equations NOAA publishes for its solar calculator, at the coordinates of each city's NOAA weather station. The shadow lengths are for flat ground:
| Date | Sun's height at midday, Gainesville | Shadow at midday, per 10 ft of wall | Sunrise and sunset direction |
|---|---|---|---|
| June 21 | 84° | about 1 ft | About 27° north of east and north of west |
| March 20 | 60° | about 6 ft | Due east and due west |
| December 21 | 37° | about 13 ft | About 27° south of east and south of west |
Ocala is about half a degree farther south, and its figures round to the same numbers.
What that means on a lot:
- A pool north of the house. In late December, a wall 20 feet tall shades about 27 feet of ground north of it at midday. Put the pool's near edge inside that distance and part of its water sits in that midday shadow through the cool months. In March the same wall shades about 11 feet.
- A pool east of the house. It gets morning sun and loses the late afternoon. On June 21 at 6 p.m. daylight time, the sun is 30° above the horizon, slightly north of due west, and a wall casts a shadow about 17 feet long per 10 feet of height toward the east.
- A pool west of the house. It gets the afternoon and evening sun, the part of the day most people are home to use it.
- A pool south of the house. It gets sun all year, and the house never shades it. In summer that can be more sun than you want; plan shade on the deck rather than over the water.
Trees follow the same geometry. A tall tree south or west of the pool shades it in the afternoon, and drops its leaves or needles into the water. Ask for the trees to be drawn on the site plan: Gainesville's pool permit checklist asks for every tree within 50 feet that the installation affects.
How should the pool sit relative to the house?
Close enough to see, far enough to be safe and buildable. The view from the kitchen and the family room is the main reason to put a pool near the house, and three code rules come with that choice.
| Placement choice | What the code asks | Section |
|---|---|---|
| Pool close to the foundation | Engineering confirming the pool is not within the angle of repose of existing foundations; site-specific engineering if it is | Alachua County pool plan review, item 3A |
| Pool in an Ocala rear yard | At least 5 feet from any main building | Ocala Code 122-254 |
| Windows and glass doors facing the pool | Glass within 60 inches of the water's edge, with its bottom edge under 60 inches above the walking surface, is a hazardous location and has to pass the impact test | FBC Residential R308.4.5 and R308.3 |
| The house wall as part of the barrier | Every door or window with direct access to the pool needs an exit alarm, a self-closing and self-latching door device at least 54 inches up, or a certified pool alarm | FBC Residential R4501.17.1.9 |
The last row is the one that surprises people. A pool right outside a wall of sliding doors makes that wall part of the barrier, and every opening in it has to meet one of the code's options. The other way is to put the barrier around the pool. The code requires it to be at least 48 inches tall, measured on the side away from the pool (R4501.17.1.1). A yard fence can only serve as part of it where it sits on the pool's perimeter and meets the same rules (R4501.17.1.12). A removable child barrier has to stand at least 20 inches from the water's edge (R4501.17.1.13). Each of those takes space on the plan.
How deep a pool can go near a slab, and what changes when the yard falls away from the house, is covered in building a pool on a sloped yard.
The equipment pad is part of the view too. Gainesville's pool checklist asks for its location on the site plan and for the equipment to be screened from the road. A short plumbing run argues for keeping it near the pool; a bedroom window argues for keeping it away.
Where will the water go?
Away from the house, and not onto the neighbor's lot. A pool and a deck turn lawn into hard surface, and the code has rules for both ends of that water.
- Away from the foundation. The building code requires lots to be graded so surface water drains away from foundation walls, falling at least 6 inches in the first 10 feet. Impervious surfaces within 10 feet of the foundation, which includes a pool deck, have to slope at least 2 percent away from the building (FBC Residential, R401.3).
- Not onto the neighbors. In Alachua County, anything allowed to project into a setback may not create or divert stormwater runoff that adversely affects adjacent properties (407.05), and a retaining wall may not adversely affect the natural flow of surface water (407.08).
- Not into the sewer by accident. No line connected to a pool may be connected to a storm drain, sewer or drainage system unless the administrative authority approves it (FBC Residential, R4501.10.1).
On a flat lot, this is a grading plan around the deck. On a lot that falls toward the house, or sits low, it can decide where the pool goes. If your parcel is in a mapped flood zone, your permit office's review adds its own layer, starting from the flood zone designation on the site plan.
Can the machines reach the spot?
Before the pool's location is final, walk the route an excavator would take from the street to the hole. The narrowest point on that route, and what is buried under it, can move the pool or change the price.

The photo above is a pool we built in Alachua County, near Gainesville, during excavation: a mini excavator and a skid steer loader working at the back of a fenced yard. Getting machines like these to the back of a lot is a question every lot has to answer before the pool's location is final.
Four things to check on the route:
- Width. Gates, fences, the gap between the house and the side lot line, and the air conditioner pad all narrow it. Gainesville's pool checklist asks for construction access to be shown on the site plan.
- What is underneath. A septic drainfield, a well line or an irrigation main under the route is a reason to choose another route, or another spot.
- The trees. Roots under the route and limbs over it get damaged by machines. The same checklist asks you to mark any tree the installation affects.
- Utilities. Florida law requires the excavator to notify the state's free one-call system at least two full business days before digging (556.105). The notice includes the address, the limits of the excavation, its approximate depth and whether machinery will be used, and it is valid for 30 calendar days.
Tight access shows up in the price. Our pool cost estimator has a tight access site condition that adds 8% to the project total. On the estimator's default project (a 450-square-foot freeform pool with a pebble finish, 600 square feet of paver deck, a heater, a salt system, three lights and landscaping), the modeled range is $83,000 – $102,000. With tight access selected, the modeled range is $90,000 – $110,000. Both are modeled ranges of plus or minus 10%, not quotes.
In Gainesville and Ocala
Which of the four codes in the table applies depends on where your parcel is, not on your mailing address. Inside Gainesville or Ocala city limits, the city's code and building office apply; outside them, Alachua County's or Marion County's. Our pool permit office finder shows how to check.
Our process starts from the lot. We survey the site, model the pool in 3D against the setbacks, the soil conditions and the Florida Building Code, and you approve the rendering before we pull a permit. How that works locally is on our pages for pool builders in Gainesville and for building a pool in Ocala and Marion County. The whole process, across the region, is on our custom pool construction page. The pool in the photo above is on our site as a new pool and raised spa in Alachua County, and more planning guides are in our blog.
Sources
- Alachua County Unified Land Development Code: Chapter 410 Definitions; Sec. 403.07 and Table 403.07.2; Table 403.04.1; Sec. 407.02, 407.04, 407.05 and 407.08. Read on Municode, December 1, 2026.
- City of Gainesville Land Development Code: Sec. 30-5.34; Sec. 30-4.17, Table V-5 and notes 7 and 8; Article II definitions. Read on Municode, December 1, 2026.
- Marion County Land Development Code: Sec. 4.2.6.C(8); Tables 4.2-2 and 4.2-4; Article 1, Division 2 definitions. Read on Municode, December 1, 2026.
- City of Ocala Code of Ordinances: Sec. 122-252 and 122-254. Read on Municode, December 1, 2026.
- City of Gainesville, Residential Swimming Pool Permit Checklist (rev. 10-11-2023), Site Plan item.
- Alachua County, In-Ground Residential Pool Plan Review Requirements (rev. 12-6-2023), items 2 and 3A.
- Florida Building Code, Residential, 8th Edition (2023): R308.3, R308.4.5, R401.3, R4501.10.1, R4501.17.1.1, R4501.17.1.9, R4501.17.1.12 and R4501.17.1.13.
- Florida Statutes, section 556.105.
- Sun angles: NOAA Global Monitoring Laboratory solar calculation equations, at the coordinates NOAA NCEI lists for the Gainesville Regional Airport and Ocala stations. Our calculation, for flat ground.
See your pool placed on your lot in 3D
When you request an estimate, tell us where you picture the pool and what you want to see from the house. We walk your property and put a 3D design on paper, modeled against the setbacks, the soil conditions and the Florida Building Code.
Common questions
How far does a pool have to be from the property line?
It depends on your permit office and your zoning district, so there is no single figure. As one example, unincorporated Alachua County's code, read December 1, 2026, uses the house setbacks for a pool on a single-family lot under one acre, except at the rear, which is 7.5 feet. Ask the city or county office that covers your parcel for the setbacks of your district.
Can a pool go in the front yard?
It depends on the code your permit office applies. In the codes we read on December 1, 2026, Marion County puts accessory structures in the rear or side yard, and Gainesville keeps them out of the front and street side yard unless its code says otherwise. Alachua County allows a limited front-yard exception, capped at 400 square feet on a lot under one acre.
Which side of the house is best for a pool in North Central Florida?
South of the house gets sun all year. North of the house sits in the house's shadow at midday in winter: at Gainesville's latitude, that shadow reaches about 13 feet for every 10 feet of wall height in late December. In June the midday sun is almost overhead, so the north side gets sun too.
How close can a pool be to the house?
It depends on the office. Ocala's code puts accessory structures in a rear yard at least 5 feet from the main building. Alachua County asks for engineering showing the pool is not within the angle of repose of the existing foundation. Glass within 60 inches of the water's edge is also treated as a hazardous location by the building code.
Do you have to call before digging a pool in Florida?
Yes. Florida law requires the excavator to notify the state's one-call system at least two full business days before digging, with the address, the limits and depth of the excavation and whether machinery will be used. The notice is valid for 30 calendar days.
Sources
- Alachua County Unified Land Development Code — Chapter 410 Definitions (Accessory structure or building; Setback; Easement), read December 1, 2026
- Alachua County Unified Land Development Code — Chapter 403, Sec. 403.07 and Table 403.07.2 Setback Requirements for Residential Lots; Table 403.04.1 Rural/Agricultural Districts
- Alachua County Unified Land Development Code — Chapter 407, Article I: 407.02 Permitted building area, 407.04 and 407.05 Setbacks and projections, 407.08 Retaining walls
- City of Gainesville Land Development Code — Sec. 30-5.34 Accessory uses and structures, generally
- City of Gainesville Land Development Code — Sec. 30-4.17, Table V-5 Residential Districts Dimensional Standards (notes 7 and 8)
- City of Gainesville Building Division — Residential Swimming Pool Permit Checklist (rev. 10-11-2023), Site Plan
- Alachua County Building Division — In-Ground Residential Pool Plan Review Requirements (rev. 12-6-2023), items 2 and 3A
- Marion County Land Development Code — Sec. 4.2.6.C(8); Table 4.2-2 Agricultural and Table 4.2-4 Residential Property Development Regulations
- Marion County Land Development Code — Article 1, Division 2 Definitions (Accessory building or structure; Setback; Structure)
- City of Ocala Code of Ordinances — Sec. 122-252 Yard encroachments and Sec. 122-254 Accessory uses and structures
- Florida Building Code, Residential, 8th Edition (2023) — Chapter 45: R4501.10.1, R4501.17.1.1, R4501.17.1.9, R4501.17.1.12, R4501.17.1.13 (read via UpCodes)
- Florida Building Code, Residential, 8th Edition (2023) — R308.3 Human impact loads and R308.4.5 Glazing and wet surfaces (read via UpCodes)
- Florida Building Code, Residential, 8th Edition (2023) — R401.3 Drainage (read via UpCodes)
- Florida Statutes, section 556.105 — Procedures (notice before excavation)
- NOAA Global Monitoring Laboratory — Solar Calculation Details (equations used for the sun angles)
- NOAA NCEI — 1991-2020 monthly normals, station coordinates for Gainesville Regional Airport (USW00012816) and Ocala (USC00086414)
- Mr & Mrs Outdoor Living — Pool Cost Estimator (tight access site condition)
About the author
Robert Wesley Brannen is the co-founder of Mr. & Mrs. Outdoor Living and a Florida-certified pool and spa contractor. Having started in his family's aluminum business at age 13 and previously led Happy House Outdoor Living, Robert brings extensive experience in custom pool construction, outdoor structures, and design-build project management.
Florida Licenses: CPC1460562 · CPC1461119 · SCC131153553.
Most Read Articles

Pool Permits in Gainesville & Alachua County: Which Office Reviews Your Pool and What It Checks
In Alachua County the pool permit comes from the City of Gainesville, the county, or one of four other cities, depending on the parcel's tax district. Here is how to tell which office is yours, what each one asks for, and what the county inspects.Read More: Pool Permits in Gainesville & Alachua County: Which Office Reviews Your Pool and What It Checks
Pool Permits in Ocala & Marion County: Which Office Reviews Your Pool and What It Checks
In Marion County the pool permit comes from the city or the county depending on where the parcel sits, not on the mailing address. Here is how to tell which office is yours, how each one takes applications, and what gets inspected.Read More: Pool Permits in Ocala & Marion County: Which Office Reviews Your Pool and What It Checks
Can You Build a Pool on a Lot With a Septic Tank and a Well in Florida?
Yes, usually, if the pool stays 5 feet from the septic system and the septic system stays 75 feet from the well. Here is who applies those rules in Alachua and Marion, what the machines and the pool water must avoid, and the order to do it in.Read More: Can You Build a Pool on a Lot With a Septic Tank and a Well in Florida?
Can You Build a Pool on a Sloped Yard? What Changes in the Design, the Engineering and the Permit in North Central Florida
A slope rarely rules a pool out. It decides whether the pool is cut into the high side, raised on the low side or both, and that choice brings the retaining walls, the drainage and the engineering a flat lot never needs.Read More: Can You Build a Pool on a Sloped Yard? What Changes in the Design, the Engineering and the Permit in North Central Florida
Request a Design-Build Project Evaluation
Share your property details, project scope, and investment range. Our licensed design-build pool builders will review your request and confirm alignment before next steps.
Get a Free Estimate