Building a Pool on Acreage or a Horse Property Around Ocala
Farmland does not exempt a pool from the permit or the barrier law. On acreage around Ocala the zoning setbacks are wider, the barrier has to surround the pool rather than the pasture, and power, water and machines travel farther. What to settle before the pool is drawn.
Yes. A pool on acreage around Ocala is permitted and inspected like any other pool, because farmland does not exempt it. What changes is the plan: Marion County's agricultural zoning sets 25-foot setbacks for accessory structures, the barrier has to surround the pool rather than the pasture, and power, water and machines travel farther.
The diagram at the top of this page puts those pieces on one parcel. None of them is hard. Each one is easier to settle on the site plan than on the day the excavator arrives.
Key facts
- The setbacks are wider on farm zoning. On A-1, A-2 and A-3 land in unincorporated Marion County, the code sets 25 feet at the front, side and rear for general accessory structures, and pool enclosures have their own row with the same 25 feet (Marion County Land Development Code, Table 4.2-2).
- The farm exemption does not cover a pool. Florida exempts nonresidential farm buildings, farm fences and farm signs on bona fide agricultural land from the building code, not a swimming pool by the house (section 604.50, Florida Statutes).
- The barrier law has no lot-size exemption. Chapter 515 exempts stock ponds, livestock watering troughs and similar agricultural structures, public pools and kiddie pools, among others, but not a residential pool on a large lot (section 515.37).
- The barrier surrounds the pool, not the property. It must be separate from any fence around the yard unless that fence sits on the pool's perimeter and meets the same requirements (section 515.29(1)(c)).
- 811 does not mark private lines. Lines the owner owns, such as a feed to a barn or a line from a well, are not located when you call 811 (Sunshine 811).
Does farm zoning change where a pool can go?
Yes, it widens the setbacks. Marion County's agricultural classifications are written for parcels of at least 10 acres, and they hold accessory structures farther from the lot lines than its residential classes do. On a rural residential parcel the numbers are closer to a suburban lot. The table is what we read in the county's code, at the sections named, on December 1, 2026.
| Marion County zoning | Minimum lot | Setbacks for general accessory structures (front, side, rear) | Other rows that matter on a farm | Section |
|---|---|---|---|---|
| A-1 General Agriculture, A-2 Improved Agriculture, A-3 Residential Agricultural Estate | 10 acres, 1 home per 10 acres, unless the density exceptions apply | 25, 25, 25 feet | Pool enclosures: 25, 25, 25 feet. Housing for livestock: 75 feet front on A-1 and A-2, 50 on A-3, 25 side and rear | Table 4.2-2 |
| RR-1 Rural Residential | 1 home per acre | 25, 8, 8 feet | Accessory structures go in the rear or side yard | Table 4.2-4; Sec. 4.2.6.C(8) |
| R-E Residential Estate | 1 home per acre | 25, 25, 25 feet | Accessory structures go in the rear or side yard | Table 4.2-4; Sec. 4.2.6.C(8) |
Three details from the same pages change real plans:
- What the setback is measured to. On agricultural land, setbacks are measured from the foundation or wall (Sec. 4.2.2.C(1)). Ask the county which edge of the pool, the deck and any enclosure it measures to before the design is final.
- Easements. No structure may be built on or extend over an easement without the written approval of whoever holds it (Sec. 4.2.2.C(2)). On a large parcel, a utility or access easement can cut right through the best spot.
- The animals' setbacks. Housing for livestock has its own, larger front setback, and the code keeps outdoor manure piles of 2 cubic yards or more at least 100 feet from any lot line and any residence (Sec. 4.2.2.C(7)(b)). A pool that sits near the house also sits inside the zone the barn layout has to respect.
How setbacks, sun and views decide the spot within the area the rules leave open is in our guide on where to put a pool on your lot. If the parcel is inside the City of Ocala, Belleview or Dunnellon, the city's code applies instead of the county's; we did not read those codes for this guide, so ask that city's permit office for its setbacks.
Is a pool on a farm exempt from the building permit?
No. Section 604.50 of the Florida Statutes exempts any nonresidential farm building, farm fence or farm sign on land used for bona fide agricultural purposes from the Florida Building Code and from county and municipal codes and fees, except floodplain rules. The statute's own examples of a nonresidential farm building are a barn, a greenhouse, a shade house, a farm office, a storage building and a poultry house. A pool built for the family's use is not on that list.
Marion County applies the exemption through a Non-residential Farm Building Permit Waiver, and staff still review the site plan for stormwater, setbacks and floodplain (Sec. 4.1.5.D). Even exempt farm buildings need a floodplain development permit when they sit in a flood hazard area (Sec. 5.3.4.C(2)). The pool goes through the ordinary building permit and its inspections.
Does the pool barrier law apply on a big lot?
Yes, in full. Chapter 515 defines a swimming pool as a structure holding water more than 24 inches deep, and residential as on the premises of a detached one- or two-family home or a townhouse (section 515.25). Nothing in those definitions turns on lot size. To pass final inspection it needs at least one of five safety features: a barrier, an approved safety cover, exit alarms on the doors and windows that open to the pool, self-closing and self-latching doors, or a certified pool alarm (section 515.27). The list of exemptions in section 515.37 is agricultural in a narrow way: stock ponds, livestock operations and watering troughs, not the pool behind the house.
The rule that trips up large properties is the one about where the barrier stands. It has to go around the pool and stay separate from any fence surrounding the yard, unless that fence, or a part of it, sits on the pool's perimeter, is used as part of the barrier and meets every requirement (section 515.29(1)(c); Florida Building Code R4501.17.1.12). A fence around 10 acres does not isolate the pool from the house, and the house is exactly what section 515.27(1)(a) asks the barrier to isolate it from.
| What the code checks | Pool barrier requirement | Section |
|---|---|---|
| Height | At least 48 inches above grade, measured on the side away from the pool | FBC R4501.17.1.1; s. 515.29(1)(a) |
| Gap at the bottom | No more than 2 inches above grade | FBC R4501.17.1.1 |
| Openings | None that lets a 4-inch sphere through | FBC R4501.17.1.2 |
| Rails less than 45 inches apart | Rails on the pool side, and no more than 1 3/4 inches between verticals | FBC R4501.17.1.4 |
| Gates | Open outward, self-closing, self-latching | s. 515.29(3); FBC R4501.17.1.8 |
| Things to climb | No permanent structure or equipment placed so a child can use it to climb over | s. 515.29(5) |
A board, rail or wire fence built to hold horses or cattle is designed around animals. Unless it sits on the pool's perimeter and meets every row of that table, it is not the pool's barrier. The full set of barrier rules, and the details that most often fail a final inspection, are in our guide to Florida pool barrier requirements.

The photo above is a concrete slab we built on a rural property, not a pool. The black board fence behind it is the kind of fence a farm runs along its pastures, and it is a good picture of the difference: it marks the land and holds animals, while a pool barrier has to meet the numbers in the table, right around the water.
What about horses, dogs and wildlife?
The barrier law is written for young children and medically frail older people, not for animals. Nothing in Chapter 515 or the building code's barrier section addresses keeping livestock, dogs or wildlife out of the pool area. If that matters on your property, it is a design decision on top of the code:
- Pick a barrier that does both jobs. The building code accepts a standard screen enclosure as part or all of the barrier (R4501.17.1.11), and a fence can be designed to meet the barrier numbers and hold your animals at the same time.
- Keep the farm off the barrier. A water trough, a feeder or an equipment shed built against the pool barrier is the kind of object section 515.29(5) says a barrier may not be placed next to.
- Keep the pool out of the barnyard. The barn, the paddocks and the manure storage each carry their own setbacks in the county code. Drawing them on the same sheet as the pool shows where the conflicts are before anything is dug.
How far will power, water and gas have to travel?
Farther than on a city lot, and the distance shapes the job. On acreage the pool may sit well away from the house, the meter or the panel, and every utility the pool needs runs across that distance in a trench.
Power. Our company holds no electrical license. The pool's electrical work, from the circuits at the panel to the feed to the equipment pad, is done by licensed trade partners who pull their own permits. Distance is one of the things the electrician weighs in sizing that feed, alongside the loads at the pad and what the house panel can carry. If the service itself has to grow, the electric utility is part of the conversation.
Gas. If the heater runs on propane or natural gas, the tank, the meter and the line are work for a licensed gas partner under its own permit, and the tank's location is one more thing to place on the site plan.
Water. Many rural parcels run on a private well and a septic system. The distances that keep a septic system away from the pool and the well, and who applies them in Marion and Alachua County, are in our guide to building a pool on a lot with a septic tank and a well. Marion County's zoning code adds its own property-line limits: septic tanks may come within 5 feet of a lot line and wells within 8 feet, with Department of Health approval in every case (Sec. 4.1.4.I).
The trench route. Florida law requires the excavator to notify the state's one-call system at least 2 full business days before digging, with the limits of the excavation, its approximate depth and whether machinery will be used (section 556.105). On a farm, that call leaves gaps. Sunshine 811 says its member utilities only locate the lines they own, and that private lines owned by the property owner will not be located when you contact 811. The feed to a barn, a line from the well to a stock tank, an irrigation main and a buried line to a gate opener are often private. The owner or the excavator has them located, at their expense, before the trench crosses them.
Can the machines get to the pool site?
On acreage the question is rarely width. It is distance and ground. An excavator, dump trucks hauling soil, steel deliveries and the gunite or shotcrete equipment all travel from the road to the pool and back, sometimes across a pasture.
- Pick the route on the plan. Mark it on the site plan, away from the septic tank and drainfield, the well, buried private lines and any tree you want to keep.
- Check the gates. Farm gates, cattle guards and fence lines decide where a truck can go in. A temporary opening in a fence is easier to plan than to argue about on delivery day.
- Think about the ground. Open pasture that carries a horse may not carry a loaded truck after a week of rain. A route that holds in wet weather is part of the schedule, not only the site plan.
- Mind the animals. Livestock and an open excavation do not mix. Plan where the animals will be kept while the work is going on.
Our pool cost estimator treats tight access as a site condition that adds 8 percent to a modeled project. A long route across open land is a different situation, and the estimator does not model it, so it is something to describe when you ask for a price.
In what order does it all happen?
| Step | What happens | Who |
|---|---|---|
| 1 | Confirm the parcel's zoning and which office reviews the permit: Marion County or a city | Owner, from the property record; the permit office |
| 2 | Survey: lot lines, easements, the septic system, the well, the barn and the paddocks | Surveyor, with the septic and well records |
| 3 | Locate private lines along the routes the trenches and the machines will take | Private locator, plus the 811 call for utility lines |
| 4 | Place the pool and its barrier inside the setbacks, away from the farm's own setbacks | Pool designer |
| 5 | Size the power feed to the pad and any gas line | Licensed electrical and gas partners, under their own permits |
| 6 | Submit the pool permit with the site plan | Pool contractor, at the county or city |
| 7 | Build, inspect the barrier and the electrical before the pool is filled | Pool contractor and the trade partners; the building inspector |
The building code chapter quoted here is the 8th edition (2023). The 9th edition takes effect on December 31, 2026, according to the Florida Building Commission's 2026 workplan, so the edition on your permit date is the one that governs.
In Gainesville and Ocala
Most acreage we are asked about sits outside the city limits, where the county's code applies. Around Ocala that is Marion County's zoning, as read above. Around Gainesville, unincorporated Alachua County has its own agricultural districts and setbacks in its Unified Land Development Code, which our placement guide quotes from the county's tables; for any other city or county, ask that office. Which office reviews your parcel is the first question on both sides.
A pool on open land also raises a design question the rules do not answer: where the deck ends when nothing behind the pool frames it. Our case study of an L-shaped estate pool on open land shows one answer, with a band of pebbles, low seat walls and turf giving the deck a hard edge against the pasture beyond.
We prepare the permit submittal, pull the pool permit under our Florida contractor licenses, coordinate the trade permits our licensed partners pull, and coordinate the inspections through final approval. How that works locally is on our pages for building a pool in Ocala and for pool builders in Gainesville, and the design-build process for the whole region is on our custom pool construction page. More planning guides are in our blog.
Sources
- Marion County Land Development Code, Article 4: Sec. 4.1.4.I, Sec. 4.1.5.D, Sec. 4.2.2.C(1), (2) and (7)(b), Table 4.2-2, Sec. 4.2.6.C(8) and Table 4.2-4. Article 5: Sec. 5.3.4.C(2). Read on Municode, December 1, 2026.
- Florida Statutes, section 604.50, subsections (1) and (2)(d), 2026 Statutes.
- Florida Statutes, sections 515.25(2), (10) and (11); 515.27(1); 515.29(1), (3) and (5); and 515.37, 2026 Statutes.
- Florida Building Code, Residential, 8th Edition (2023), Chapter 45: R4501.17.1.1, R4501.17.1.2, R4501.17.1.4, R4501.17.1.8, R4501.17.1.11 and R4501.17.1.12. Read via UpCodes, December 1, 2026.
- Florida Statutes, section 556.105(1)(a), 2026 Statutes.
- Sunshine 811, Private Locate Companies.
- Florida Building Commission, 2026 FBC Workplan (June 2026).
Ask us to walk your property
On a large parcel, the first useful conversation happens on the land, with the survey in hand. Request a design-build evaluation: we walk your property and put a 3D design on paper, with the pool, the barrier and the routes for power and machines drawn against the setbacks that apply to your parcel.
Common questions
Do you need a building permit for a pool on agricultural land in Florida?
Yes. Florida's farm exemption, section 604.50 of the Florida Statutes, covers nonresidential farm buildings, farm fences and farm signs on land used for bona fide agricultural purposes. A swimming pool by the house is none of those, so it is permitted and inspected like any other residential pool.
Does a pool on a 10-acre lot still need a fence or other barrier?
Yes. Chapter 515 of the Florida Statutes has no lot-size exemption. Its exemptions cover things like stock ponds, livestock watering troughs, public pools and kiddie pools. A residential pool needs at least one of the five safety features in section 515.27 to pass final inspection.
Can my pasture fence serve as the pool barrier?
Only if it sits on the perimeter of the pool and meets every barrier requirement: at least 48 inches high on the outside, no opening that passes a 4-inch sphere, and self-closing, self-latching gates that open outward. A fence around the whole property does not isolate the pool from the house.
How far from the property line does a pool go on A-1, A-2 or A-3 land in Marion County?
Marion County's agricultural table sets 25 feet at the front, side and rear for general accessory structures, and gives pool enclosures their own row with the same 25 feet. Setbacks are measured from the foundation or wall, so ask the county which edge of your pool and deck it measures to.
Will 811 mark the power line to my barn or the line from my well?
Usually not. Sunshine 811 says member utilities only locate the lines they own, and that private lines owned by the property owner are not located when you call. The owner or the excavator has them located privately before the dig.
Sources
- Marion County Land Development Code, Article 4, Division 2: Sec. 4.2.2, Table 4.2-2, Sec. 4.2.6 and Table 4.2-4 (Municode)
- Marion County Land Development Code, Article 5 (Overlay Zones), Division 3 Floodplain Management, Sec. 5.3.4 (Municode)
- Florida Statutes, section 604.50 — Nonresidential farm buildings; farm fences; farm signs
- Florida Statutes, section 515.25 — Definitions
- Florida Statutes, section 515.27 — Residential swimming pool safety feature options
- Florida Statutes, section 515.29 — Residential swimming pool barrier requirements
- Florida Statutes, section 515.37 — Exemptions
- Florida Building Code, Residential, 8th Edition (2023) — Chapter 45, Private Swimming Pools: R4501.17 (read via UpCodes)
- Florida Statutes, section 556.105 — Procedures (notice before excavation)
- Sunshine 811 — Private Locate Companies
- Florida Building Commission — 2026 FBC Workplan (June 2026)
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

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?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.Read More: Where to Put a Pool on Your Lot: Setbacks, Sun, Views and Access
Florida Pool Barrier Requirements: What a New Pool Needs to Pass Final Inspection
Florida law gives a new residential pool five ways to pass final inspection, and the building code turns the barrier option into a set of measurements. Most failed finals come from a short list: the gate, the doors in the house wall, and gaps nobody measured.Read More: Florida Pool Barrier Requirements: What a New Pool Needs to Pass Final Inspection
Case Study: An L-Shaped Estate Pool With a Raised Spa, Sun Shelf and Marble Deck in Ocala
One leg of the L is a long swim lane; the other holds a square raised spa. Around it, a gray marble deck with a dark pebble band and a turf border. What the photos show, what the project models at in our estimator, and why that figure is likely low.Read More: Case Study: An L-Shaped Estate Pool With a Raised Spa, Sun Shelf and Marble Deck in OcalaBuilding a Pool on a Lakefront Lot in Alachua or Marion
On a lakefront lot the lake draws its lines before the pool does: a setback or buffer measured from the delineated edge of the lake, a flood zone, a high water table and a barrier the lake cannot replace. What Gainesville, Alachua County and Marion County each say.Read More: Building a Pool on a Lakefront Lot in Alachua or Marion
Oops! Something went wrong while submitting the form.




