How deep is a sewer line? What sets the depth, a calculator, and how to find yours
Updated
The short answer
There's no national depth. A sewer line is shallowest where it leaves the house and gets deeper toward the street, because it must keep falling: at least 1/8 inch per foot for 3- to 6-inch pipe under the IPC, 1/4 inch under the UPC. Minimum burial depth is set locally — 36 inches in New York City, 42 in Michigan.
How urgent · It depends
Only urgent if you're about to dig. Before any digging, call 811 for the public utilities — and have a plumber locate the private sewer lateral, which 811 usually doesn't mark.
Health & safety
Call 811 before digging anywhere on your property; it's free, and hitting a gas or electric line is dangerous. 811 marks utility-owned lines but usually not your private sewer lateral, so have a plumber or private locator mark it. Trenches 5 feet deep or more need a protective system such as shoring or sloping under OSHA's excavation rule (29 CFR 1926.652), because they can collapse.
Depth-at-the-street calculator
Start from the depth where your line leaves the house and it works out how deep the pipe is at the property line or the main. Add the depth of the city connection, if you know it, to check whether there is enough fall to get there.
Depth at the far end
2 ft 8 in
- Fall over the run
- 7.5 in
- Grade against the code minimumMinimum for 4 in pipe under IPC: 1/8 in/ft.
- At the minimum, no margin
- Soil over the pipe at the houseDepth less the pipe diameter.
- 20 in
- Soil over the pipe at the far end
- 27.5 in
What this can and can't tell you
It assumes one uniform grade and measures every depth from today's ground at each end. Real yards rise and fall, so depth below the surface changes even where the pipe is perfect. A lateral usually joins the side or top of the main, not its bottom, so a main depth read at a manhole overstates the fall you have. Use it to see whether the numbers are plausible, then have a plumber locate the line before anything is dug.
What decides how deep your sewer line is
The model plumbing codes don't give one burial depth for a house sewer, and the depth of any particular line is the result of five things. The calculator above works through the first three.
- The exit depth — where the building drain passes through the foundation. A house with a basement bathroom or floor drain has to leave deeper than a slab or crawl-space house, because every fixture must drain by gravity. Kentucky's plumbing rule says it directly: the sewer at the property line must be deep enough to serve a basement connection.
- The fall the run has to take — its length times its slope. A 100-foot run at 1/8 inch per foot drops 12½ inches; at 1/4 inch per foot, 25 inches.
- The public main — how deep the city's pipe is where your lateral joins it fixes the bottom of the whole line. The Uniform Plumbing Code names the depth of the street sewer as a reason a flatter grade can be approved, and San Francisco's lateral specification plans for lots where gravity service is impossible and a private pump station is needed.
- Freezing and minimum cover — every model code requires drainage pipe to be protected from freezing, and the depth that achieves it is written in locally.
- The ground and what's in it — a yard that rises or falls toward the street, the water service line the sewer has to stay clear of, and footings the trench mustn't undermine.
What the plumbing codes actually require
Three model codes cover most of the US: the International Plumbing Code (IPC), its one- and two-family counterpart in the International Residential Code (IRC), and the Uniform Plumbing Code (UPC), which is the base of California's code and several western states'. Your state or city adopts one and amends it. Section numbers below are from the 2021 editions and can shift between editions.
The most searched-for number is the one the model codes leave out. IPC 305.4.1 and IRC P2603.5.1 both say building sewers shall be not less than "[NUMBER] inches" below grade — a blank each adopting jurisdiction fills in for its own climate.
| Requirement | IPC | IRC (houses) | UPC |
|---|---|---|---|
| Minimum slope, 3–6 in pipe | 1/8 in per ft; 1/4 in per ft for 2½ in and smaller; 1/16 in per ft for 8 in and larger (704.1, Table 704.1) | 1/8 in per ft for 3 in and larger; 1/4 in per ft for 2½ in and smaller (P3005.3) | 1/4 in per ft; 1/8 in per ft for 4 in and larger only where 1/4 in is impractical — the depth of the street sewer is one listed reason — and the authority approves it (708.1, 718.1) |
| Burial depth | Left blank: not less than [NUMBER] inches below grade (305.4.1) | Left blank, same wording (P2603.5.1) | Sewer pipe of materials not approved for use inside a building: at least 1 ft below the surface and not within 2 ft of the building (718.3) |
| Freezing | Soil and waste pipe in places subject to freezing must be protected by insulation or heat or both (305.4) | The same, in localities with a winter design temperature of 32°F or lower (P2603.5) | Adequate provision to protect pipe outside a building from freezing, where necessary (312.6) |
| Separation from the water service | 5 ft of undisturbed or compacted earth, unless the water pipe is 12 in above the sewer, the sewer is of approved in-building material, or a crossing is sleeved (603.2) | 5 ft horizontally where the sewer isn't of the listed materials, with the 12 in above and sleeved-crossing exceptions (P2906.4.1) | Same trench only with the water pipe at least 12 in above the sewer on a shelf 12 in to one side, for clay or similar sewer pipe (as adopted in California) |
| Cleanouts | Every 100 ft or less on building sewers under 8 in (708.1.2) | Every 100 ft or less on building sewers under 8 in (P3005.2.2) | Near the building drain junction, every 100 ft, and at each aggregate change of direction over 135°; extended to grade (719.1, 719.3) |
Summaries, not the code text. The adopted and amended version where you live is the one that applies — your building department can tell you which.
Minimum depths set by states and cities — examples
Because the model codes leave the number blank, the real minimum comes from the jurisdiction. These are examples from published rules, not national figures; they show how widely the answer varies with climate.
| Jurisdiction | Rule | Source |
|---|---|---|
| New York City | Building sewers and drains at least 36 in below grade | NYC Plumbing Code (2022) §305.4.1 |
| Michigan | Building sewers at least 42 in below grade; at least 8 in to the top of the pipe at a septic tank connection | Mich. Admin. Code R 408.30728, amending IPC 305.4.1 |
| Kentucky | At least 18 in of cover, 24 in under vehicle traffic unless approved pipe is encased in 6 in of concrete; grade 1/8 to 1/4 in per ft | 815 KAR 20:130 §5 |
| San Francisco (SFPUC) | The public lower lateral starts at least 4 ft deep to the crown of the pipe at its upstream end, and falls at least 1/4 in per ft | SFPUC Sewer Lateral Specification §1.6–1.7 |
| Milpitas, California | Sewer pipe not approved for use inside a building: at least 1 ft below the surface | City sewer-line handout, citing the California Plumbing Code |
Checked against each jurisdiction's published text in September 2026. Rules are amended; confirm with your own building department or sewer utility before relying on one.
Why the line gets deeper toward the street
Sewer lines run on gravity, so they have to fall the whole way. Under the IPC and IRC a 3- to 6-inch building sewer needs at least 1/8 inch per foot; under the UPC the default is 1/4 inch per foot, with 1/8 inch allowed for 4-inch and larger pipe only where the authority approves it. Many plumbers lay a 4-inch lateral at 1/4 inch per foot anyway, because a line laid exactly at the minimum has no margin if a joint settles.
The table shows how far a line that leaves the house 2 feet deep has dropped by the time it reaches the main, at each slope.
| Length of the run | At 1/8 inch per foot | At 1/4 inch per foot |
|---|---|---|
| 25 ft | 3 in → about 2 ft 3 in | 6 in → about 2 ft 6 in |
| 50 ft | 6 in → about 2 ft 6 in | 13 in → about 3 ft 1 in |
| 75 ft | 9 in → about 2 ft 9 in | 19 in → about 3 ft 7 in |
| 100 ft | 13 in → about 3 ft 1 in | 25 in → about 4 ft 1 in |
Fall only, from a starting depth of 24 inches to the bottom of the pipe. Real lines also follow the ground surface, which may rise or fall toward the street.
Does a sewer line have to be below the frost line?
The codes require protection from freezing rather than a specific depth: IPC 305.4, IRC P2603.5 and UPC 312.6 all say drainage pipe in a place subject to freezing needs adequate protection. In practice, jurisdictions with cold winters meet that by writing a burial depth into their version of the code — which is why Michigan's 42 inches is so much deeper than Kentucky's 18.
Your local frost depth is published by the building department; the IRC's climatic design table has a frost line depth column that each jurisdiction fills in. Where a line can't be buried deep enough — a shallow main, rock, a short run to a deep connection — insulation is the fallback the codes allow.
Can the water line and sewer line share a trench?
Only under conditions, and they're one more reason sewer and water depths differ. The IPC's default is 5 feet of undisturbed or compacted earth between the water service and the building sewer (603.2). A shared trench is allowed when the sewer is built of material approved for use inside a building, and the separation is waived where the bottom of the water pipe stays at least 12 inches above the top of the sewer. The IRC's version (P2906.4.1) has the same 5-foot rule with the 12-inch and sleeved-crossing exceptions.
California's UPC-based code, as Milpitas summarises it, allows a common trench with clay or similar sewer pipe only if the water pipe sits on a shelf at least 12 inches above and 12 inches to the side. The practical point: when a line is replaced, the sewer is often deeper than the water service right next to it, and a crossing has to keep that vertical gap.
The water service has its own depth rule, tied directly to the frost line: at least 6 inches below it under the IPC and IRC, 12 inches under the UPC.
Why depth matters for repair cost
Depth is one of the biggest drivers of excavation cost. Deeper trenches take longer to dig, need a protective system from 5 feet down, and take more backfill and compaction — in this site's cost model, a line deeper than 8 feet raises open-trench pipe work by about 35%. Pipe bursting pits get deeper too, while pipe lining works from the cleanout and is barely affected by depth at all.
So a deep line shifts the comparison toward trenchless methods, as long as the defect is one lining or bursting can fix. A belly can't be lined straight, and a collapse has to be opened up wherever it is.
Depth also matters in cold climates: a line that ended up shallower than the local frost depth is exposed to freezing and frost heave, and a shallow line under a driveway carries more load.
How to find where your sewer line runs
- Find the cleanout outside the foundation. The line usually continues from it toward the street in a fairly straight path.
- In a basement or crawl space, find where the main drain passes through the wall — that's the direction the lateral leaves.
- Look toward the street for a second cleanout near the property line, a sewer manhole in the road, or marks some cities stamp on the curb at each connection.
- Ask your city or sewer district for records. Many publish sewer maps or can share permit records and as-built drawings showing the connection point.
- Look at a neighbour's layout — houses built together were often plumbed the same way.
- For an exact path and depth, have a plumber run a camera with a transmitter (a sonde) through the line and trace it from above with a locator.
- Ground-penetrating radar services can find pipes when there's no access for a camera, including plastic and clay pipe that metal-detecting locators miss.
Will 811 mark my sewer line?
Usually not the part that's yours. When you call 811 before digging, utilities send locators to mark the lines they own — gas, electric, public water and sewer mains, communications — and those typically end at the meter or the property line. Your private sewer lateral is owned by you, so it generally isn't marked.
Private laterals are also hard to locate electronically because clay, PVC and Orangeburg don't conduct a signal. That's why plumbers use a camera sonde, and why you should still call 811 for everything else before digging near the line.
How to tell how deep your sewer line is
- At the cleanout: remove the cap and measure down the riser to the point where it tees into the horizontal pipe. That's the depth of the line at that spot — and the number to put in the calculator above.
- With a camera sonde: a plumber's locator reads the depth of the camera head at any point along the run.
- From records: permit drawings and as-builts sometimes note depths at the house and the connection, and sewer utilities often hold the depth of the main at each manhole.
- By estimate: start from the depth at the cleanout and add the fall — 1/8 to 1/4 inch per foot — toward the street.
Sources and method
Code requirements were checked against published code text rather than contractor summaries; where the ICC's own site could not be read directly, against the same sections as adopted verbatim by states and cities. The calculator adds the fall (length × slope) to the depth at the house, takes the minimum grade from the same engine as this site's slope calculator, and compares it with the fall available to the main.
- International Plumbing Code 2021 — 305.4, 305.4.1, 603.2, 704.1 and Table 704.1, 708.1.2.
- International Residential Code 2021 — P2603.5, P2603.5.1, P2906.4.1, P3005.2.2, P3005.3.
- Uniform Plumbing Code 2021 — 312.6, 708.1, 718.1, 718.3, 719.1, 719.3 (as adopted in Hawaii and California).
- New York City Plumbing Code 2022 §305.4.1; Michigan Admin. Code R 408.30728; Kentucky 815 KAR 20:130 §5.
- San Francisco Public Utilities Commission, Sewer Lateral Specification §1.6–1.7; City of Milpitas, Residential Sewer Line Replacement handout (2024).
- OSHA 29 CFR 1926.652 — protective systems for excavations.
Frequently asked questions
- How deep is a residential sewer line?
- There's no national depth. It's shallowest where it leaves the house and deeper toward the street, because it must fall at least 1/8 to 1/4 inch per foot. Local minimums vary widely — for example 18 inches of cover in Kentucky, 36 inches in New York City and 42 inches in Michigan.
- How deep are sewer lines buried in your yard?
- Measure down your cleanout riser to where it meets the horizontal pipe — that's the depth there. From that point the line gets deeper by its slope times the distance toward the street: 1/4 inch per foot adds about 2 feet over 100 feet.
- How deep is a sewer line at the street?
- The depth where it leaves the house plus the fall over the run, and ultimately whatever the city's main allows. San Francisco, for example, requires the public section of the lateral to start at least 4 feet deep to the top of the pipe.
- Can a water line and a sewer line be in the same trench?
- Only under conditions. The IPC requires 5 feet of earth between them unless the water pipe is at least 12 inches above the top of the sewer, or the sewer is built of material approved for use inside a building. The IRC and UPC have similar rules.
- Does a sewer line have to be straight?
- It has to run at a uniform slope, but it can change direction. The UPC requires a cleanout for each aggregate change of direction over 135 degrees — often called the 135 rule — and the IPC and IRC require cleanouts at least every 100 feet on a building sewer.
- What's the difference between a sewer line and a drain line?
- The building drain is the lowest piping inside the house, extending a short distance past the foundation — 30 inches under the IPC, 2 feet under the UPC. The building sewer, or lateral, carries it from there to the public main or septic tank.
- How much slope does a sewer line need?
- At least 1/8 inch per foot for 3- to 6-inch pipe under the IPC and IRC. The UPC requires 1/4 inch per foot, allowing 1/8 inch for 4-inch and larger pipe only where 1/4 inch is impractical and the local authority approves it.
- Does a sewer line have to be below the frost line?
- The codes require drainage pipe to be protected from freezing, and cold-climate jurisdictions meet that with a burial depth written into their local code. The model IPC and IRC leave that number blank for each jurisdiction to set.
- Does 811 mark sewer lines?
- 811 marks lines owned by utilities, including public sewer mains, but usually not your private sewer lateral. Have a plumber or a private locator mark the lateral before digging.
- How do I find a sewer line underground?
- Start at the outdoor cleanout or where the main drain leaves the basement wall and look toward the street for a second cleanout or manhole. Ask your city for sewer maps or permit records, or have a plumber trace the line with a camera sonde.