The IMD Exclusion Explained: Sixteen Beds, Medicaid, and the Pathways Around It
Federal Medicaid generally will not pay for care in institutions for mental diseases with more than sixteen beds for adults 21–64 — a rule that shapes residential behavioral health economics. What counts as an IMD, and the waiver and managed-care pathways that fund care anyway.

On this page: Direct answer
Direct answer
IMD exclusion Medicaid: what operators need to know
Federal Medicaid generally will not pay for care in institutions for mental diseases with more than sixteen beds for adults 21–64 — a rule that shapes residential behavioral health economics. What counts as an IMD, and the waiver and managed-care pathways that fund care anyway.
The IMD exclusion is one of Medicaid's oldest rules: federal Medicaid payment is generally unavailable for services to adults aged 21 through 64 who are patients in an institution for mental diseases — a hospital, nursing facility, or other institution of more than sixteen beds primarily engaged in the diagnosis, treatment, or care of people with mental diseases, including substance use disorders. For residential and inpatient behavioral health, the rule quietly dictates facility size, program licensure, and payer mix decisions across the country.
The exclusion is riddled with pathways: Section 1115 demonstration waivers let states draw federal match for short-term IMD stays for substance use disorder (under 2015 and 2017 guidance) and for serious mental illness (under 2018 guidance); Medicaid managed-care plans may pay IMDs as an in-lieu-of service for short stays; and populations outside the 21–64 band sit outside the exclusion entirely. Which pathway applies — and its day limits — determines whether a given stay is fundable. This guide explains the structure operationally; your state's waiver terms and plan contracts control the specifics.
Key takeaways
The short version
- The exclusion bars federal Medicaid payment for adults 21–64 in facilities over sixteen beds primarily treating mental diseases, including SUD.
- Whether your facility is an IMD is a determination with enormous payer consequences — know your status and the basis for it.
- SUD and SMI/SED 1115 waivers fund short-term IMD stays in adopting states, with day limits and program conditions.
- Managed-care plans may cover short IMD stays as in-lieu-of services — plan contracts, not the state plan, carry the terms.
- Track the pathway per admission: the same bed can be fundable or not depending on the patient's age, coverage, and the stay's length.
1. The rule and who it touches
| Element | Detail | Operational consequence |
|---|---|---|
| Facility definition | More than sixteen beds, primarily engaged in diagnosis, treatment, or care of mental diseases — assessed by overall character, not licensure label alone | Facility size and program mix decisions are payer-mix decisions |
| Excluded population | Medicaid enrollees aged 21 through 64 while patients in an IMD | Under-21 (in qualifying psychiatric programs) and 65-plus populations are outside the exclusion |
| What is excluded | Federal match for services during the IMD stay — including, historically, other Medicaid services during the stay | The exclusion reaches beyond the room-and-board claim; pathway rules define what is payable |
| Who determines status | State Medicaid agencies apply federal criteria | Get your facility's status determination and its reasoning in writing |
2. The pathways around the exclusion
- Section 1115 SUD waivers: states with approved demonstrations draw federal match for short-term SUD stays in IMDs, typically with statewide average length-of-stay targets and requirements to cover the full ASAM continuum
- Section 1115 SMI/SED waivers: parallel authority under 2018 guidance for short-term psychiatric stays, with community-investment conditions
- Managed-care in-lieu-of authority: Medicaid managed-care plans may pay for short IMD stays as a substitute for covered settings, within federal day limits per month — the plan contract governs
- Population carve-outs: under-21 psychiatric benefits and 65-plus coverage sit outside the exclusion by definition
- State-only funds: some states pay for IMD care with state dollars where federal match is unavailable — different rates, different rules
3. Run IMD status as payer operations
- 01
Establish your facilities' status
For each site: the state's IMD determination, the bed-count and program facts behind it, and the date. Expansion plans that cross sixteen beds change payer math — model it before the beds exist.
- 02
Map the funding pathway per payer
For Medicaid fee-for-service and each managed-care plan: is your state's waiver active, what stays qualify, what day limits apply, and how in-lieu-of terms appear in each plan contract.
- 03
Verify pathway eligibility per admission
Age band, coverage type, and expected length of stay against the applicable pathway — at admission, not at billing. An admission outside every pathway is a funding conversation the family deserves upfront.
- 04
Track the stay against the pathway clock
Waiver and in-lieu-of day limits belong in the case as deadlines driving utilization review and discharge planning, alongside the clinical picture.

4. What to watch
- Waiver renewals and terms: 1115 demonstrations expire and renegotiate; your state's current special terms and conditions are the operative document
- Evaluation findings: federal evaluations of IMD waivers inform whether authority expands, narrows, or gains conditions
- Managed-care contract cycles: in-lieu-of terms change at re-procurement — the pathway you rely on is a contract clause, not a right
- Legislative proposals: partial repeal and reform proposals recur in Congress; treat structural change as possible, not imminent
- Your own data: stays funded by pathway, denied, or state-only funded, by facility — the ledger that grounds both advocacy and expansion planning
Common questions
Answers before you build.
What is the IMD exclusion?+
A federal Medicaid rule generally barring federal payment for services to enrollees aged 21 through 64 while they are patients in an institution for mental diseases — a facility of more than sixteen beds primarily engaged in treating mental illness or substance use disorders. It is a payment exclusion, not a licensure rule, and several waiver and managed-care pathways fund short-term stays around it.
Does the IMD exclusion apply to substance use treatment facilities?+
Yes — mental diseases include substance use disorders for this purpose, so residential SUD facilities over sixteen beds can be IMDs. That is exactly why the Section 1115 SUD waiver authority exists: adopting states draw federal match for short-term SUD stays in IMDs under demonstration terms.
How do facilities over sixteen beds get Medicaid payment?+
Through the pathways: a state 1115 SUD or SMI/SED waiver covering short-term stays, managed-care plans paying short stays as in-lieu-of services within federal day limits, populations outside the 21–64 band, or state-only funding. Each has conditions and clocks — the funding basis should be identified per admission, not assumed per facility.
Is my facility an IMD?+
That is a state determination applying federal criteria — overall character as an institution primarily treating mental diseases, and the bed threshold — and it can turn on program mix and structure, not just the license. Obtain your state's determination and reasoning in writing, and reassess before expansions that change beds or program composition.
Practical closeout
Use this operator checklist.
- The exclusion bars federal Medicaid payment for adults 21–64 in facilities over sixteen beds primarily treating mental diseases, including SUD.
- Whether your facility is an IMD is a determination with enormous payer consequences — know your status and the basis for it.
- SUD and SMI/SED 1115 waivers fund short-term IMD stays in adopting states, with day limits and program conditions.
- Managed-care plans may cover short IMD stays as in-lieu-of services — plan contracts, not the state plan, carry the terms.
- Track the pathway per admission: the same bed can be fundable or not depending on the patient's age, coverage, and the stay's length.
Continue through the cluster
Verified customer case studies are added only with customer permission and supporting evidence; none is implied by these operational examples.
Sources & methodology
Trace the operational claims.
Marsa Health Editorial reviewed the primary and research sources below on July 28, 2026. We translate them into workflow controls, distinguish proposals from final rules, and flag where plan, program, state, contract, or clinical requirements vary.
- 01Medicaid's Institution for Mental Diseases (IMD) Exclusion Congressional Research ServiceNonpartisan summary of the IMD exclusion, the 16-bed threshold, and the statutory and waiver pathways around it.Accessed or rechecked July 28, 2026
- 02Payment for services in institutions for mental diseases (IMDs) MACPACCongressional advisory-commission materials on IMD payment policy, exceptions, and managed-care in-lieu-of authority.Accessed or rechecked July 28, 2026
- 03A Look at 1115 Waiver Evaluations for Medicaid Payments to IMDs for Substance Use Disorder KFFAnalysis of state SUD IMD waiver adoption and evaluation findings. Labeled population-level context.Accessed or rechecked July 28, 2026
- 04Substance Use Disorder Treatment Substance Abuse and Mental Health Services AdministrationCurrent federal treatment and referral resources, including evidence-based care, low-barrier models, medications, SBIRT, and treatment locators. It does not define payer-specific authorization criteria.Accessed or rechecked July 28, 2026
- 05CMS Interoperability and Prior Authorization Final Rule CMS-0057-F Centers for Medicare & Medicaid ServicesCurrent implementation dates, decision timeframes, denial-reason requirements, metrics, and API provisions for impacted payers.Accessed or rechecked July 28, 2026
- 06Electronic Prior Authorization Centers for Medicare & Medicaid ServicesCurrent CMS provider-readiness guidance for 2027 electronic prior authorization, EHR questions, FHIR testing, and workflow preparation.Accessed or rechecked July 28, 2026
- 07Minimum Necessary Requirement U.S. Department of Health and Human ServicesHIPAA guidance on limiting uses, disclosures, and requests for protected health information when the standard applies.Accessed or rechecked July 28, 2026
Organizational author. Editorial review covers source accuracy, search intent, workflow boundaries, and human-oversight requirements. This material is educational and does not provide clinical, legal, coding, or coverage advice.
No named clinical or legal expert reviewer is attributed to this version. Marsa Health does not invent reviewer credentials.
Read our editorial methodRevision history
What changed and when
July 28, 2026
Initial publication, source review, and operational editing.