TREADSTONE LAW · ONTARIO · DIGITAL LEGAL SERVICES · EST. MMXXI ·TSL
Home/Articles/Real Estate
№ 122 Real Estate

Minimum Distance Separation in Ontario: What It Means for Rural and Farm-Adjacent Buyers

Learn how minimum distance separation Ontario rules affect rural property buyers — MDS I vs MDS II, the formula, and what to check before you make an offer.

Real Estate5 min readTSLBy the Treadstone Law team · OntarioUpdated 2026-06
All articles
Key takeaways
  • Minimum Distance Separation (MDS) is a land-use planning policy set by the Province of Ontario under the authority of the Provincial Policy Statement.
  • Ontario has two formulas, and which one applies depends on what is being proposed and what already exists on the landscape.
  • The required separation distance grows or shrinks based on several variables: - Livestock units (LSU): The number and type of animals at the facility, converted into a standardized unit…

Buying rural property in Ontario sounds idyllic — open land, room to build, distance from the city. But if there is a livestock operation nearby, or if you are buying a farm you plan to expand, a provincial policy called Minimum Distance Separation may control what you can build and where. Understanding minimum distance separation Ontario rural property rules before you make an offer can save you from a permit refusal — or from buying land that cannot do what you want it to do.

This article explains what MDS is, how the two formulas work, who applies them, and what conditions belong in your Agreement of Purchase and Sale before you commit.

What Is Minimum Distance Separation?

Minimum Distance Separation (MDS) is a land-use planning policy set by the Province of Ontario under the authority of the Provincial Policy Statement. Its purpose is to reduce conflict between agricultural operations — particularly livestock facilities — and sensitive land uses such as homes, schools, and places of worship. Ontario created MDS because odour, noise, and dust from farms are legitimate byproducts of agriculture, not nuisances to be litigated away. Keeping incompatible uses at a safe distance protects both farmers and their new neighbours.

MDS is not a setback in the traditional sense. It is a formula. The result — a distance measured in metres — becomes a buffer zone that must be respected whenever someone proposes to build or expand near a livestock facility or near existing development.

MDS I vs. MDS II: Two Separate Formulas

Ontario has two formulas, and which one applies depends on what is being proposed and what already exists on the landscape.

MDS I — New Development Near an Existing Livestock Facility

MDS I applies when a person wants to build a new sensitive land use (typically a residence) on land that is near an existing, registered livestock operation. If you are buying a rural lot to build a home and there is a barn with animals down the road, MDS I determines whether your proposed house location meets the required separation from that barn.

The calculation produces a minimum setback distance from the nearest point of the livestock facility to the nearest point of the proposed dwelling. If the proposed location falls inside that distance, the municipality will not issue a building permit for the home — at least not without a variance or site-specific zoning relief.

MDS II — New or Expanding Livestock Facility Near Existing Development

MDS II applies in the reverse scenario. If a farmer wants to build a new barn, expand an existing one, or intensify operations, MDS II measures the required separation from that new or expanded facility to existing sensitive land uses — such as houses already in the area.

If you are purchasing a farm specifically to add livestock capacity, MDS II governs whether your expansion plans are feasible. An expansion that cannot achieve the required separation from neighbouring homes cannot proceed without relief, which can be difficult to obtain.

How the Formula Works — The Concept

The MDS formula is not a flat number. The required separation distance grows or shrinks based on several variables:

No two MDS calculations produce the same result. A small hobby farm with solid waste management may generate a modest separation requirement, while a large hog operation with liquid storage may require a buffer of several hundred metres. The Ministry of Agriculture, Food and Rural Affairs (OMAFRA) publishes detailed guidelines and an accompanying workbook that planners and applicants use to run the calculation.

Who Calculates MDS?

The municipality — typically the local planning department — applies MDS as part of reviewing a building permit application or a planning application (such as a severance or rezoning). An applicant may be required to submit an MDS calculation prepared by a qualified planner, or the municipality's own staff will complete one.

OMAFRA's guidelines are the provincial reference point. Local official plans may also include MDS-related policies that are more specific to the municipality's agricultural context.

When Does MDS Affect a Buyer?

MDS matters in two common purchase scenarios:

  1. You are buying vacant or partially developed rural land to build a home. If any registered livestock facility exists within a potentially relevant distance, MDS I will be triggered when you apply for a building permit. The permit office will run or require a calculation. If your proposed build location falls within the required separation, you cannot build there without relief.
  1. You are buying an existing farm to expand livestock operations. Before assuming your expansion is straightforward, MDS II must be checked against any neighbouring sensitive uses. If houses exist within the relevant zone, your planned barn addition may not be approvable as proposed.

What to Check Before Submitting a Building Permit

Before spending money on design or submitting a permit application, a rural buyer should take these steps:

MDS and Site-Specific Zoning

MDS does not operate in isolation. A property may carry a site-specific zoning exception — granted by a past Committee of Adjustment decision — that modifies how MDS applies to that particular parcel. Conversely, a property's official plan designation may impose additional agricultural protection beyond what MDS alone requires.

Buyers should not assume that a passing MDS calculation means all planning approvals are in order. MDS is one layer of a multi-layered land-use planning framework.

Conditions to Include in Your Agreement of Purchase and Sale

When purchasing rural land where MDS may be relevant, your Agreement of Purchase and Sale (APS) should be conditional on:

These conditions give you a defined window to conduct due diligence and a clear exit if the land cannot support your plans.

Frequently asked questions

Does MDS apply if the neighbouring farm is currently vacant or inactive?

Generally, MDS is triggered by registered livestock facilities. Whether an inactive or vacant farm building counts depends on its current registration status and the municipality's interpretation of the applicable policies. This is a fact-specific question worth raising with the local planning department early.

Can I get a variance if my proposed home falls inside the MDS distance?

A variance (a minor variance from the zoning by-law) is possible, but it is not guaranteed. The Committee of Adjustment must find that the variance meets the four statutory tests under the Planning Act. MDS-related variances are often viewed critically, particularly where agricultural operations are actively in use.

Does MDS apply in urban areas?

No. MDS applies in rural and agricultural contexts where livestock facilities exist or are proposed. It is not typically triggered by urban residential development.

Who enforces MDS?

MDS is enforced through the building permit and planning approval process at the municipal level. A permit will not be issued for a development that does not satisfy MDS requirements unless appropriate relief has been granted.

This article is general information, not legal advice. Reading it does not create a lawyer-client relationship. Ontario laws change and how the law applies depends on your facts. Speak with a licensed Ontario lawyer. Treadstone Law is licensed by the Law Society of Ontario.

This is a real estate question

Start a file online — flat, published fees, reviewed by a licensed Ontario lawyer before a dollar is owed.

ContactStart a File →