Selling in Pittsburgh · Local mechanics

The Pittsburgh dye test, explained: what it is and who pays when you sell

If you're selling a house around the 'Burgh and someone just said the word "dye test," don't panic. It trips up a lot of sellers, but it's manageable once you know what it actually checks and what your options are. Here's the straight version.

By Luke Petrozza · Pittsburgh investor & agent · Updated June 2026 · 6 min read

Half the people who call me about selling a house in the South Hills or the Mon Valley have never heard of a dye test until it shows up on a closing checklist. The other half heard the term, got nervous, and assumed it meant something was wrong with their house. Usually neither is true. A dye test is a routine municipal inspection, and in a lot of Allegheny County towns it's just part of selling a home. The trick is knowing it's coming so it doesn't blow up your timeline at the last minute.

What a dye test actually checks

A dye test has nothing to do with the condition of your kitchen, your roof, or your foundation. It checks one thing: where your stormwater goes.

Rain that hits your roof runs down the downspouts and into some kind of drain. The same goes for yard drains, area drains, and French drains. The question the town wants answered is whether all that rainwater is going where it's supposed to (a storm sewer or daylight) or whether it's been illegally tied into the sanitary sewer, the line that's only supposed to carry waste from your toilets and sinks.

To find out, an inspector runs colored dye and water into your stormwater sources and watches whether that dye shows up in the sanitary line. If it does, you've got a cross-connection. That's a fail. The same test often catches a cracked or leaking sewer lateral while they're at it.

Why Pittsburgh cares so much about this

This is a regional thing, and it's the reason dye tests are way more common here than in most parts of the country. Greater Pittsburgh's sewer system feeds into ALCOSAN, the regional sewage authority, and when it rains hard, all that extra stormwater that's been improperly dumped into the sanitary system overwhelms it, sending overflows into the rivers. There's a long-running federal consent decree pushing the region to cut that stormwater out of the sanitary sewers.

The way a lot of municipalities chip away at the problem is by catching bad connections at the one moment they have leverage: when a house changes hands. So they adopted point-of-sale dye test ordinances. No passing test, no transfer.

The part everyone gets wrong: there is no single Allegheny County dye-test rule. Every municipality writes its own. Some require a passing dye test and a certificate before you can sell, some only require it for certain situations, and some don't require one at all. The first thing to do is call the municipality where the house sits and ask exactly what they require at point of sale.

What it costs and who pays

The test itself usually runs a few hundred dollars depending on who does it and how the property's plumbing is laid out. Who pays is technically negotiable, but in practice the seller usually arranges and pays for it, because in most towns the requirement is tied to the transfer and the seller is the one who needs the certificate to close.

That's the test. The cost that actually stings is the repair if you fail, and that's a completely separate number.

What happens if you fail

Failing a dye test is common, especially on older Pittsburgh housing stock where downspouts got tied into the sewer decades ago and nobody thought twice about it. It does not mean your sale is dead. You've usually got a few paths:

  • Fix it before closing. Disconnect the downspouts from the sanitary line and reroute them, or repair the lateral. Cost ranges from a few hundred dollars for a simple downspout fix to several thousand if a line needs to be dug up and replaced.
  • Escrow or bond it. Some municipalities let you close on time as long as you put money in escrow or post a bond and complete the fix within a set window afterward. This is a lifesaver when you're up against a closing date.
  • Sell it to a buyer who takes on the obligation. A cash buyer or investor will often buy the house knowing the dye test hasn't passed and handle the correction themselves. You sell as-is and the problem becomes theirs.

Not sure if your house is even going to pass?

Take the free 2-minute Home Seller IQ. It tells you the cleanest way to sell your specific house, dye test, repairs, and all, without you having to chase any of it down.

See if you qualify →

How to keep it from wrecking your sale

The sellers who get burned by a dye test are the ones who find out about it two weeks before closing. The ones who breeze through it knew about it up front. So:

  • Call the municipality first. Before you list or sign anything, ask what they require at point of sale, a dye test, a lateral inspection, an occupancy permit, all of the above. Every town near Pittsburgh handles it differently, and South Hills boroughs like Mount Lebanon and Dormont tend to have their own point-of-sale rules worth checking early.
  • Get the test done early if your town requires it, so a fail doesn't surprise you on the closing table.
  • Price the repair into your decision, not after the fact. If a fix is going to run a few thousand dollars, that changes the math on whether you list, sell for cash, or take a different route entirely.

Where I come in

I'm a Pittsburgh investor and agent, and I deal with dye tests, occupancy inspections, and laterals constantly, it's just part of moving houses around here. When I buy a home, the dye test becomes my problem, not yours. You sell exactly as it sits, and I handle the inspection and any repairs it kicks up. And because I market the house so cash buyers compete instead of just handing you one lowball offer, you still get real market money for it.

That's the whole idea behind The Smart Sale Method: the ease of a cash, as-is sale, none of the dye-test headaches, and a price that reflects what your house is actually worth.

Common questions

Dye test FAQ

It depends on the municipality, there's no single county-wide rule. Many Allegheny County towns require a passing dye test and a certificate before a property can transfer; others don't require one at all. Confirm with the municipality where the house sits.
It's negotiable and varies by town, but the seller most often arranges and pays for it since it's tied to the transfer. The test itself usually runs a few hundred dollars. Repairs to pass it are a separate cost.
You either correct it before closing or, in some towns, post escrow or a bond and fix it within a set window afterward. Common fixes are disconnecting downspouts from the sanitary sewer or repairing a cracked lateral.
If your town requires it you generally can't skip it, but you don't have to do the work. Selling to a buyer who takes on the dye-test obligation, or working with someone who handles the inspection and repairs for you, lets you sell as-is without managing any of it.
Keep reading

Related guides

See the smartest way to sell your house.

Two minutes. Free. No obligation. I'll show you the cleanest path for your specific home, dye test and all.

See if you qualify →