Behavioral Health Billing ExpertsCall Now | 949-676-2252
Resource Hub›CPT Guides
CPT Guides

H0018 CPT Code: Choosing Between H0017, H0018 and H0019

You'll be able to pick the right residential per diem code for each stay based on setting and expected length of stay.

Cipher Billing

Behavioral Health Billing Team

October 21, 2026
9 min read
H0018H0017H0019

You'll be able to pick the right residential per diem code for each stay based on setting and expected length of stay.

If your program runs a short-term residential stay in a non-hospital setting, the h0018 cpt code is the per diem you'll bill, while H0017 covers hospital residential and H0019 covers long-term non-hospital stays. All three are HCPCS Level II codes, which CMS maintains, and each is billed per day without room and board. Picking the wrong one is a common reason residential claims get questioned, so the setting and the expected stay come first.

H0018 CPT Code Definition and How It Differs From H0017 and H0019

H0018 describes behavioral health short-term residential treatment, delivered outside a hospital, and billed one day at a time without room and board. Strictly speaking it isn't a CPT code at all. CPT belongs to the AMA, while the H-codes sit in HCPCS Level II, which CMS maintains. Payers and search results still say "CPT, " but your claim form and the payer's policy will treat it as an HCPCS code.

The three codes separate on two points, and the descriptors don't leave much room for interpretation:

  • **H0017** covers residential treatment in a hospital setting.
  • **H0018** covers short-term residential treatment in a non-hospital setting.
  • **H0019** covers long-term residential treatment in a non-hospital setting.

If your facility is licensed as a freestanding residential program, H0017 is off the table, and the choice narrows to H0018 or H0019. That's where most billing managers get stuck, because the descriptors say "short-term" and "long-term" without defining either one. HCPCS doesn't set a day count, so the line between them comes from the payer, usually in a provider manual, a fee schedule, or the contract itself. Some state Medicaid agencies define it. Others leave it to the managed care plan.

Before you build a charge master line, pull the payer's current residential policy and look for three things: which of the codes it recognizes, how it defines short versus long stay, and whether it expects a specific modifier. Payers differ on all three, so confirm each one in the payer's own manual or your state Medicaid manual rather than assuming last year's rule still applies.

Choosing a Residential Code by Setting and Expected Length of Stay

Start with the license and the physical location where the person sleeps and receives treatment, because that answer eliminates one code before length of stay even comes up. A unit inside an acute care hospital points to H0017. A freestanding facility with its own residential license points to H0018 or H0019, and the expected stay decides between those two.

Work through it in this order:

  1. 1Confirm the setting on your license and on the payer's enrollment record for your facility. If the two disagree, fix that before billing a single day.
  2. 2Pull the payer's definition of short-term versus long-term residential. Look in the provider manual, the fee schedule, or the contract, and write down the exact wording and the date of the version you used.
  3. 3Compare that definition against the expected stay in the authorization and the treatment plan. The code should match what the utilization reviewer approved, not a guess made at admission.
  4. 4Check whether the payer wants the code fixed for the whole episode or lets you change it if the stay runs longer than planned.

That last point causes the most rework. A person admitted under an H0018 authorization who stays well past the payer's short-term window may need a new authorization or a code change, and payers handle that differently. Ask the payer in writing how a mid-stay change works, and keep the answer in your payer file.

Your utilization review team is the natural owner of this decision, since they already track authorized days and payer communication. If you want a second set of eyes on how your utilization review process feeds code selection, we can look at that during an onboarding audit of your documentation.

Rules differ by payer, plan, state, and contract, so confirm each one in the payer's current provider manual or your state Medicaid manual.

How ASAM Residential Levels Map to H0017, H0018, and H0019

No official crosswalk ties an ASAM level to any one of these three codes. ASAM, the American Society of Addiction Medicine, defines the clinical levels, while CMS maintains the HCPCS codes, and the two systems were built separately. Any mapping you use comes from the payer's policy or your state Medicaid manual, so treat it as a payer rule, not a national one.

The levels give you a starting point for the conversation. ASAM's residential levels are 3.1 (clinically managed low-intensity), 3.5 (clinically managed high-intensity), and 3.7 (medically monitored intensive inpatient). Level 4 is medically managed intensive inpatient, and it's delivered in a hospital. Because H0017 describes a hospital setting, it's the code most often discussed alongside Level 4, though a payer may also apply it to other hospital-based residential stays.

For the non-hospital levels, payers diverge. One plan may pair 3.1 with H0019 because the stays tend to run longer, and pair 3.5 with H0018. Another may accept either code at any residential level and sort them only by length of stay. Some state Medicaid programs publish a table that lists the level of care beside the code, and that table is the document to print and file.

Your utilization reviewer should do three things before the first claim goes out:

Record the ASAM level in the authorization request and the treatment plan, using the same wording the payer uses.

Find the payer's code and level pairing in its provider manual or the state Medicaid manual.

Flag any case where the level and the code don't match the payer's table, so it's resolved before billing.

Our residential treatment billing services page describes how we review this pairing during onboarding.

What Without Room and Board Means for the Claim

The per diem on your claim pays for the treatment services delivered that day, such as clinical programming, supervision, and staff time. The cost of the bed and meals sits outside that rate. HCPCS, which CMS maintains, uses "without room and board" to mark that split, so the code alone doesn't tell you whether anyone pays for lodging.

Whether the payer covers room and board depends on the plan and the state. Many state Medicaid programs don't pay it at all, and some commercial plans carve it out or cover it under a separate benefit. Check the payer's provider manual or your state Medicaid manual for the exact rule, since there's no national standard to rely on.

For billing, that creates a few practical points:

Don't add room and board charges to the H-code line. The code describes treatment only, and padding it can trigger a review.

Find out whether the payer reimburses lodging under a separate code or revenue line, or not at all.

If the payer doesn't cover it, decide how your program will handle that cost, whether through private pay arrangements, grants, or another funding source, and document the decision.

Verifying this before admission matters, because a person who learns about uncovered housing costs after arrival is far more likely to dispute the bill. Your verification of benefits process should ask directly whether residential room and board is a covered benefit and record the answer beside the authorization.

Keep the payer's wording in the file, along with the manual version and date you checked. If a claim is questioned later, that record shows what the payer's own policy said when you billed.

Revenue Codes and Documentation That Support Each Day Billed

On a UB-04 institutional claim, the H-code goes in the HCPCS field beside a revenue code, and NUBC, the National Uniform Billing Committee, owns that revenue code set. Residential treatment is commonly reported under a revenue code in the 1000 series, but payers differ on which one they accept with each H-code, so check the payer's billing manual or your state Medicaid manual before you build the charge master line. Our post on behavioral health revenue codes for the UB-04 walks through how the pairing works on the form.

Each day you bill needs its own support in the record. Reviewers generally look for the same core items, though the exact list comes from the payer's policy:

An admission order and an authorization that covers the date of service.

A treatment plan that states the level of care and is updated on the schedule the payer requires.

A dated daily note showing the treatment actually delivered, written by someone whose credentials the payer recognizes.

Evidence of ongoing medical necessity, such as assessment findings that explain why the person still needs a residential setting.

Gaps in any one of these can sink a single day or an entire stay. A note that describes a group session without naming the person's participation, or a plan that expired mid-stay, gives a reviewer a reason to reject the line.

Your billing and clinical teams should agree on what counts as a billable day, including how you handle the day of admission and the day of discharge. Payers define those differently, so get their wording in writing. For a closer look at what supports medical necessity, see our guide to medical necessity and prior authorization documentation.

Why Residential Per Diem Claims Get Denied

Most residential per diem denials trace back to a mismatch between the claim and something the payer already holds, such as the authorization, the enrollment record, or the clinical file. The code you billed, the dates, and the level of care all have to agree with those documents. When one doesn't, the payer rarely needs to question the treatment itself to deny the day.

The mismatches we see reviewers flag most often are these:

**Wrong code for the authorization.** An H0018 claim submitted under an H0019 authorization, or the reverse, can be rejected as unauthorized even though care was delivered.

**Dates outside the authorized span.** Days billed after the last approved date, or before the start date, fall out one line at a time.

**Room and board folded into the treatment line.** The code describes treatment only, so a charge that includes lodging invites a payer adjustment.

**Missing or thin daily notes.** A day without a dated note showing what was delivered gives the reviewer nothing to pay against.

**Level of care that doesn't match the payer's table.** If the ASAM level in the record differs from the pairing in the provider manual, expect a medical necessity question.

When a denial arrives, read the remark and reason codes first, then compare the denied line against the authorization and the daily note for that date. Fix the cause before you resubmit, because sending the same claim again usually returns the same result. Appeal deadlines and required forms differ by payer, so check the provider manual or your state Medicaid manual for the filing window. Our denial codes reference can help you decode what a payer's remark is pointing at.

We start every client relationship with an audit of your documentation before claims go out, which is where most of these mismatches surface. You can request a free facility billing audit through our contact page or call 949-676-2252.

About the Author

Cipher Billing

Behavioral Health Billing Team

Share this article

Get Expert Help

Stop Losing Revenue To Billing Errors

Cipher Billing specializes in behavioral health revenue cycle management. Reach out for a free consultation and see how we can maximize your reimbursements.