Skip to content
MEDICARE • CUSTODY • RCM

Modifier QJ

Services / Items Provided to a Prisoner or Patient in State or Local Custody

A practical medical billing guide to Modifier QJ: what it means, when it applies, how Medicare handles beneficiaries in custody, claim billing, documentation, denial management and AR follow-up.

QJ
State / Local Custody Used when applicable Medicare requirements for services or items furnished to a person in custody are satisfied.

Modifier QJ at a Glance

The essential facts medical billers and AR callers should know.

QJ

Custody Modifier

QJ identifies applicable services or items furnished to an individual in State or local custody.

42

42 CFR 411.4

Medicare’s custody payment rules are tied to the requirements in 42 CFR 411.4.

CMS

Medicare

CMS generally does not pay for covered medical items and services furnished while a beneficiary is in qualifying custody, unless the regulatory conditions for payment are satisfied.

AR

Denial Focus

AR teams should verify custody status, dates, QJ reporting and the applicable government requirements.

What Is Modifier QJ?

Understand the modifier before applying it to a claim.

QJ

Simple Definition

Modifier QJ is used on applicable Medicare claims for services or items provided to a prisoner or patient in State or local custody when the applicable requirements under 42 CFR 411.4(b) are satisfied.

CMS specifically instructs physicians and other suppliers to use QJ when the applicable conditions for Medicare payment have been met.

Easy way to remember:

QJ = qualifying Medicare services/items for a person in State or local custody.

IMPORTANT

QJ Does Not Mean “Medicare Automatically Pays”

A common billing mistake is assuming that adding QJ by itself makes an incarcerated beneficiary’s claim payable.

QJ is used when the specific regulatory conditions for payment are met.

CMS’s current manual states that the modifier indicates the applicable State or local government has requirements under which the prisoner or patient is responsible to repay the medical cost and the government pursues collection of those debts with the same vigor and in the same manner as other debts.

Therefore, the underlying custody and government conditions must be verified before billing.

Who Is Considered to Be in Custody?

Medicare’s definition is broader than simply being inside a prison.

01

Jail or Prison

An individual incarcerated in a jail, prison, penitentiary or similar institution can be considered in custody under Medicare’s rules.

02

Medical Furlough

A person on medical furlough or a similar arrangement can remain within the regulatory definition of custody.

03

Criminal-Law Mental Health Facility

A person required by criminal law to live in a mental health facility may be considered in custody.

04

Escaped From Confinement

CMS also identifies certain individuals who have escaped from confinement as being within the custody definition.

Important Distinction

Not every person under criminal justice supervision is considered “in custody” for Medicare’s payment rules. CMS specifically identifies people who are released to the community pending trial, on parole, on probation, on home detention or living in a halfway house/community-based transitional facility as examples of individuals who are not considered in custody.

Medicare’s Custody Payment Rule

Why these claims require special attention.

MEDICARE PAYMENT

General Rule

Medicare generally does not pay for medical items and services furnished to a beneficiary while the beneficiary is in qualifying custody of penal authorities.

CMS uses custody information received from the Social Security Administration to support claims processing.

When the applicable regulatory conditions are satisfied, providers and suppliers can indicate that fact on the claim using Modifier QJ.

Why QJ Matters

Claims involving beneficiaries in custody can otherwise be rejected or denied through Medicare’s custody-related claim edits.

The modifier communicates to Medicare that the provider or supplier believes the required government conditions for payment are satisfied.

AR takeaway:

A QJ denial should not automatically be treated as a routine modifier correction. First determine whether the beneficiary’s custody status and the regulatory payment conditions are correct.

When Can Modifier QJ Be Used?

Verify the underlying conditions before reporting QJ.

01

Patient Is in Qualifying Custody

The individual must be in custody of a penal authority under the applicable Medicare regulatory definition.

02

State / Local Government Conditions

The applicable State or local government must satisfy the conditions required by 42 CFR 411.4(b).

03

Collection Responsibility

The government entity must pursue collection of applicable medical-service debts as required by the regulation.

04

Correct Date of Service

The custody period must be compared against the actual dates of service being billed.

05

Appropriate Claim Type

Billing instructions differ depending on whether the claim is outpatient, inpatient or another applicable claim type.

06

Correct Modifier Reporting

For applicable professional/supplier and outpatient claims, QJ must be reported according to CMS claim-processing instructions.

Modifier QJ Billing Workflow

A practical workflow for medical billing teams.

1 Verify the patient’s Medicare eligibility.
2 Determine whether the patient was in qualifying State or local custody on the date of service.
3 Compare the custody period with the actual claim dates.
4 Determine whether the State/local government meets the applicable requirements under 42 CFR 411.4(b).
5 Confirm the service/item and claim type.
6 Apply QJ when the applicable Medicare billing instructions require it.
7 Submit the claim with accurate provider and patient data.
8 Review the ERA/EOB after adjudication.
9 If denied, determine whether the issue is custody status, QJ reporting, eligibility, dates or another claim edit.
10 Correct or appeal only after the underlying facts are verified.

QJ Claim Processing: Professional vs Inpatient

CMS provides different instructions depending on claim type.

Claim Type CMS Direction Key Billing Point
Professional / Supplier Physicians and other suppliers use QJ when the applicable custody requirements are met. Append QJ to the applicable service/item claim line.
DME DME suppliers follow the applicable Medicare claim processing instructions for custody-related items. Verify the DME MAC requirements before billing.
Outpatient Institutional Providers append QJ on applicable lines with a line-item date of service during the incarceration period when the requirements are satisfied. Review the line-level date of service carefully.
Inpatient CMS provides separate instructions when the incarceration period overlaps only part of an inpatient stay. Hospitals identify overlapping days/services as non-covered according to CMS instructions; QJ is not simply handled like a professional claim-line modifier.

Do Not Copy the Professional Claim Workflow to an Inpatient Claim

CMS specifically distinguishes inpatient processing from professional/supplier and outpatient claims. The inpatient workflow includes non-covered billing treatment for the incarceration overlap and can involve payer-only Condition Code 63 during processing.

Modifier QJ Practical Examples

Scenarios for billers and AR callers.

Example 1 — Qualifying Custody

A Medicare beneficiary receives an outpatient physician service while incarcerated in a State correctional facility.

Billing Review

Verify that the State/local government satisfies the applicable requirements under 42 CFR 411.4(b). If so, report QJ according to the applicable claim-processing instructions.

Example 2 — Parole

A Medicare beneficiary is living in the community while on parole and receives a physician service.

Important

CMS identifies individuals on parole as not being in custody for this Medicare custody definition. Do not apply QJ simply because the person has a criminal justice history.

Example 3 — Home Detention

A beneficiary is under home detention and receives an outpatient medical service.

QJ Review

CMS identifies home detention among situations that are not considered custody for this purpose. Verify the actual status before using QJ.

Example 4 — Medical Furlough

A prisoner is temporarily on medical furlough while receiving healthcare services.

Verify Custody Status

CMS identifies medical furlough or a similar arrangement within its custody examples. Verify the actual custody status and payment conditions.

Example 5 — Released Pending Trial

A beneficiary is released into the community pending trial and later receives a medical service.

Generally Not QJ

CMS identifies release to the community pending trial, including release on bail, as outside the custody definition.

Example 6 — Custody Data Mismatch

Medicare denies a physician claim because its custody data indicates that the beneficiary was incarcerated on the date of service.

AR Action

Verify the actual custody dates. If the beneficiary was not in qualifying custody on the date of service, gather supporting evidence for reconsideration or appeal.

Situations That Should Not Automatically Trigger QJ

Avoid common custody-status assumptions.

NO

Parole

Parole alone does not place the person within CMS’s custody definition for this purpose.

NO

Probation

Probation alone is not the same as qualifying custody under Medicare’s regulation.

NO

Home Detention

CMS identifies home detention as outside the custody definition.

NO

Halfway House

Living in a halfway house or community-based transitional facility does not automatically constitute custody.

NO

Bail Release

A person released to the community pending trial, including on bail, is not considered in custody under CMS’s listed examples.

NO

Criminal History

Having a criminal record does not by itself establish qualifying custody on the date of service.

QJ Documentation Checklist

Keep enough information to support claim processing and appeal.

Patient / Custody Documentation

  • Patient’s Medicare eligibility information.
  • Actual date of service.
  • Custody start date when available.
  • Custody end/release date when applicable.
  • Name/type of penal authority.
  • Facility or government agency information.
  • Documentation supporting a custody-status correction when Medicare’s data is incorrect.

Billing Documentation

  • Correct CPT/HCPCS code.
  • Correct date of service.
  • QJ reported when applicable.
  • Correct provider NPI.
  • Correct patient identifier.
  • Claim type verified.
  • ERA/EOB and denial details retained.

QJ Denial Management for AR Callers

Work the denial from the root cause instead of blindly adding QJ.

01

Read the ERA

Identify the exact CARC/RARC or payer message explaining the custody-related denial.

02

Verify DOS

Compare the date of service against the beneficiary’s documented custody period.

03

Verify Custody

Determine whether the patient was actually in qualifying custody under Medicare’s definition.

04

Check QJ

Confirm whether QJ was correctly reported for the claim type and line.

05

Check CMS Data

If the denial appears inconsistent with the actual custody status, gather documentation supporting the discrepancy.

06

Correct or Appeal

Correct the claim if the billing was wrong. If Medicare’s custody determination is incorrect, pursue the appropriate appeal with supporting evidence.

Common QJ Denial Causes

Areas to investigate during AR follow-up.

01

QJ Missing

The applicable professional or supplier claim was submitted without the required QJ modifier.

02

QJ Incorrect

QJ was reported even though the patient was not in qualifying custody.

03

Custody Date Mismatch

Medicare’s custody data overlaps the claim date even though the provider’s records show a different status.

04

Government Requirement Not Met

The applicable State or local government conditions for Medicare payment were not satisfied.

05

Wrong Claim Type

The claim was handled using professional-claim logic when inpatient processing rules applied.

06

Eligibility Issue

Medicare eligibility or beneficiary information may be incorrect or outdated.

07

Provider Data Error

NPI, taxonomy, enrollment or claim-submission information may be causing an additional denial.

08

Incorrect Custody Status

SSA/CMS custody information may not reflect the beneficiary’s actual release date.

09

Documentation Missing

The provider cannot substantiate the patient’s status on the date of service.

AR Caller Script for a QJ Denial

Practical questions to ask Medicare or the MAC.

“I’m calling regarding a claim denied due to the beneficiary being identified as in State or local custody. Can you provide the exact denial reason?”
“Can you provide the CARC and RARC associated with the claim?”
“Can you confirm the custody dates Medicare has on file for this beneficiary?”
“What date range caused the claim to overlap the custody period?”
“Was the claim processed with Modifier QJ?”
“If QJ was submitted, can you confirm whether the denial is because the requirements under 42 CFR 411.4(b) were not satisfied?”
“If our records show the beneficiary was not in custody on the date of service, what documentation is required to dispute the custody status?”
“Should this be submitted as a corrected claim or handled through the appeal/reconsideration process?”
“May I have the representative’s name and call reference number?”

QJ Appeal Strategy

What to do when Medicare’s custody information appears incorrect.

When the Patient Was NOT in Custody

  • Verify the exact date of service.
  • Obtain official release documentation when available.
  • Compare release date with the denied claim date.
  • Document the discrepancy clearly.
  • Follow the Medicare appeal level applicable to the claim.
  • Include supporting evidence with the appeal.

When the Patient WAS in Custody

  • Verify whether the State/local government meets the applicable regulatory requirements.
  • Verify whether QJ should have been reported.
  • Review the claim type.
  • Confirm the correct line-level date of service.
  • Correct the claim if the modifier was omitted.
  • Do not appeal solely because the patient has Medicare.

Key Appeal Principle

CMS specifically states that a party may appeal a custody-based denial on the basis that, on the date of service, the conditions under 42 CFR 411.4(b) were met or the beneficiary was not in State or local government custody under a penal statute.

Condition Code 63 vs Modifier QJ

Important distinction for institutional billing teams.

INSTITUTIONAL

Condition Code 63

CMS uses Condition Code 63 in the institutional inpatient processing workflow for incarcerated beneficiaries.

When the inpatient claim is correctly billed, the Medicare contractor appends payer-only Condition Code 63 during processing.

This is different from simply putting QJ on a professional claim.

Modifier QJ

QJ is a HCPCS modifier used by physicians and other suppliers and on applicable outpatient claim lines when the custody payment requirements are met.

Billing Reminder

Do not substitute QJ for the institutional inpatient billing instructions or assume Condition Code 63 is a replacement for QJ on professional claims.

How to Prevent QJ Denials

Build custody-status validation into the RCM workflow.

Front-End / Eligibility Team

  • Verify Medicare eligibility.
  • Identify custody status when relevant.
  • Record facility and government information.
  • Verify date of service against custody dates.
  • Flag potential custody-related claims before submission.

Billing / AR Team

  • Review QJ requirements.
  • Confirm the correct claim type.
  • Apply QJ according to CMS instructions.
  • Monitor custody-related denials.
  • Maintain documentation for disputes.

Modifier QJ Audit Matrix

Use this checklist before releasing a custody-related claim.

Audit Question If YES If NO Action
Is the beneficiary in qualifying custody? Continue Do not assume QJ Verify actual status
Does the custody period overlap the date of service? Continue Review denial/status Confirm dates
Are the State/local government conditions satisfied? Continue Investigate Review 42 CFR 411.4(b)
Is this an applicable professional/supplier claim? Continue Review claim-specific rules Verify claim type
Is QJ required/applicable? Report QJ Do not add automatically Follow CMS/MAC instructions
Is this an inpatient claim? Use inpatient workflow Continue professional/outpatient workflow Review applicable CMS instructions
Is supporting documentation available? Submit Obtain records Maintain appeal evidence

Modifier QJ Quick Cheat Sheet

Save this section as a daily AR reference.

  • QJ is associated with services/items provided to a prisoner or patient in State or local custody.
  • The applicable State/local government requirements under 42 CFR 411.4(b) must be satisfied.
  • Medicare generally does not pay for medical services/items furnished while a beneficiary is in qualifying custody unless the regulatory conditions for payment are met.
  • Physicians and other suppliers use QJ on applicable claims.
  • For applicable outpatient institutional claims, QJ is appended to lines with a line-item date of service during the incarceration period.
  • Inpatient claims follow a separate CMS processing workflow.
  • Condition Code 63 is an institutional inpatient processing concept and should not be confused with QJ.
  • Parole, probation, home detention and community-based transitional housing are not automatically qualifying custody situations.
  • Verify the actual custody dates before appealing a denial.
  • If Medicare’s custody data is incorrect, obtain supporting evidence and follow the applicable appeal process.
  • Medicare Advantage and commercial payer requirements should be verified separately.

Modifier QJ FAQs

Common questions from medical billers, coders and AR callers.

What does Modifier QJ mean?

QJ identifies applicable services or items provided to a prisoner or patient in State or local custody when the applicable Medicare requirements under 42 CFR 411.4(b) are met.

Does Medicare pay for prisoners?

Medicare generally does not pay for medical items and services furnished to a beneficiary while the beneficiary is in qualifying custody. Payment may be possible when the applicable regulatory conditions are satisfied.

Is every incarcerated Medicare beneficiary automatically eligible for QJ?

No. The claim must meet the applicable custody and government requirements. QJ is not simply a blanket “prisoner” modifier.

Is someone on parole considered in custody?

CMS lists individuals on parole as not being in custody for this Medicare definition.

Is probation considered custody?

CMS lists individuals on probation among those who are not considered in custody for this purpose.

Is home detention considered custody?

CMS identifies home detention as a situation that does not constitute custody under this Medicare definition.

Can QJ be used on professional claims?

Yes. CMS instructs physicians and other suppliers to use QJ when the applicable requirements are met.

Can QJ be used on outpatient institutional claims?

Yes. CMS instructs applicable outpatient providers to append QJ to lines with a line-item date of service during the incarceration period when the requirements are met.

Is QJ used the same way on inpatient claims?

No. CMS provides separate inpatient instructions for incarceration periods that overlap an inpatient stay. Hospitals should follow the applicable institutional billing guidance rather than treating the claim like a professional claim.

What is Condition Code 63?

Condition Code 63 is an institutional claim-processing mechanism associated with incarcerated beneficiaries. CMS updated its guidance for this code effective July 1, 2025.

What should an AR caller check when QJ is denied?

Check the denial code, custody dates, date of service, beneficiary status, QJ reporting, claim type and whether the applicable 42 CFR 411.4(b) requirements were satisfied.

What if Medicare says the patient was incarcerated but the provider has proof that the patient was released?

Gather official documentation supporting the release date and follow Medicare’s applicable appeal process. CMS specifically recognizes an appeal basis when the beneficiary was not actually in State or local government custody on the date of service.

Does QJ apply to Medicare Advantage?

This guide focuses on Original Medicare claim-processing rules. Medicare Advantage plans can have their own operational requirements, so verify the specific plan’s billing guidance.

Is QJ the same as Q6?

No. Q6 is associated with qualifying locum tenens fee-for-time arrangements, while QJ concerns applicable services/items provided to individuals in State or local custody.

Is QJ a denial-prevention modifier?

It can help Medicare correctly identify an eligible custody-related claim, but QJ should only be reported when the underlying Medicare requirements are satisfied.

Master Medical Billing Modifiers

Continue learning Medicare, Medicaid, CPT, HCPCS, claim corrections, denial management and practical US healthcare RCM workflows.

Explore LearnMedicalBilling.in