Most SMS features check one rule before sending a marketing text: the federal window of 8 a.m. to 9 p.m. in the recipient's time zone. That is not enough in every state.
We read the statutes for the 22 US states whose own laws reach business texts. A few examples of what the federal check misses:
- Pennsylvania (Act 47 of 2026): sales texts only 9 a.m. to 7 p.m., and never on a Sunday or a legal holiday.
- Connecticut: 9 a.m. to 8 p.m.
- South Dakota: 9 a.m. to 9 p.m. and never on a Sunday, though the rule is written "to any residence", so whether it reaches texts is open.
- Texas: Sunday calls are limited to noon to 9 p.m., but whether that rule reaches texts is not settled.
Those last two matter for code. Several statutes leave it open whether their hours rule covers texts at all, so a simple yes or no would be wrong. The data marks those states as unsettled and quotes the statute's own caveat.
The data, as a package
We published the table as open data with a small helper: Zentarai/us-texting-laws (data CC BY 4.0, code MIT).
npm install github:Zentarai/us-texting-laws
const { checkHours } = require("us-texting-laws");
checkHours("PA", { day: "sun", time: "10:00" });
// { federal: "inside", state: "outside",
// detail: "9 a.m. to 7 p.m., and never on a Sunday or legal holiday.", ... }
checkHours("TX", { day: "sun", time: "11:00" });
// state: "unsettled" (the detail field quotes the statute's caveat)
checkHours("WI", { day: "tue", time: "21:30" });
// federal: "outside", state: "no-state-hours-rule"
state is one of inside, outside, no-state-hours-rule, unsettled or not-in-table. It describes the hours the statute states. It is not a legal verdict, and federal rules apply on top in every state.
Two choices worth knowing if you use it:
- Edge times count as inside. The rules are worded "before" and "after", so 9:00 p.m. passes a "not after 9 p.m." rule.
- Time is the customer's local time, not your server's. Convert from the recipient's number or address first.
Without code
If you just need to check one send, there is a free checker in the browser: Can I text this customer now?. The full state-by-state table, with citations, is at advai.cloud/texting-laws.
General information, not legal advice. If you spot an error or a law change, open an issue with the statute citation.
Top comments (0)