top of page

MDS I vs MDS II Ontario | Barn Setbacks Explained

A plain-language guide to Minimum Distance Separation requirements for barns and livestock facilities in Ontario.

Planning a Barn or Livestock Expansion?

If your project triggers Ontario nutrient management rules, you may need a Nutrient Management Strategy, Nutrient Management Plan, MDS review, or manure storage assessment before moving forward.

This page explains what the rule means for Ontario farmers planning barn construction, livestock expansion, manure storage, or nutrient application.

What Is Minimum Distance Separation (MDS)?

Minimum Distance Separation (MDS) is an Ontario planning tool used to determine how far apart livestock facilities and neighbouring land uses must be. MDS is designed to reduce land use conflicts between agricultural operations and residential or other sensitive uses.

There are two types of MDS calculations: MDS I and MDS II. Both are critical when planning a new barn or expanding an existing livestock operation.

MDS I — Protecting New Development from Existing Farms

MDS I determines the minimum distance that a new non-agricultural development (such as a house, school, or commercial building) must be from an existing livestock barn or manure storage. In other words, MDS I protects new neighbours from existing farm operations.

image.png
image.png
image.png

Applies when new lots, buildings, or land uses are proposed near existing farms

Calculated based on the type and size of the existing livestock operation

Used by municipalities when reviewing severance, rezoning, or subdivision applications

MDS II — Protecting Neighbours from New or Expanding Farms

MDS II determines the minimum distance that a new or expanding livestock barn or manure storage must be from existing non-agricultural land uses. MDS II protects existing neighbours from new or expanding farm operations.

image.png
image.png
image.png
image.png

Applies when building a new barn or expanding an existing one

Applies when constructing new manure storage

Calculated based on the type and number of livestock, type of manure storage, and nearby land uses

Must be satisfied before a building permit can be issued

Why MDS Matters for Your Barn Build

Screenshot 2026-03-22 201557.jpg

If your proposed barn location doesn't meet MDS II requirements, you may need to relocate the building, reduce the herd size, or apply for a variance. Discovering MDS issues after construction has started can be extremely costly. Always check MDS before finalizing your site plan.

Key Factors That Influence MDS

image.png
image.png
image.png
image.png
image.png

Type of livestock (dairy, beef, poultry, swine, etc.)

Number of animals or nutrient units

Type of manure system (solid, liquid, etc.)

Proximity to neighbouring dwellings, churches, schools, or commercial areas

Whether the area is designated as a settlement or rural zone

Additional Factors in MDS

image.png
image.png
image.png

Neighbour distance — the closer the neighbouring non-farm use, the more challenging it can be to meet MDS requirements

Parcel size — smaller parcels may limit your options for barn placement to satisfy MDS II

 

Manure system impact — the type of manure system (solid, liquid, or mixed) directly affects MDS calculations and required setback distances

Quick Check: Does Your Site Meet MDS?

Use our preliminary screening tool to get a quick indication of whether your proposed barn site may meet MDS requirements.

Frequently Asked Questions

Do I need an NMS to build a barn in Ontario?

What are nutrient units and how does this relate to livestock?

When do I need both an NMS and an NMP?

How long does approval of a NMS or NMP take?

Need Help With MDS?

We can assess your site and determine MDS requirements. Free consultation.

Free consultation • No obligation • Fast response

bottom of page