Who pays for a fence between neighbors in Maryland

Two separate sets of rules: the state law on this page decides who pays for a fence on the line between neighbors. Height limits, permits and setbacks come from your city or county, so ask them before you build.

Maryland fence law at a glance

Who pays

No statewide cost-sharing rule in the section read; state law lets each county regulate fences between properties

When it applies

Depends on the county code

Notice and disputes

Check your county code; a county may set a procedure and a lien for repairs paid by an owner not in default

Law

Md. Code, Local Government 10-318

The rule in Maryland

Maryland’s Local Government Article 10-318 says a county may regulate the construction and maintenance of fences, provide a procedure with reference to a fence, and provide a lien for repairs made by an owner who is not in default. The statewide section does not itself require neighbors to share the cost; whether they must depends on the county’s code, which was not read for this page.

Note for Maryland: County fence ordinances were not read; ask your county about fence rules.

What this covers

This guide covers the state laws on partition fences, also called division or line fences: who pays to build and keep up a fence on the line between two neighbors, when that rule applies, and what an owner can do when the neighbor will not pay a share. Many of these laws were written for farms and livestock, and several do not reach ordinary home lots. City or county rules on fence height, permits and setbacks, homeowner association rules, spite fences and disputes over where the boundary is are not covered.

Practical steps

  1. Find the boundary first: a recorded survey, or a new one by a licensed land surveyor, shows where a shared fence can go.
  2. Read the rule above for Maryland: it says who pays, when the rule applies and what notice the law asks for.
  3. Talk to your neighbor and put any agreement on the fence type, the cost split and the upkeep in writing. Some of these laws let owners record that agreement.
  4. If the law calls for notice, send it in writing and keep a copy with proof of delivery.
  5. Ask your city or county about permits, height limits and setbacks before any work starts.

Do you need a lawyer?

Often without a lawyer

  • You and your neighbor agree on the fence and the cost split in writing
  • A claim for a neighbor's share that fits your state's small claims limit

Talk to a lawyer

  • The neighbor says the fence is on their land or disputes the boundary
  • You want to challenge a fence viewer, selectmen or court decision
  • Livestock got through a fence and caused damage

Related guides for Maryland

A dispute with a neighbor?

See your next steps

Sources

  1. Md. Code, Local Government 10-318 (Counsel Stack, 2026)

Last checked: November 21, 2026. This page summarizes what the Maryland sources named above say about sharing the cost of a fence between neighboring owners. Courts and local officials decide how these laws apply to a given fence. It is general information, not legal advice.

Cite this page

“Who pays for a fence between neighbors in Maryland.” Local Lawyers Online, last checked November 21, 2026. https://locallawyersonline.com/fence/maryland/

Link code: <a href="https://locallawyersonline.com/fence/maryland/">Who pays for a fence between neighbors in Maryland</a> (Local Lawyers Online)

You may quote the facts on this page. Please credit Local Lawyers Online, and check the official sources listed on this page before you rely on a figure.