Criminal Trespass in Texas: Notice, Penalties, and Defenses

Criminal trespass in Texas is a misdemeanor under Penal Code Section 30.05, committed when a person enters or remains on someone else’s property without effective consent after receiving notice that entry was forbidden or being told to leave.1State of Texas. Texas Penal Code Section 30.05 – Criminal Trespass Depending on the type of property and whether a weapon was involved, the charge ranges from a Class C fine-only offense up to a Class A misdemeanor carrying as much as a year in county jail.

What the State Has to Prove

Two elements have to line up. First, you entered or stayed on property belonging to someone else without effective consent. Second, you either knew entry was forbidden or were told to leave and didn’t. “Entry” means your whole body crossed onto the property, not a hand through a fence or a foot across a line.

Effective consent is the hinge. Consent obtained by deception or coercion doesn’t count, so posing as a utility worker to get into a fenced yard was never valid consent in the first place. Consent can also be withdrawn. If a homeowner invites you in and then tells you to go, staying past a reasonable chance to leave turns your presence into a trespass.

The knowledge piece matters just as much. Prosecutors have to show you understood you weren’t welcome, which is why what the owner did to communicate that boundary is often the whole case.

How Notice Is Given Under Texas Law

Section 30.05(b) lists the ways a property owner can put you on notice:1State of Texas. Texas Penal Code Section 30.05 – Criminal Trespass

  • A verbal or written warning from the owner or someone who appears authorized to speak for the owner.
  • A fence or other enclosure obviously designed to keep people out or hold livestock in.
  • Posted “No Trespassing” signs placed where an intruder would reasonably see them, at the entrance or along the boundary.
  • Vertical purple paint marks on trees or fence posts, at least eight inches tall and one inch wide, with the bottom between three and five feet off the ground, spaced no more than 100 feet apart on forested land or 1,000 feet apart on open land.2Texas Parks & Wildlife Department. Frequently Asked Questions – Law Enforcement, Trespassing
  • A crop grown for human consumption that is being cultivated, harvested, or ready for harvest at the time of entry.

Purple paint exists in the statute because signs in rural areas get stolen, weathered, or torn down. On Texas ranchland those purple stripes carry the same legal weight as a posted sign, and ignoring any of these methods removes the argument that you didn’t know.

Penalty Tiers

Criminal trespass is always a misdemeanor in Texas. The classification depends on where the trespass happened and the circumstances.

Class C Misdemeanor

Trespass on agricultural land within 100 feet of the boundary is a Class C, punishable by a fine up to $500 and no jail time.1State of Texas. Texas Penal Code Section 30.05 – Criminal Trespass3State of Texas. Texas Penal Code 12.23 – Class C Misdemeanor The same tier applies when the trespass occurs on residential land within 100 feet of a protected freshwater area. These are minor boundary incursions, not deliberate intrusions deep onto someone’s property.

Class B Misdemeanor

This is the default. Most trespass cases land here, with a ceiling of 180 days in county jail and a fine up to $2,000.4Justia. Texas Penal Code Chapter 12 – Punishments If none of the aggravating factors apply, Class B is where the charge sits.

Class A Misdemeanor

The charge becomes a Class A, up to one year in jail and a fine up to $4,000, in any of these situations:4Justia. Texas Penal Code Chapter 12 – Punishments

  • The property was a habitation or a shelter center, including houses, apartments, and domestic violence shelters.1State of Texas. Texas Penal Code Section 30.05 – Criminal Trespass
  • The property was a critical infrastructure facility — chemical plants, refineries, power stations, water treatment plants, natural gas facilities, telecommunications offices, ports, railroad yards, broadcast transmission facilities — that is completely enclosed by a fence or barrier designed to keep people out.5State of Texas. Texas Penal Code Chapter 30
  • The property is on the federal National Priorities List or the Texas state registry of contaminated sites (a Superfund site).5State of Texas. Texas Penal Code Chapter 30
  • The trespass was on higher education property and you have a prior conviction for trespassing on the same institution’s property.
  • You were carrying a deadly weapon during the trespass, regardless of where it happened.

The critical infrastructure rule has a detail worth knowing. The facility must be fully enclosed by a fence or physical barrier. A power substation sitting out in the open doesn’t qualify for the elevated charge, though the trespass itself is still a Class B.

One boundary to flag: trespass on federal property, including military bases and restricted federal buildings, is prosecuted under federal law rather than Section 30.05, and runs through the federal court system with its own penalties.

Defenses That Can Beat or Reduce the Charge

Most trespass defenses attack either the notice element or the consent element. Which one fits depends on the facts.

Inadequate Notice

If the state can’t prove you had notice, the charge collapses. Faded or missing signs, broken fences, purple paint that doesn’t meet the size or spacing requirements, and unmarked property lines all open the door. Notice is where prosecutors most often struggle, so it’s usually the first thing a defense attorney looks at.

Reasonable Belief of Consent

If you reasonably believed you had permission to be there, the state’s case weakens. This comes up in landlord-tenant friction, workplace situations, and family property disputes. A former employee returning to retrieve belongings may have a plausible consent argument. The test is whether the belief was reasonable at the time, not whether it turned out to be right.

Necessity

Penal Code Section 9.22 recognizes necessity when you trespassed to avoid a greater harm.6State of Texas. Texas Penal Code Chapter 9 – Justification Excluding Criminal Responsibility Three conditions have to be met: you reasonably believed the trespass was immediately necessary to avoid imminent harm, the harm avoided clearly outweighed the trespass, and no law specifically excludes the justification. Running into a barn to escape a tornado or crossing private land to reach an injured person are the textbook examples. Convenience doesn’t qualify.

What Property Owners Can and Cannot Do to a Trespasser

If you were met with force while trespassing, the limits on what the owner was allowed to do matter. Section 9.41 allows a property owner to use reasonable force to prevent or stop a trespass when the force is immediately necessary.6State of Texas. Texas Penal Code Chapter 9 – Justification Excluding Criminal Responsibility Ordering you off, blocking entry, or escorting you to the property line all fall within that authority.

Deadly force is a sharper line. Section 9.42 permits it only when the owner reasonably believes it is immediately necessary to prevent arson, burglary, robbery, aggravated robbery, theft during the nighttime, or criminal mischief during the nighttime, and reasonably believes the property can’t be protected any other way.6State of Texas. Texas Penal Code Chapter 9 – Justification Excluding Criminal Responsibility Trespass alone, even deliberate trespass, does not justify deadly force. Property owners who have crossed that line have gone to prison for it.

What a Conviction Does to Your Record

Even a Class C or B trespass creates a criminal record, and the record outlasts the fine. Most Texas employers run background checks, and professional licensing boards in healthcare, education, and security routinely ask about criminal history and may deny or revoke a license based on what they find.7Texas State Law Library. Background Checks – Restrictions After a Criminal Conviction

Expunction

If the charge was dismissed for a qualifying reason, such as completion of a pretrial diversion program or a finding that the charge lacked probable cause, you may be entitled to expunction under Code of Criminal Procedure Chapter 55A.8State of Texas. Texas Code of Criminal Procedure Chapter 55A – Expunction of Criminal Records Expunction destroys the record as if the arrest never happened.

Orders of Nondisclosure

If you were convicted and placed on community supervision, a nondisclosure order is the more likely path. For criminal trespass, you can petition immediately after completing supervision, because Chapter 30 offenses don’t trigger a mandatory waiting period.9Texas Office of Court Administration. An Overview of Orders of Nondisclosure Nondisclosure doesn’t erase the conviction, but it seals the record from most private background checks. Certain government agencies and licensing boards can still see it. If you received deferred adjudication instead of a straight conviction, a separate nondisclosure provision applies with its own requirements.

When to Call a Lawyer

A Class C fine might seem small enough to handle alone, but the criminal record is the real price. Legal representation matters most when the charge is a Class A, involves a weapon or prior history, or arose on critical infrastructure or in a habitation. An attorney can test whether the notice element holds, whether consent or necessity applies, and whether the evidence was gathered properly.

If the prosecutor offers a plea, a lawyer can tell you whether the state’s case has weaknesses worth taking to trial. Early advice also keeps sealing options open. Deferred adjudication, for example, preserves a path to nondisclosure that a straight guilty plea can close off. The earlier you get counsel involved, the more of those options remain on the table.