What are Texas border-security offenses?
“Border-security offense” is a label the news media uses, not a single section of the Texas Penal Code. In practice it covers three different things — § 30.05 criminal trespass filed through Operation Lone Star, the SB 4 entry crimes under §§ 51.02–51.03, and parallel federal charges — and telling them apart is the first move in any defense.
The first and by far the most common is ordinary criminal trespass under Penal Code § 30.05, filed against people arrested near the Rio Grande as part of Operation Lone Star (OLS). Since 2021, the Governor has directed the Texas Department of Public Safety and the Texas National Guard to arrest migrants on private ranch land along the border. Those arrests produce state misdemeanor trespass charges, and they have been filed in the thousands in border counties such as Kinney and Val Verde. Texas appellate courts have already reviewed a long line of these cases — Ex parte Vasquez-Bautista, State v. Del Campo-Chavez, and others out of the Fourth Court of Appeals in San Antonio — mostly on selective-prosecution and equal-protection challenges.
The second is the pair of crimes created by Senate Bill 4 in the 2023 fourth special session: § 51.02 “Illegal Entry from Foreign Nation” and § 51.03 “Illegal Reentry by Certain Aliens.” These are the statutes that drew the national headlines, because for the first time Texas tried to criminalize unlawful entry itself rather than the trespass that follows it. They have been the subject of federal litigation since the day they passed, and their enforceability is still up in the air.
The third is the federal layer. People arrested at the border frequently face parallel federal charges under 8 U.S.C. § 1325 (improper entry) or 8 U.S.C. § 1326 (illegal reentry), plus immigration detainers and removal proceedings. A state trespass conviction can ripple into all of that, which is why a competent defense never looks at the Texas charge in isolation.
A note on what this page is for. Texas keeps a separate charges encyclopedia entry that catalogs the statutory text and 2025 legislative updates. This page is built for someone who is already facing a charge: it explains the defense theory, where the case is heard, and how to coordinate the state and federal pieces.
Is SB 4 illegal entry (§ 51.02) being enforced right now?
It is unsettled. SB 4 took effect in 2023; a federal district court enjoined it in 2024; a Fifth Circuit panel affirmed the injunction in 2025 on field- and conflict-preemption grounds; and on April 24, 2026 the en banc Fifth Circuit vacated the injunction on Article III standing without deciding the merits. The OLS § 30.05 trespass prosecutions, by contrast, have stayed active throughout.
This is the question everyone asks, and the honest answer is that it is unsettled. Here is the sequence, stated neutrally.
SB 4 took effect in 2023 and added §§ 51.02 and 51.03 to the Penal Code. The United States sued Texas, and in early 2024 the United States District Court for the Western District of Texas enjoined the law, finding it likely unconstitutional. See United States v. Texas, 719 F. Supp. 3d 640 (W.D. Tex. 2024). The litigation moved to the Fifth Circuit.
In 2025 a Fifth Circuit panel affirmed the injunction. It held that SB 4 is likely field-preempted — because the power to control the entry, admission, and removal of non-citizens has been treated as an exclusively federal power for nearly 150 years — and likely conflict-preempted, because the state scheme interferes with federal officials' discretion over admissibility. As the court put it, “the power to control immigration—the entry, admission, and removal of aliens—is exclusively a federal power,” and SB 4 nonetheless “creates separate, distinct state criminal offenses for unauthorized entry and reentry of aliens into Texas from a foreign nation.” United States v. State of Texas, 144 F.4th 632 (5th Cir. 2025).
Then the full court stepped in. On April 24, 2026, the Fifth Circuit sitting en banc vacated the injunction — but on a narrow procedural ground. It held that the nonprofit and county plaintiffs lacked Article III standing because a “diversion of resources” to respond to a new law, and subjective reputational harm, do not amount to a cognizable injury. As the en banc court wrote, “A legal-services organization cannot have Article III standing merely because a new law or regulation requires it to understand the legal change, to adjust resources in response, or to increase the degree or scope of legal representation for its current or prospective clients.” USA v. State of Texas, No. 24-50149 (5th Cir. Apr. 24, 2026). Critically, the en banc majority did not decide whether SB 4 is preempted; it expressly declined to reach the merits.
What that means on the ground: the published appellate reasoning that the entry statutes are likely preempted has not been overruled on the merits, the case is not over, and further review is possible. We do not tell anyone that § 51.02 is freely enforceable, and we do not tell anyone it is dead. We treat an SB 4 charge as a live, serious matter, raise the preemption defense, and watch the docket. The OLS criminal-trespass prosecutions under § 30.05, by contrast, have continued throughout all of this and are unquestionably active.
Elements the State must prove
The element list depends entirely on which statute is charged. Trespass under § 30.05 turns on entry-or-remaining, lack of effective consent, and notice that entry was forbidden. Illegal entry under § 51.02 and illegal reentry under § 51.03 track federal entry concepts and, for any felony grade, require certified federal removal records. Each element must be proven beyond a reasonable doubt.
Criminal trespass — § 30.05 (the OLS charge)
- Entry or remaining
- The person entered or remained on property, land, or a building of another.
- Without effective consent
- The owner or someone with apparent authority did not give effective consent to be there.
- Notice that entry was forbidden
- The person had notice that entry was forbidden, or received notice to depart and failed to do so. Notice can be a fence designed to exclude intruders, a posted sign, or oral communication. In OLS cases this notice element is frequently where the State's proof is weakest — whether a particular stretch of riverbank was fenced or posted in a way the defendant could perceive is a fact question, not a given.
Illegal entry — § 51.02
Under § 51.02(a), the State must prove the person is an “alien” who “enters or attempts to enter this state directly from a foreign nation at any location other than a lawful port of entry.” The statute's own language tracks federal law under 8 U.S.C. § 1325(a), a point the Fifth Circuit emphasized. That overlap is a double-edged sword: it supplies the preemption argument, but it also means the State leans on federal concepts it may not be positioned to prove in a county court.
Illegal reentry — § 51.03
Section 51.03(a) requires proof that the person is an alien who entered, attempted to enter, or was “found in” Texas after having been denied admission, excluded, deported, or removed — or after departing while a removal order was outstanding. The grade then rises with the defendant's specific removal and conviction history, so the State must put on certified federal records to support any felony enhancement.
What are the penalties?
Exposure ranges from a low-level misdemeanor to a second-degree felony depending on the statute and the defendant's history. § 30.05 trespass and § 51.02 first-offense entry are Class B misdemeanors; § 51.02 with a prior is a state jail felony; § 51.03 reentry climbs from a Class A misdemeanor to a third- or second-degree felony.
The table reflects current Texas law.
| Offense | Classification | Confinement | Fine cap |
|---|---|---|---|
| Criminal trespass — § 30.05 (typical OLS case) | Class B misdemeanor | Up to 180 days county jail | $2,000 |
| Criminal trespass — habitation / certain locations | Class A misdemeanor | Up to 1 year county jail | $4,000 |
| Illegal entry — § 51.02 (first offense) | Class B misdemeanor | Up to 180 days county jail | $2,000 |
| Illegal entry — § 51.02 (prior conviction under section) | State jail felony | 180 days – 2 years state jail | $10,000 |
| Illegal reentry — § 51.03 (base) | Class A misdemeanor | Up to 1 year county jail | $4,000 |
| Illegal reentry — § 51.03 (prior removal after felony) | Second-degree felony | 2 – 20 years prison | $10,000 |
Two practical points the chart cannot capture. First, the § 51.03 grade climbs through a third-degree felony before it reaches second degree, keyed to specific prior-removal circumstances listed in the statute — so the indictment language matters and is worth attacking line by line. Second, the real-world stakes of even a Class B trespass conviction are often immigration consequences, not the 180 days. A defendant may be far more concerned with admissibility than with jail credit, and the plea strategy has to reflect that.
What defenses apply?
The defenses fall into statutory defenses written into the law itself, evidentiary attacks, and constitutional challenges. For SB 4 charges, § 51.02(c) supplies four affirmative defenses tied to federal status. For OLS trespass, the contested ground is notice and consent. Across both, preemption and selective-prosecution writs are live levers.
Statutory affirmative defenses under § 51.02(c)
Section 51.02(c) is unusual because the Legislature wrote four affirmative defenses directly into the entry statute, each tied to a federal determination:
- The federal government has granted the defendant lawful presence in the United States;
- The federal government has granted the defendant asylum under 8 U.S.C. § 1158;
- The defendant's conduct does not constitute a violation of 8 U.S.C. § 1325(a) (federal improper entry); or
- The defendant was approved for DACA (Deferred Action for Childhood Arrivals) during the statutory window.
These are not technicalities. A person with a pending asylum claim, parole, or DACA approval may have a complete defense on the face of the statute, and proving it requires obtaining and authenticating federal immigration records — work that has to start early.
Trespass-specific defenses under § 30.05
For the OLS criminal-trespass cases, the contested ground is usually notice and consent. Was the land actually posted or fenced to exclude intruders in a way the defendant could perceive? Did the property owner, or the State acting through arrangements with ranch owners, give or withhold effective consent? The Fourth Court of Appeals litigation out of Kinney County shows how heavily these cases turn on the specifics of where and how the arrest happened. Chain-of-custody, the legality of the initial detention, and identity are all live issues.
Constitutional and procedural challenges
Beyond preemption (its own section below), OLS defendants have pressed selective-prosecution and equal-protection claims — arguing the program targeted a protected class — through pretrial writs of habeas corpus. Speedy-trial and right-to-counsel problems also surfaced early in OLS because the volume of arrests outran the available defense resources in small border counties. Each of these is a potential lever depending on the facts of the particular case.
The federal-preemption argument explained
Preemption is the heart of the SB 4 fight and the strongest defense to a § 51.02 or § 51.03 charge. Federal law occupies the field of entry and removal (field preemption), and a state law that obstructs federal objectives is void (conflict preemption). The Fifth Circuit found both forms likely in 2025; the 2026 en banc court vacated on standing without disturbing that merits reasoning.
Preemption is the heart of the SB 4 fight, and it is worth understanding because it is the strongest defense to a § 51.02 or § 51.03 charge.
The Supremacy Clause makes federal law the supreme law of the land. Where Congress has occupied a field, states may not legislate in it — that is field preemption. And even outside an occupied field, a state law that stands as an obstacle to federal objectives is void — that is conflict preemption. In Arizona v. United States, 567 U.S. 387 (2012), the Supreme Court struck down most of Arizona's immigration law on exactly these grounds.
The Fifth Circuit applied that framework to SB 4 in 2025 and found both forms of preemption likely. On the field side, it reasoned that Congress built a comprehensive national system for entry and removal and that Texas's parallel criminal-entry regime “infringe[s] on a preempted field.” On the conflict side, it explained that SB 4 “affects aliens whom Congress has assigned a federal immigration status—that of an ‘applicant for admission’—and interferes with federal immigration officials' ability to determine the applicant's admissibility.” United States v. State of Texas, 144 F.4th 632 (5th Cir. 2025).
The 2026 en banc decision did not disturb that reasoning on the merits; it vacated the injunction only because the particular plaintiffs lacked standing to bring the pre-enforcement challenge. For a defendant who has actually been charged, standing is not an obstacle — the charge itself supplies a concrete stake — so the preemption defense remains available to raise in the criminal case through a motion to quash or a pretrial writ. We frame it as the lead issue in any SB 4 prosecution.
Jurisdiction, venue, and the Dallas–Fort Worth connection
The state trespass or entry charge is venued in the border county where the arrest happened and stays there. A Frisco firm's role is coordination — managing bond logistics, working with local counsel where needed, and handling the federal immigration exposure that follows a border arrest back to where the person and their family actually live in North Texas.
People ask whether a border case can be handled from the Dallas–Fort Worth area. The honest framing matters here.
The state trespass or entry charge is venued in the county where the arrest happened — typically a border county such as Kinney or Val Verde — and it stays there. We are a Frisco firm with one office at 5899 Preston Rd, Suite 101, and we do not pretend to have a courthouse presence on the river. What we do is coordinate. Many people arrested through Operation Lone Star are transported, bonded out, or have family in the metroplex, and the federal immigration piece often lands here: removal and detention matters for North Texas residents are handled through the immigration court system, and any parallel federal criminal charge for a DFW-area resident may be venued in the Northern District of Texas in Dallas or the Eastern District of Texas in Sherman or Plano.
So the DFW relevance is real but specific: we manage bond logistics, coordinate with local counsel in the county of arrest where needed, and address the federal exposure that frequently follows a border arrest back to where the person and their family actually live. For the broader picture of how a state case interacts with a parallel federal prosecution, see our federal charges practice.
What happens after a border-security arrest?
The sequence tracks the ordinary Texas criminal process — arrest and transport, magistration within 48 hours, bond, charging instrument, pretrial motions, and resolution — with border-specific wrinkles at almost every step, most urgently the immigration detainer that can outlast a state bond.
- Arrest and transport. DPS or the National Guard makes the arrest near the border. In OLS cases the person is often moved to a designated processing facility before charges are formalized.
- Magistration. Within 48 hours the person must be taken before a magistrate, told the charge, and have bond set. Early OLS practice strained this 48-hour rule, which itself became a defense issue.
- Bond. For a Class B trespass, bond is usually modest, but an immigration detainer can keep the person in custody even after a state bond is posted. Sorting out the detainer is frequently the most urgent task.
- Charging instrument. A misdemeanor proceeds by information; a felony reentry charge requires a grand-jury indictment. The exact statutory language is worth scrutinizing for enhancement defects.
- Pretrial motions. This is where preemption (for SB 4 charges), notice and consent challenges (for trespass), and selective-prosecution writs are litigated — often by pretrial application for writ of habeas corpus, the vehicle the Fourth Court of Appeals reviewed repeatedly.
- Resolution. Dismissal, plea, or trial. Because the collateral immigration consequences usually outweigh the jail exposure, any plea has to be evaluated for its immigration effect before it is entered.
Hypothetical, for illustration only. Suppose a man is arrested on a posted ranch in Kinney County and charged with Class B trespass under § 30.05, then placed under an ICE detainer. The defense runs on two tracks at once: in the state case, we test whether the notice and consent elements can actually be proven on that stretch of land; in parallel, we work the detainer and connect immigration counsel so a quick state plea does not blow up his admissibility. Neither track works well without the other. (This scenario is illustrative and is not a description of any specific client or outcome.)
Immigration and other collateral consequences
For most people facing a border-security charge, the courtroom penalty is the smaller problem. A conviction — or even certain plea admissions — can affect bond, removal, and future admissibility before federal immigration authorities, so the state plea and the immigration consequences have to be planned together under Padilla v. Kentucky.
For most people facing a border-security charge, the courtroom penalty is the smaller problem. A conviction — or even certain admissions during a plea — can affect bond, removal proceedings, and future admissibility before federal immigration authorities. Because the consequences cross from the state courtroom into the immigration system, the United States Supreme Court has held that defense counsel must advise a non-citizen client about the deportation risk of a plea. See Padilla v. Kentucky, 559 U.S. 356 (2010). Practically, that means the state plea and the immigration consequences have to be planned together, not in sequence.
Other downstream effects can include difficulties with employment authorization, with future visa or relief applications, and — if a federal charge attaches — the much steeper exposure of 8 U.S.C. § 1326 illegal-reentry sentencing. The throughline is that a border-security case is rarely just a Texas misdemeanor; it is a state case with federal gravity, and it should be defended that way.
