When substance use becomes part of a custody dispute, a judge does not simply take one parent's word against the other's. Family courts have a specific, evidence-based process for deciding whether to order testing, what kind of testing to require, and how long it continues. Understanding that process matters whether you are a parent facing an allegation, an attorney building a case, or a court services provider setting up a testing program. This article walks through how the request gets made, which test types courts lean on, why chain of custody determines whether a result actually holds up, and who ends up paying for it.
How family courts decide to order testing
A judge cannot order a parent to submit to drug or alcohol testing just because the other side asks. Most states require some threshold showing before the court will intrude on a parent's privacy that way. California's approach is a useful model because its standard is written into statute. Under California Family Code Section 3041.5, a court may order testing only after a judicial determination, based on a preponderance of the evidence, that there is habitual, frequent, or continual illegal use of controlled substances, or habitual or continual abuse of alcohol, by the parent, guardian, or person seeking custody or visitation. A conviction within the prior five years for illegal drug possession or use can support that finding, but it is not the only path to one. The same statute requires the court to order the least intrusive method of testing that will still answer the question in front of it.
Other states use different statutory language, but the underlying pattern is consistent nationally: a party (usually the other parent, sometimes a guardian ad litem, custody evaluator, or child welfare caseworker) raises a specific, credible allegation of ongoing use, not just a general accusation, and the judge weighs that evidence before signing an order. Courts are generally reluctant to order testing on suspicion alone, since a positive or negative result becomes part of the custody record and can influence parenting time, supervised visitation requirements, and case plans. The National Center on Substance Abuse and Child Welfare, a federal resource center under the Department of Health and Human Services, frames testing as one piece of a broader safety and risk assessment rather than a standalone determination of parental fitness, which is consistent with how most courts actually use the results.
Test types courts prefer, and why
The method a court orders depends on what question it is trying to answer: recent use, a longer pattern of use, or alcohol specifically. Courts favor methods that are hard to defeat and easy to defend in a hearing.
| Test type | What it answers | Typical detection window | Why courts use it |
|---|---|---|---|
| Observed urine collection | Recent use of a broad drug panel | Roughly 1 to 4 days for most drugs | Direct visual observation of the collection defeats substitution and dilution, the two most common ways donors try to beat a court-ordered test |
| Hair follicle | A pattern of use over time rather than a single event | Up to about 90 days, depending on hair length | Cannot be manipulated in the moment and gives a longer history, useful when the allegation is about ongoing use rather than one incident |
| EtG / EtS urine (alcohol) | Recent alcohol consumption in abstinence-monitoring orders | Roughly 1 to 5 days | Far more sensitive to alcohol than a breath test, which only catches use within hours |
| PEth blood or dried blood spot (alcohol) | A pattern of alcohol consumption, not a single drink | Roughly 2 to 4 weeks, depending on how heavily and how recently someone drank | Formed only when alcohol is metabolized in the body, so it does not register from incidental or environmental exposure the way EtG can |
| Nail | A longer pattern of use, similar purpose to hair | Several months | Used when hair is unavailable or when an even longer look-back is needed |
Observed urine collection is the default for finding out whether a parent is using right now, and courts often pair it with random or short-notice scheduling so the result reflects current behavior rather than a cleaned-up sample timed around a known test date. Hair testing gets ordered when the question is pattern rather than a snapshot, for example when one parent alleges months of ongoing use rather than a single relapse. On the research side, hair analysis is well established in forensic toxicology precisely because it resists the kind of last-minute manipulation that undermines a single urine sample, a point confirmed in forensic toxicology literature indexed by the National Institutes of Health.
Alcohol gets its own track. Breath testing only catches use within hours, which makes it nearly useless for a custody order that runs over weeks or months. That is why courts monitoring alcohol abstinence lean on EtG/EtS urine testing for short-term detection and increasingly on PEth blood testing for a longer pattern. NIH-indexed research on phosphatidylethanol notes it forms specifically as a metabolic response to ingested ethanol and stays detectable for roughly two to four weeks depending on how much and how recently someone drank, which is why PEth is increasingly used in monitoring programs where a single drink is not the concern but a pattern of drinking is.
Chain of custody: the difference between admissible and challengeable
A test result is only as good as the paperwork behind it. Chain of custody is the documented, unbroken record of who collected the specimen, how it was sealed, who transported it, who received it at the lab, and how it was stored until testing. If any link in that chain is missing or contradicted, opposing counsel has an opening to challenge the result's admissibility, regardless of what the lab found. The federal government's own model for this process, built for workplace and transportation drug testing, is instructive even outside those settings. Under 49 CFR Part 40, every specimen must be accompanied by a custody and control form that documents each handoff from the moment the donor produces the sample until it is destroyed, and the donor certifies by signature that the specimen was sealed in their presence. SAMHSA's federal collection procedures spell out the same standard in more operational detail: tamper-evident seals, temperature checks within minutes of collection to catch substituted samples, and a documented handoff at every step. Court-ordered custody testing programs that want a result to survive a hearing generally follow this same logic, even when the specific federal regulation does not technically apply to a family law matter.
Where chain of custody breaks down most often in practice is at the collection itself, not the lab. A sample collected without observation, without a temperature check, or without a properly documented seal is vulnerable to challenge no matter how sophisticated the lab's confirmation testing is. That is the single biggest reason attorneys and court services agencies insist on vendors that follow a documented, observed collection protocol rather than a mail-in or self-collected kit for anything that might end up in front of a judge.
Testing frequency and duration
Courts vary in how often they require testing, and the order usually reflects what triggered it. A one-time test might resolve a single allegation raised in a hearing. An ongoing order, tied to a custody or visitation modification, typically runs on a schedule such as weekly, biweekly, or monthly, sometimes with random call-in testing layered on top so the parent cannot plan around a known date. Duration is often tied to a review period, meaning the order stays in place until the next scheduled hearing or until the parent demonstrates a set number of consecutive clean results, at which point the court can modify or lift the requirement. Some orders step down in frequency over time as compliance builds a track record, similar to how probation drug testing programs are structured around phased reductions in testing frequency tied to sustained compliance.
What a positive or missed test means procedurally
A positive result does not automatically end custody or visitation. It becomes evidence the judge weighs alongside everything else in the case, including the circumstances of the positive, whether it involves a prescribed medication, and what the underlying allegation was. Courts frequently respond to a first positive with modified conditions rather than an outright change in custody, such as adding supervised visitation, referring the parent to treatment, or increasing testing frequency. A missed or refused test is usually treated more seriously than a positive one, because refusal denies the court the information it ordered in the first place. Many custody orders explicitly state that a missed test without a valid, documented reason will be treated as a positive result for purposes of the case. That default matters: it removes the option of simply not showing up as a way to avoid a bad result, and it puts the burden on the parent to explain the absence, not on the other side to prove use.
Costs and who pays
Testing costs in custody cases are usually allocated by the court order itself, and practice varies by jurisdiction and by the specifics of the case. Common arrangements include the requesting party covering the initial cost, the tested parent covering it if the result comes back positive, both parents splitting the cost regardless of outcome, or the cost being folded into a broader child support or fee allocation the judge sets. Where a party genuinely cannot afford ordered testing, some courts and county services have reduced-cost or subsidized options, particularly when testing is tied to a dependency or child welfare case rather than a private custody dispute between two parents. Because the required test type (a lab-confirmed hair panel is meaningfully more expensive than a rapid observed urine screen) drives most of the cost difference, the "least intrusive method" language that shows up in statutes like California's also functions as a practical cost control, steering courts toward the cheapest test that still answers the question at hand.
Frequently asked questions
Can one parent request a drug test without a lawyer or a formal motion?
Generally no. Courts require the request to go through a proper motion or be raised during a hearing, supported by specific evidence, not just an accusation made informally. A parent representing themselves can still file the motion, but it needs to meet the same evidentiary threshold as one filed by an attorney.
Does a positive test automatically mean losing custody?
No. A positive result is evidence the court considers alongside the rest of the case. Judges commonly respond with modified conditions such as supervised visitation, a treatment referral, or increased testing frequency rather than an outright change in the custody arrangement, especially on a first occurrence.
What happens if a parent misses a scheduled or random test?
Many custody orders specify that an unexcused missed or refused test counts as a positive result for purposes of the case. Documentation of a legitimate reason, such as a medical emergency, matters and should be provided to the court as soon as possible.
Why do courts sometimes order hair testing instead of urine testing?
Hair testing looks back over a longer period, often up to around 90 days depending on hair length, while urine testing mainly reflects use within the last few days. Courts choose hair testing when the underlying allegation is about a pattern of use over time rather than a single recent incident.
Who chooses the lab or testing vendor?
This is usually specified in the court order or left to the party responsible for arranging the test, but the vendor needs to follow a documented chain of custody protocol regardless of who selects it. A result from a collection process that cannot show an unbroken chain of custody is much easier for opposing counsel to challenge.
Family court services, attorneys, and agencies setting up a court-ordered testing program can browse American Screening Corp's drug test collection for observed-collection urine cups, EtG and alcohol screening supplies, and panel options that match what a custody order typically calls for. For more on how a properly documented collection holds up under scrutiny, see our article on chain of custody and drug testing.
Related reading
This article is general information about how court-ordered drug and alcohol testing typically works in custody cases, not legal advice. Testing statutes, evidentiary standards, and procedures vary by state and by court, and anyone involved in a custody matter should consult a licensed family law attorney about the rules that apply to their specific case.



