2026 ICD-10-CM Diagnosis Code O22.40Hemorrhoids in pregnancy, unspecified trimester
ICD-10-CM Codes›O00-O9A›O20-O29›O22
- Billable — Valid for Submission
- CC — Complication or Comorbidity
- Not Chronic
O22.40 is a billable ICD-10-CM diagnosis code for hemorrhoids in pregnancy, unspecified trimester. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026) and groups to MS-DRG 817 through 819, 831 through 833. As a secondary diagnosis, it counts as a complication or comorbidity (CC) and moves an inpatient stay to a higher severity level within its MS-DRG family. It does not count, however, when the principal diagnosis is one of 250 closely related codes. The code is restricted by the Medicare Code Editor to maternity cases (age 9 through 64). Coders also document this condition as hemorrhoids in pregnancy. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Hemorrhoids and Other specified complications in pregnancy.
This medical diagnosis code is frequently used in OB/GYN medical specialties to designate conditions such maternal disorders related to pregnancy.
Code Identity
Code Classification
Code EditsBilling
Medicare Code Editor checks that affect claim validity for O22.40.
Approximate SynonymsGuidance
Alternate terms and clinical phrases that map to this code.
- Hemorrhoids in pregnancy
- Hemorrhoids in pregnancy and/or puerperium
- Varicose veins in pregnancy
- Varicose veins of perineum in pregnancy
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Patient EducationClinical
Health Problems in Pregnancy
A health problem in pregnancy is any disease or condition that could affect your health or the health of your fetus. Some health problems may make it more likely that you will have a high-risk pregnancy. A high-risk pregnancy is one in which you, your fetus, or both are at higher risk for health problems than in a typical pregnancy.
The full article covers:
- What are health problems in pregnancy?
- What raises my risk for health problems during pregnancy?
- Can chronic health conditions cause problems in pregnancy?
- Can health problems in pregnancy be prevented?
Read the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert O22.40 to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About O22.40Overview
What is the ICD-10 code for hemorrhoids in pregnancy, unspecified trimester?
The ICD-10-CM code for hemorrhoids in pregnancy, unspecified trimester is O22.40 (sometimes written as O2240). It is billable on HIPAA-covered claims from October 1, 2025 through September 30, 2026.
Is O22.40 (Hemorrhoids in pregnancy) a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report hemorrhoids in pregnancy, unspecified trimester on HIPAA-covered claims from October 1, 2025 through September 30, 2026.
What MS-DRG does O22.40 group to?
When hemorrhoids in pregnancy, unspecified trimester is the principal diagnosis on an inpatient stay, it groups to MS-DRG 817, 818, 819, 831, 832, 833, with relative weights from 0.5229 to 1.6880 depending on complications. Higher weights mean higher Medicare reimbursement.
Is O22.40 a CC or MCC?
CMS lists O22.40 as a CC (complication or comorbidity) for FY 2026. Reported as a secondary diagnosis, it moves the inpatient stay to a higher-weighted DRG within its severity family. It does not count when the principal diagnosis is one of the 250 closely related codes in its exclusion list.
Who can O22.40 be reported for?
The Medicare Code Editor checks hemorrhoids in pregnancy, unspecified trimester against patient demographics: this code is intended for maternity cases (age 9 through 64). Claims outside these limits are flagged as inconsistent.