Code of Crim. Proc. Article 42A.302
(a)If a judge having jurisdiction of a case requires as a condition of community supervision that the defendant submit to a term of confinement in a county jail, the term of confinement may not exceed:
(1)30 days, in a misdemeanor case; or
(2)180 days, in a felony case.
(b)A judge who requires as a condition of community supervision that the defendant serve a term of confinement in a community corrections facility under Subchapter M may not impose a term of confinement under this article that, if added to the term imposed under Subchapter M, exceeds 24 months.
(c)A judge may impose a term of confinement as a condition of community supervision under this article on placing the defendant on supervision or at any time during the supervision period. The judge may impose terms of confinement as a condition of community supervision in increments smaller than the maximum terms provided by Subsection (a), except that the judge may not impose terms of confinement that, if added together, exceed the maximum terms provided by Subsection (a).
Article 42A.302 — Confinement,
https://statutes.capitol.texas.gov/Docs/CR/htm/CR.42A.htm#42A.302 (accessed Feb. 22, 2024).