Skip to content
Blog
Guides

Can You Opt Out of Medicare and Still Work Hospital, Urgent Care or Locums Shifts?

Tabflows TeamNovember 18, 202614 min read

Can You Opt Out of Medicare and Still Work Shifts?

Usually not, if the hospital, urgent care center or locums client bills Medicare for your work. A Medicare opt-out covers every Medicare-covered service you give any Medicare patient, wherever you give it, and no Medicare payment can go to you or to an employer for those services for as long as the opt-out runs, which is two years at a time with automatic renewal. That means most employers that bill Medicare can't schedule an opted-out physician on Medicare patients. Shifts with no Medicare patients, work paid for by a government entity such as the VA, and true emergency or urgent care for a patient without a private contract are the narrow exceptions.

Hand-drawn sketch titled "Hospital shifts?" of a thoughtful physician at a fork in a path, with a small clinic house on the left and a hospital on the right behind a blank barrier across its path.

The rules sit in 42 CFR part 405, subpart D, sections 405.400 through 405.455, and CMS explains them in the Medicare Benefit Policy Manual, chapter 15, section 40. If you haven't filed yet, our step-by-step guide on how to opt out of Medicare for a DPC covers the affidavit and private contract in detail.

This is general information, not legal advice. Employer contracts, state rules and your Medicare Administrative Contractor (MAC) all shape the answer for your situation, so confirm the details with them and with a health care attorney before you sign anything.

What Does Opting Out of Medicare Actually Cover?

The opt-out attaches to you as a clinician, not to one practice or one location. Section 40.23 of the Benefit Policy Manual says the opt-out "applies to all items or services the physician or practitioner furnishes to Medicare beneficiaries, regardless of the location where such items or services are furnished." Section 40.5 adds that you cannot opt out for some Medicare patients but not others, or for some services but not others.

The affidavit you sign spells out the reach. Under 42 CFR 405.420(e), you state that you may receive no direct or indirect Medicare payment for services to Medicare patients you have privately contracted with "whether as an individual, an employee of an organization, a partner in a partnership, under a reassignment of benefits, or as payment for a service furnished to a Medicare beneficiary under a Medicare Advantage plan." Paragraph (f) adds that no Medicare payment may be made to any entity for your services, and paragraph (h) says the terms apply to all Medicare-covered services you furnish "without regard to any payment arrangements" you make. That last phrase is the one that matters for shift work, because a W-2 salary or a locums day rate doesn't move the services outside the rule.

A few more details shape what a shift looks like:

  • Medicare Advantage patients count too. 42 CFR 405.425(a) bars payment by Medicare or any Medicare Advantage plan to you or to anyone you reassign payment to, and 42 CFR 422.220 bars Medicare Advantage plans from paying for basic benefits you furnish. Our post on DPC and Medicare Advantage covers the patient side.
  • Medicare as secondary payer counts too. Section 40.25 of the manual says you still need a private contract for covered services even when Medicare would be the secondary payer, such as for a working patient who still has employer coverage.
  • Not every Medicare patient is 65. CMS's eligibility page lists people who are disabled or have end-stage renal disease alongside people 65 and older, and 42 CFR 405.400 defines a beneficiary as anyone enrolled in Part B.
  • It lasts two years and renews on its own. Section 405.400 defines the opt-out period as a two-year period plus each later two-year period unless you cancel. In its CY 2027 home health final rule (published November 9, 2026), CMS clarified that when a MAC asks for a new affidavit, the period runs from the date the first submitted affidavit was signed, and said this reflects its existing policy.

What you keep is the ability to order and refer. Under section 405.425(i), an opted-out physician who isn't excluded and whose enrollment isn't revoked may order, certify, prescribe and refer for Medicare-covered items and services, as long as they aren't paid for them. Section 40.5 of the manual gives the example that if an opted-out physician admits a patient to a hospital, Medicare pays the hospital for medically necessary care.

Can an Opted-Out Doctor Work Hospitalist Shifts?

For a hospitalist job at a hospital that bills Medicare for your professional services, the answer is generally no for Medicare patients. Section 40.23 of the manual says that when an opted-out physician belongs to a group or reassigns Medicare payment to an organization, "the organization may no longer bill Medicare or be paid by Medicare for services that the physician or practitioner furnishes to Medicare beneficiaries."

CMS also tells its contractors what to do when payment slips through. Section 40.30 says that when an opted-out physician has a salary arrangement with a hospital, clinic or group and doesn't submit bills directly, the contractor "must recover the payment made for the opt-out physician/practitioner from the hospital/clinic/group practice, after appropriate notification." For the physician, 42 CFR 405.435 says knowingly and willfully receiving Medicare payment, directly or indirectly, is a failure to maintain the opt-out, which voids your private contracts and the opt-out for the rest of the period and blocks a new opt-out until that two-year period ends, unless you make good-faith efforts to correct it within 45 days of the MAC's notice, under section 405.435(d).

That is why hospitals and hospitalist groups that bill Medicare usually can't use an opted-out physician on their regular services. A hospital job where none of your patients are Medicare beneficiaries would be different, so ask the employer directly how your patients are assigned.

What About ED and Urgent Care Shifts?

The emergency exception is real, but it is built for situations rather than schedules. Under 42 CFR 405.440, an opted-out physician can treat a Medicare patient who needs emergency or urgent care and has no private contract with them. In that case the physician must submit a claim to Medicare and may collect no more than the Medicare limiting charge (for a nurse practitioner or PA, the deductible and coinsurance). A private contract can't be signed while the patient needs emergency or urgent care, per section 405.415(k).

The definitions are clinical, not about the sign on the building. Section 405.400 defines emergency care services as hospital services needed to prevent death or serious impairment of health, and urgent care services as services needed "within 12 hours in order to avoid the likely onset of an emergency medical condition." Section 40.29 of the manual uses a painful ear infection as its example of urgent care. A walk-in visit at an urgent care center for a routine refill or a sports physical wouldn't meet that definition just because of where it happens.

The paperwork follows a set path:

  • You enroll to bill those claims. The Program Integrity Manual, chapter 10, section 10.6.12(D), says an opted-out practitioner who gives emergency or urgent care must apply for enrollment with Form CMS-855I, then submit the claims once a billing number (PTAN) is issued. CMS's Manage Your Enrollment page calls this the only exception to the rule that you can't be enrolled and opted out at once.
  • The claim carries the GJ modifier. Section 40.28 of the Benefit Policy Manual says claims for this care use the GJ modifier, and that contractors deny claims missing it.
  • Follow-up care goes back under a contract. Section 40.28 uses a fractured leg as its example. Setting the fracture is billed as emergency care, but once the patient no longer needs emergency or urgent care, the physician must ask for a private contract for follow-up or refer the patient to a Medicare physician.
  • Patients you already contracted with are different. Under section 405.440(c), emergency care for a patient who signed your private contract before the emergency falls under that contract, and Medicare won't pay.

Section 40.28 also says CMS recommends "post-pay records review of frequent users of the opt-out modifier." Put together, these rules don't describe a way to staff regular ED or urgent care shifts on Medicare patients, and an employer may not want to build a schedule around them. Medicare Advantage plans must pay for emergency or urgently needed services from an opted-out physician without a contract under 422.220(b), but the same caution applies. If an ED or urgent care employer tells you they have a process for this, ask them to put it in writing and check it with your MAC.

Does the Opt-Out Follow You Into Locums Work?

Yes, because it follows you everywhere. When a locums assignment is at a hospital or clinic that bills Medicare for your services, the hospitalist and ED answers above apply wherever the assignment is. CMS says it includes each opt-out decision in its Opt Out Affidavits dataset, and the MLN Medicare Provider Enrollment booklet points clinicians to that list to check their status. Because the dataset is public, credentialing teams can check it too.

The opt-out also isn't limited to one state. 42 CFR 405.410(b) requires an affidavit with each MAC you would file claims with, but section 40.23 says the opt-out applies regardless of location.

Hand-drawn sketch titled "Which shifts fit" of a physician presenting a week planner where some days carry a green check with a balloon or a clinic and others a red X.

Which Shifts Still Work After You Opt Out?

The test for any job is who pays for your work and whether Medicare patients are on your schedule. Here is how the common settings line up under the rules above.

Shift settingWho pays for your servicesFits an opt-out?
Hospitalist at a hospital that bills MedicareMedicare Part B through your reassignment, plus other payersGenerally no for Medicare patients (BPM 40.23, 40.30)
ED that bills MedicareMedicare, Medicare Advantage and other payersOnly emergency care for patients with no contract, billed under 405.440, so confirm with employer and MAC
Urgent care center that bills MedicareMedicare, Medicare Advantage and other payersGenerally no for Medicare patients, apart from visits that meet the 405.400 urgent care definition
Locums at a site that bills MedicareThe site, which bills Medicare for your workSame as the setting you're placed in
Pediatric urgent care or other shifts with no Medicare beneficiariesCommercial plans, Medicaid or patientsYes, if no Part B enrollees are on your schedule
VA facilityThe VAGenerally outside Medicare billing (42 CFR 411.8), so confirm with the facility
Cash-pay clinicPatientsYes, with your private contract for any Medicare patient (BPM 40.23)

Stay enrolled and keep Medicare patients out of the DPC

You don't have to opt out to run a DPC. CMS's Manage Your Enrollment page says that if you don't see Medicare patients, you don't have to enroll in or opt out of Medicare. A physician who still works shifts can stay enrolled, keep the hospital or urgent care work, and open the DPC membership to patients who aren't on Medicare.

The trade-off is that an enrolled physician who does see Medicare patients for covered services generally has to submit claims for them. The mandatory claim submission rule is in 42 U.S.C. 1395w-4(g)(4), and section 40.33 of the Benefit Policy Manual says it stops applying only once you opt out. Practices that want Medicare patients while staying enrolled end up in a hybrid model, which our guide to hybrid DPC practices walks through. When the shifts end, you can opt out then. Section 405.410(d) says a participating physician opts out at the start of a calendar quarter, with the affidavit submitted at least 30 days before that quarter begins.

Pick shifts where no Medicare patients are seen

Pediatric urgent care, college health and other jobs whose patients aren't Medicare beneficiaries sit outside the opt-out entirely, because the opt-out only governs care for Medicare patients. Keep in mind the under-65 patients with Medicare through disability or end-stage renal disease, and ask the employer how they route those patients.

Federal and cash-pay work

42 CFR 411.8 says Medicare doesn't pay for services paid for directly or indirectly by a government entity, which is why VA work generally sits outside Medicare billing. Ask the facility's credentialing office how it handles an opted-out physician before you sign. The same section lists exceptions where Medicare can pay, including Indian Health Service hospitals and state or local government hospitals that serve the general community, so treat those like any other job that bills Medicare. For a cash-pay employer, section 40.23 says an organization you assign billing to may bill and be paid by the patient for care under your private contract.

How Do You Cancel a Medicare Opt-Out to Go Back to Shift Work?

There are two ways out, and the timing decides which one you can use. The Medicare opt-out planner works out these dates from your effective date.

Undo it in the first 90 days

42 CFR 405.445(b) lets you terminate an opt-out early if you have never opted out before and you notify every MAC you filed with no later than 90 days after the effective date of your initial two-year period. You must also refund each private-contract patient anything you collected above the Medicare limiting charge (or above the deductible and coinsurance for an NP or PA), and tell each of them they can have claims filed with Medicare for the care you gave during the opt-out.

Done properly, section 405.445(c) reinstates you as if you had never opted out. Section 10.6.12(E) of the Program Integrity Manual says a previously enrolled clinician's PECOS record and billing number are reinstated, and that a renewed opt-out can't be terminated this way.

Cancel the automatic renewal

After the first 90 days, you leave at the end of a two-year period. Section 405.445(a) requires written notice to each MAC no later than 30 days before the current period ends, saying you don't want the opt-out extended. Section 10.6.12(F) of the Program Integrity Manual says MACs return notices that arrive inside that 30-day window or after renewal, and return notices sent more than 90 days before the renewal date as too early. It also says MACs send an Opt-Out Renewal Alert Letter at least 90 days before the renewal date.

To bill Medicare again, you enroll with Form CMS-855I, and the manual says your enrollment can't start before the opt-out ends. Its example is an opt-out that ends March 31, with April 1 as the earliest enrollment date.

Questions to Ask Before You Sign a Shift Contract

These questions turn the rules above into a short conversation with the employer or locums company:

  1. Does the facility bill Medicare or Medicare Advantage for my professional services?
  2. Will Medicare patients, including under-65 patients on Medicare, be on my schedule, and how are they routed if I'm opted out?
  3. For ED or urgent care work, does the employer have a written process for opt-out emergency claims, including CMS-855I enrollment and the GJ modifier?
  4. Does credentialing require me to be enrolled in Medicare?
  5. Which MACs would I file with, and when does my current two-year period end?

If the answers point toward keeping a Medicare-billing job, staying enrolled until the shifts end is often the simplest path. If the shifts are VA, pediatric or cash-pay work, the opt-out and the shifts can usually live side by side.

Planning the Bridge Years

Physicians who keep shifts while the DPC grows are usually planning around a few early years, and the Medicare decision is one of the first dates on that calendar. Our guides on starting a DPC part-time, DPC physician salary in 2027 and why new DPC practices grow slowly help size how long you might need the shift income. If you're coming from a hospital system, leaving employed medicine for DPC covers the rest of the move, and new graduates can start with opening a DPC out of residency. If you're deciding whether to see patients 65 and older at all, direct primary care for seniors on Medicare explains the arrangement from the patient's side, and the DPC Finder shows how practices near you list their fees and services.

Running a DPC alongside shift work means two schedules, two sets of credentialing dates and one opt-out calendar that renews on its own. Tabflows is a dedicated tech team that connects the tools a clinic already uses (EHR, billing, messaging), so follow-ups land in one shared task list for your team.

FAQs

Can I opt out of Medicare and still moonlight at a hospital or urgent care?

Usually not for shifts where the employer bills Medicare for your work. Under 42 CFR 405.420 and 405.425, an opted-out physician can receive no direct or indirect Medicare payment for services to Medicare patients, including as an employee or through a reassignment, and CMS's Medicare Benefit Policy Manual (chapter 15, section 40.23) says the opt-out applies to every service you furnish to Medicare beneficiaries regardless of where you furnish it. Shifts that see no Medicare patients, work paid for by a government entity such as the VA, and true emergency or urgent care for patients with no private contract are the narrow exceptions. Confirm the details with the employer and your Medicare Administrative Contractor.

Can an opted-out physician work in an emergency department?

Only in a narrow way. 42 CFR 405.440 lets an opted-out physician treat a Medicare patient who needs emergency or urgent care and has no private contract, but the physician must submit a claim to Medicare and may collect no more than the limiting charge. CMS's Program Integrity Manual says the physician must enroll with Form CMS-855I to get a billing number for those claims, and the Benefit Policy Manual recommends post-payment records review of frequent users of the GJ opt-out modifier. The exception is written for emergency situations, so ask the employer and your MAC before planning regular ED shifts around it.

Does a Medicare opt-out also apply to Medicare Advantage patients?

Yes. 42 CFR 405.425(a) says no payment may be made by Medicare or by any Medicare Advantage plan to an opted-out physician or to any entity the physician reassigns payment to, except for emergency and urgent care under 405.440. 42 CFR 405.455 and 422.220 bar Medicare Advantage plans from paying for basic benefits furnished by an opted-out physician, while 422.220(b) requires them to pay for emergency or urgently needed services when there is no private contract.

How do I cancel my Medicare opt-out so I can take a hospital job?

If it is your first opt-out, 42 CFR 405.445(b) lets you terminate it by notifying every MAC no later than 90 days after the effective date of your initial two-year period, refunding private-contract patients anything above the Medicare limits and telling them they can have claims filed with Medicare. After that, you cancel the automatic renewal with written notice to each MAC no later than 30 days before your current two-year period ends, under 405.445(a). The Program Integrity Manual says notices sent more than 90 days early are returned, and that you then enroll with Form CMS-855I, effective no earlier than the day after the opt-out ends.

Can I stay enrolled in Medicare and run a DPC at the same time?

Yes, and CMS says that if you don't see Medicare patients you don't have to enroll in or opt out of Medicare. A physician who still works shifts can stay enrolled and keep Medicare beneficiaries out of the DPC membership. If an enrolled physician does see Medicare patients for covered services, the mandatory claim submission rule in 42 U.S.C. 1395w-4(g)(4) generally means submitting claims to Medicare for those services, which is the hybrid route.

Can I still order labs and referrals for Medicare patients after opting out?

Yes. 42 CFR 405.425(i) lets an opted-out physician who is not excluded and whose enrollment is not revoked order, certify, prescribe and refer for Medicare-covered items and services, as long as the physician isn't paid for them. CMS's MLN enrollment booklet says ordering and certifying physicians must be in an approved or opt-out status in PECOS, and the Benefit Policy Manual gives the example that if an opted-out physician admits a patient to a hospital, Medicare pays the hospital for medically necessary care.