Hospital inpatient E/M codes changed substantially in 2023, when CPT merged observation and inpatient visits into one code set and moved the level choice to medical decision making or total time. Many hospitalist and specialty practices still under-code or over-code these visits because they learned the old rules. Here is how the current codes work.
Quick answer: Use 99221, 99222 or 99223 for the initial hospital visit, 99231, 99232 or 99233 for subsequent visits, 99234 to 99236 when the patient is admitted and discharged on the same date, and 99238 or 99239 for discharge day management. The same codes apply to inpatient and observation stays. Choose the level by medical decision making or total time on the date of service. Medicare does not pay inpatient consultation codes, so consultants bill initial hospital care instead. The admitting physician adds modifier AI, split/shared visits use modifier FS, and Medicare’s prolonged inpatient code is G0316.
Hospital Inpatient E/M Codes and Time Thresholds
| Code | Visit type | Medical decision making | Total time on the date |
|---|---|---|---|
| 99221 | Initial hospital care | Straightforward or low | 40 minutes |
| 99222 | Initial hospital care | Moderate | 55 minutes |
| 99223 | Initial hospital care | High | 75 minutes |
| 99231 | Subsequent hospital care | Straightforward or low | 25 minutes |
| 99232 | Subsequent hospital care | Moderate | 35 minutes |
| 99233 | Subsequent hospital care | High | 50 minutes |
| 99234 | Same-date admission and discharge | Straightforward or low | 45 minutes |
| 99235 | Same-date admission and discharge | Moderate | 70 minutes |
| 99236 | Same-date admission and discharge | High | 85 minutes |
| 99238 | Discharge day management | Not applicable | 30 minutes or less |
| 99239 | Discharge day management | Not applicable | More than 30 minutes |
Total time includes face-to-face and non-face-to-face work by the billing practitioner on that date, such as reviewing results, documenting and coordinating care. It does not include time spent on separately billed procedures.
Observation Is Billed With the Same Codes
Since 2023, the separate observation codes are gone. A physician who sees a patient in observation bills the initial and subsequent hospital care codes, with place of service 22 (outpatient hospital) rather than 21 (inpatient). The facility, not the physician, tracks the patient’s status for Part A or Part B billing.
Admission and Discharge on the Same Date
Medicare’s rule for 99234 to 99236 depends on the length of the stay:
- If the patient is in the hospital or observation for at least 8 hours and is discharged on the same date, bill 99234 to 99236.
- If the stay is less than 8 hours, bill only the initial hospital care code, not a discharge code.
- If the patient is discharged on a different date, bill the initial code on the admission date and 99238 or 99239 on the discharge date.
Consultations
CPT inpatient consultation codes 99252 to 99255 remain valid, but Medicare does not pay them. For Medicare patients, consultants bill 99221 to 99223 for their first visit and subsequent hospital care codes after that. The attending physician of record appends modifier AI to their initial visit to distinguish it from consultants’ initial visits. Many commercial payers still accept the consultation codes, so check each payer’s policy.
Prolonged Services
For Medicare, bill G0316 for each 15 minutes of total time beyond the threshold Medicare uses for the highest-level visit:
| Primary code | Report the first G0316 at |
|---|---|
| 99223 | 105 minutes |
| 99233 | 80 minutes |
| 99236 | 125 minutes |
Commercial payers that follow CPT use 99418 instead, with CPT’s own thresholds. Prolonged services require the highest-level visit to be selected by time.
Split/Shared Visits
When a physician and an NPP in the same group both see the patient on the same date in a hospital, the visit is billed under the practitioner who performed the substantive portion, which can be more than half of the total time or the substantive part of the medical decision making. Append modifier FS. If the NPP bills, Medicare pays 85% of the fee schedule amount.
One Visit Per Day Per Specialty
Medicare generally pays only one hospital E/M visit per day for the same patient by physicians of the same specialty in the same group. If two hospitalists from the same group see the patient on the same day, combine their work into one visit. Different specialties can each bill their own visit when medically necessary.
Telehealth for Hospital Visits
Subsequent hospital care can be furnished by telehealth when it meets Medicare’s telehealth requirements. CMS has permanently removed the old frequency limits that restricted how often subsequent inpatient visits could be furnished by telehealth.
Billing Example
A hospitalist admits a patient with community-acquired pneumonia and acute hypoxic respiratory failure, documenting high-complexity decision making, and bills 99223-AI. On day 2, the patient is improving on antibiotics with moderate decision making: 99232. On day 3, the hospitalist spends 40 minutes on discharge planning, medication reconciliation and instructions: 99239.
Common Denials and Audit Risks
- High-level visits every day with documentation that repeats the same MDM
- Discharge codes billed on the admission date for short stays
- Two same-specialty visits on the same day
- Consultation codes sent to Medicare
- Missing AI modifier, which can delay or confuse claim processing
- Time-based codes without documented total time
Frequently Asked Questions
99221 to 99223 for initial visits, 99231 to 99233 for subsequent visits, 99234 to 99236 for same-date admission and discharge, and 99238 to 99239 for discharge day management.
No. Since 2023, observation and inpatient visits use the same codes, with a different place of service.
No. Bill initial hospital care codes for Medicare consultations.
It identifies the principal physician of record, the attending who admitted the patient.
When discharge day management takes more than 30 minutes, with the time documented.
Final Thoughts
Hospital inpatient E/M codes are now driven by medical decision making or total time, with observation folded into the same codes. Document clearly, apply Medicare’s 8-hour and specialty rules, and use AI, FS and G0316 correctly. Our hospitalist billing team codes inpatient visits every day. For office visits, see our CPT code 99213 guide, and for the most acute patients, our guide to critical care CPT codes.
Hospitalist Coding That Matches the Work
We code admissions, daily visits and discharges by MDM or time, apply AI, FS and G0316 correctly and keep hospital E/M claims clean.
Get a Hospitalist Coding Review



