Is Dumpster Diving Legal in PA? Pennsylvania's Defiant Trespass Rule Explained

by Farrukh Shahzad · Updated

Dumpster behind a commercial building in Pennsylvania
Contents
  1. How notice works in Pennsylvania
    1. The defenses in § 3503(c)
  2. Penalties: summary offense vs. misdemeanor
  3. Discarded property and Pennsylvania theft law
  4. California v. Greenwood, briefly
  5. City rules in Philadelphia, Pittsburgh and elsewhere
  6. Practical tips for Pennsylvania
  7. Sources

Last reviewed: October 4, 2026. This article is general information, not legal advice. Pennsylvania municipalities set their own trash and recycling rules, so check your local code as well as Title 18.

Whether you're furnishing a first apartment in Philadelphia or just hate seeing good things go to waste in Pittsburgh, you might be wondering what happens if you take something from a dumpster in Pennsylvania. The state's approach is unusual: being somewhere you shouldn't is often only a summary offense, but ignoring a direct order to leave makes it a crime.

Short answer: Is dumpster diving legal in PA? There's no Pennsylvania law against dumpster diving itself. The risk is "defiant trespass": entering or staying somewhere after notice against trespass, given in person, by posting or by a fence. It's usually a summary offense, but it becomes a misdemeanor if you ignore a personal order to leave. Taking items someone still owns can be theft.

For other states, see our guide to dumpster diving laws.

How notice works in Pennsylvania

For a dumpster diver, the defiant trespasser section is the one that matters. It applies only if you know you aren't licensed or privileged to be there and notice against trespass has been given. Notice can come from:

  • Actual communication. A manager, guard or owner tells you to stay out or to go.
  • Posting that is either done as the law prescribes or is "reasonably likely to come to the attention of intruders." A clear "No Trespassing" sign on a dumpster enclosure is likely to meet that test.
  • Fencing or another enclosure manifestly designed to keep people out, such as a gated dumpster corral.
  • Purple paint marks on trees or posts that meet the statute's requirements.

The defenses in § 3503(c)

Pennsylvania lists defenses to trespass that are worth knowing. One applies when "the premises were at the time open to members of the public and the actor complied with all lawful conditions" imposed on access. Another applies if you reasonably believed the owner, or someone authorized to license access, would have let you in.

How this plays out for dumpsters:

  • An open shopping-center parking lot is generally open to the public. A dumpster sitting in that lot is a gray area.
  • A loading dock, a fenced service yard or an area behind an "Employees Only" sign is not open to the public.
  • Once you are told to leave, you are no longer complying with the owner's lawful conditions, and the "open to the public" defense falls away.

Penalties: summary offense vs. misdemeanor

Pennsylvania grades defiant trespass on how you respond to notice:

  • Summary offense (the default): up to 90 days in jail (§ 1105) and a fine of up to $300 (§ 1101).
  • Misdemeanor of the third degree if you defy an order to leave "personally communicated" by the owner or another authorized person: up to one year in jail (§ 1104) and a fine of up to $2,500 (§ 1101).

So the single most important thing you can do in Pennsylvania is leave when told. Staying to argue turns a minor citation into a criminal record.

Discarded property and Pennsylvania theft law

Under 18 Pa.C.S. § 3921(a), "A person is guilty of theft if he unlawfully takes, or exercises unlawful control over, movable property of another with intent to deprive him thereof." For trash, the issue is whether the item is still "property of another":

  • Bulk items left at the curb for collection are usually treated as given up.
  • Merchandise in a locked compactor, a returns cage or a container marked for recycling or destruction is likely still the business's property.
  • If staff tell you the items aren't yours to take, believe them.

California v. Greenwood, briefly

The Supreme Court's 1988 ruling in California v. Greenwood lets police search curbside trash without a warrant. It is a privacy ruling about government searches. It does not license anyone to enter posted or fenced property in Pennsylvania.

City rules in Philadelphia, Pittsburgh and elsewhere

Trash and recycling in Pennsylvania are run by municipalities, and many local codes control who may collect material set out for pickup. We were not able to confirm the current text of a scavenging ordinance in Philadelphia, Pittsburgh or Allentown for this article, so we're not quoting one. Before you take anything from a curbside cart or recycling bin, search your municipality's code for "scavenging", "refuse" or "recycling", or call 311 in cities that have it.

Practical tips for Pennsylvania

  • Ask first. Permission defeats a trespass charge and settles who owns the items.
  • Stay out of gated, fenced or posted areas, and anything behind an "Employees Only" sign.
  • Leave the moment someone with authority tells you to. That one decision is the difference between a summary offense and a misdemeanor.
  • Never force a lock or lid, and don't take from locked compactors.
  • Leave things tidy so neighbors and staff have no reason to complain.
  • Be cautious with food. Bacteria multiply fastest between 40°F and 140°F, and FoodSafety.gov says perishables shouldn't be out of refrigeration for more than two hours. You rarely know how long dumpster food has sat out.
  • Dress for it: gloves, boots, a light, and extra care on icy winter surfaces.
Is dumpster diving illegal in Pennsylvania?

Not as such. No Pennsylvania statute bans it. The main risk is defiant trespass under 18 Pa.C.S. § 3503(b), which applies when you enter or stay somewhere after notice against trespass. Taking items the owner still claims can be theft, and municipalities can regulate garbage and recycling set out for collection.

What is the penalty for defiant trespass in PA?

It is usually a summary offense, which carries up to 90 days in jail and a fine of up to $300. If you defy an order to leave given to you personally by the owner or another authorized person, it becomes a third-degree misdemeanor, with up to one year in jail and a fine of up to $2,500.

Is a store parking lot open to the public a defense?

Sometimes. § 3503(c) gives a defense if the premises were open to the public and you complied with all lawful conditions on access. A loading dock or fenced dumpster area usually isn't open to the public, and once you're told to leave, you are no longer complying with the owner's conditions.

Is it theft to take things from a dumpster in Pennsylvania?

It can be. Theft under 18 Pa.C.S. § 3921 means unlawfully taking or exercising control over movable property of another with intent to deprive them of it. Items a business has locked up or set aside for return or recycling may still belong to it.

Do Philadelphia or Pittsburgh have their own rules?

Both cities run their own trash and recycling programs under their own codes, and local rules can be stricter than state law. Check the city's code or call 311 before you take anything from curbside carts or recycling bins.

Sources

Filed Under: Law, Criminal Law

About Farrukh Shahzad

Farrukh Shahzad is the founder and researcher behind TodayinTrend. He is not a lawyer and does not give legal advice — he reads the statutes, court rules and official data, then explains what they actually say in plain English.

How these guides are researched →

    Leave a comment

    Comments are reviewed before they appear. Please don't share private details about your case.