Is Dumpster Diving Legal in Texas? Trespass, Theft and City Rules Explained

by Farrukh Shahzad · Updated

Commercial dumpster behind a business in Texas
Contents
  1. How Texas trespass law applies to a dumpster
    1. The penalty
  2. When taking the item can be theft
  3. A quick word on California v. Greenwood
  4. City rules in Texas: what we could confirm
  5. Practical tips for Texas
  6. If police stop you
  7. Sources

Last reviewed: October 4, 2026. This article is general information, not legal advice. Texas cities set their own solid-waste rules, so check your city code as well as the Penal Code.

Maybe you've spotted a stack of perfectly good shelving behind a store in San Antonio, or you're curious about what gets thrown out near your apartment in Dallas. Before you reach in, it helps to know which Texas laws actually come into play, because none of them is called a "dumpster diving law".

Short answer: Is dumpster diving legal in Texas? Generally yes: no Texas statute bans it. What turns it into an offense is going onto property after you had notice that entry was forbidden (a sign, a fence, purple paint, or someone telling you to leave), staying after you are told to go, taking items someone still owns, or damaging the container. Cities can add their own limits, especially on curbside carts.

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

How Texas trespass law applies to a dumpster

Most dumpsters sit on private land: a store's loading area, an apartment complex, an office park. Being there is not automatically trespass. In Texas the question is notice. Under § 30.05(b)(2), you have notice if any of these is true:

  • Someone told you. Oral or written communication from the owner or someone with apparent authority to act for them, such as a store manager or security guard.
  • There is a fence or enclosure obviously designed to keep people out. Many Texas businesses put dumpsters inside a gated masonry or chain-link corral. That corral is notice.
  • There is a sign on the property or at the building entrance saying entry is forbidden.
  • There are purple paint marks on trees or posts that meet the statute's size, height and spacing rules. These are more common on rural land, but they count.

The statute also covers someone who "received notice to depart but failed to do so." So even if you walked up to an open dumpster lawfully, refusing to leave when an employee asks you to is enough for a charge.

The penalty

Criminal trespass is usually a Class B misdemeanor (§ 30.05(d)(1)). Under Penal Code § 12.22, that means a fine of up to $2,000, up to 180 days in jail, or both. The statute grades it higher in certain places and situations, for example in a habitation, on a critical infrastructure facility, or if you carry a deadly weapon. A gated dumpster corral is not a habitation, but stay away from anything that belongs to a refinery, power facility, water plant or rail yard: fenced sites like those can be "critical infrastructure facilities" under the statute.

When taking the item can be theft

Texas theft (§ 31.03) means unlawfully appropriating property "with intent to deprive the owner of property", without the owner's effective consent. The key word is owner. Texas defines an owner broadly: someone who has title, possession, or "a greater right to possession of the property than the actor" (§ 1.07(a)(35)).

In practice, that means:

  • Things genuinely thrown away are usually treated as abandoned, and it is hard to steal property nobody claims.
  • A business that keeps items in a locked bin, a compactor, a cage of returns or a pallet marked for recycling is still in possession of them. Taking those items can be theft, even if they look like trash to you.
  • Some retailers deliberately destroy or lock away damaged goods. A lock is a strong signal that the owner has not given up its claim.

Damaging a lock, lid or fence is a separate problem. Criminal mischief (§ 28.03) covers intentionally or knowingly damaging, destroying or tampering with someone else's property without consent.

A quick word on California v. Greenwood

You'll often see the 1988 Supreme Court case California v. Greenwood cited as proof that dumpster diving is legal. It held that police don't need a warrant to search garbage left out for collection at the curb. That is a Fourth Amendment privacy ruling about police searches. It does not give anyone a right to walk onto private property or override Texas trespass law.

City rules in Texas: what we could confirm

Texas cities regulate garbage collection through their own codes, and those rules can be stricter than state law. Rules on who may handle city-issued carts or recycling set out on collection day appear in many municipal solid-waste codes, but they differ from city to city.

One verified example: in April 2013, Houston City Council voted, by a single vote, to stop treating searches of public trash receptacles as a crime, after a homeless veteran was ticketed for looking for food in a downtown bin. Local coverage at the time reported that it remained illegal to go through private trash cans and dumpsters, or trash and recycling placed at the curb for collection. City codes change, so check the current Houston code before relying on that.

For any other Texas city, search its code of ordinances for "scavenging", "solid waste" or "refuse containers", or call 311.

Practical tips for Texas

  • Ask first. A manager's "yes" is effective consent and removes the trespass risk. A "no" is notice, so respect it at that store from then on.
  • Treat any enclosure as a no. Gated dumpster corrals, locked lids and fenced yards are notice under § 30.05.
  • Leave the moment you're asked. Arguing about whether the trash is abandoned turns a non-event into a Class B misdemeanor.
  • Don't cut, pry or climb. That adds criminal mischief to trespass.
  • Leave the area clean. Scattered rubbish gives the owner and police a reason to act.
  • Be careful with food. Bacteria multiply fastest between 40°F and 140°F, and FoodSafety.gov advises refrigerating perishables within one hour when it's above 90°F. A Texas dumpster in summer is well past that, so skip meat, dairy, cooked food and anything with damaged packaging.
  • Protect yourself. Wear gloves and sturdy shoes, bring a light, and avoid needles, chemicals and batteries.

If police stop you

Stay calm and polite and leave if you're told to. If you are cited for trespass or theft, talk to a criminal defense lawyer or ask the court about a public defender before you pay or plead, because a conviction can show up on background checks.

Is dumpster diving a crime in Texas?

Not by itself. No Texas statute makes it an offense to look through or take from a dumpster. Charges come from other laws: criminal trespass (Penal Code § 30.05), theft (§ 31.03) if the items still have an owner, and criminal mischief (§ 28.03) if you damage a lock, lid or enclosure. City ordinances can add their own rules.

Does a purple paint mark really mean no trespassing in Texas?

Yes. Under Penal Code § 30.05(b)(2)(D), vertical purple paint marks on trees or posts count as notice that entry is forbidden, if they meet the size, height and spacing rules in the statute. You see them mostly on rural land, but they carry the same legal weight as a sign.

What is the penalty for criminal trespass in Texas?

The basic offense is a Class B misdemeanor, punishable by up to 180 days in jail, a fine of up to $2,000, or both (Penal Code § 12.22). It is graded higher in some places and situations, for example in a habitation or if you carry a deadly weapon.

Can I go through trash cans in Houston?

In 2013 Houston City Council voted to stop treating searches of public trash receptacles as a crime. News coverage at the time said it remained illegal to go through private trash cans and dumpsters, or trash and recycling put out at the curb for collection. Check the current Houston code before relying on this.

Is it legal to take food from a grocery store dumpster in Texas?

The same trespass and theft rules apply as for any other item, so the safest route is to ask the store first. Food from a dumpster also carries a real health risk, because perishable food may have sat outside safe temperatures for hours.

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.