Medical Billing Codes, Explained
When a clinic bills your insurance, it doesn't send the doctor's notes. It sends codes: one says what was done (CPT), one says why was done (ICD-10), one covers anything supplied. This page explains each code system in plain English, whether you work in billing or just found a strange code on a medical bill.
Reviewed by the ClinicsFlows editorial team · Updated July 11, 2026 · How we source this
How a Doctor's Visit Becomes Codes
New to this? Here's the whole journey, start to finish. Every medical bill in the US follows these five steps.
You see a doctor
Say your knee has been hurting for weeks. The doctor examines you and orders an MRI scan to find out what's wrong.
Everything gets written down
The doctor records what they found and what they did in your medical chart. This is still plain English at this point.
The visit gets translated into codes
A medical coder (or the doctor) converts the chart into codes. The knee exam becomes a CPT code. The MRI becomes another CPT code. Your knee pain becomes an ICD-10 diagnosis code.
The codes go to your insurance
The clinic sends a claim — that's the official name for the bill — to your insurance company. The claim is mostly just the codes, plus your details and the prices.
A computer reads the codes and decides
The insurance company's system checks: does the diagnosis explain the service? Is everything covered? If the codes make sense together, the claim gets paid. If they don't, it gets denied, and someone has to figure out which code was the problem.
So the codes aren't paperwork trivia. They're the actual language of step 5, the moment money changes hands. The rest of this page introduces each code system and the one question it answers.
The Code Systems and What Each One Answers
Four code families, plus modifiers, cover essentially every line on every medical bill in the US. The trick to keeping them straight: each one exists to answer a single question.
CPT
Current Procedural TerminologyAnswers: What was done
CPT codes describe everything a doctor or clinic does for you: a checkup, a blood test, an X-ray, a surgery. Each service has its own five-character code. When the clinic asks your insurance to pay, it doesn't write 'we examined the patient.' It writes the code, and insurance pays based on that code.
Browse the CPT code guideMaintained by
American Medical Association
Format
5 characters, usually all digits (99213)
Example
99213 — Office visit, established patient, low complexity
ICD-10-CM
International Classification of Diseases, 10th RevisionAnswers: Why it was done
ICD-10 codes describe what's wrong with the patient: the diagnosis. Every bill needs one, because insurance wants to know the reason behind each service. The two systems have to make sense together. Knee pain explains a knee MRI, so that bill gets paid. A common cold doesn't explain a knee MRI, so that bill gets rejected. This mismatch is the number one reason medical bills bounce.
Guide coming
Maintained by
CDC / CMS (free to use)
Format
3–7 characters starting with a letter (M54.5, E11.9)
Example
M25.561 — Pain in right knee
HCPCS Level II
Healthcare Common Procedure Coding SystemAnswers: What was supplied
These codes cover things rather than services: a drug injected at the clinic, a wheelchair, a CPAP machine you take home, an ambulance ride. CPT has no codes for those, so this set fills the gap. Easy way to spot one: it starts with a letter. (Confusingly, CPT is officially called 'HCPCS Level I', so when people say HCPCS they almost always mean Level II, the letter codes.)
Guide coming
Maintained by
CMS
Format
1 letter + 4 digits (J1885, E0601)
Example
E0601 — CPAP machine
CDT
Current Dental TerminologyAnswers: What dental work was done
Dentists don't use CPT. Dental work has its own code set where every code starts with a D: cleanings, fillings, crowns, extractions. If you see a D-code, you're looking at a dental bill. The one exception: major jaw or mouth surgery billed to medical insurance (not dental insurance) gets translated into CPT codes instead.
Guide coming
Maintained by
American Dental Association
Format
Letter D + 4 digits (D1110)
Example
D1110 — Adult prophylaxis (cleaning)
Modifiers
CPT and HCPCS ModifiersAnswers: How, or under what circumstances
Modifiers are two-character notes attached to the end of a code. They don't change what was done; they add context insurance needs. Examples: 'this was done on both knees, not one', 'the doctor only interpreted the test, another facility ran the machine', 'this visit was separate from the procedure done the same day'. A missing modifier is one of the most common reasons a correct bill still gets rejected.
Guide coming
Maintained by
AMA and CMS
Format
2 characters added to the end of a code (99213-25)
Example
-25 — The office visit was separate from a procedure done the same day
How the Systems Work Together on a Claim
No code system works alone. On a real bill, they appear together: the CPT code names the service, the ICD-10 code gives the reason for it, and modifiers add context the insurance company needs. Here's what that looks like for one real situation: a radiologist charging for reading a knee MRI.
The insurance company's system reads all of these lines at once. When the pieces agree, the bill gets paid. When they don't, say a scan paired with a diagnosis that can't explain it, the bill gets rejected, and someone at the clinic spends an afternoon figuring out which code was the problem.
Frequently Asked Questions
What are medical billing codes?
They're short codes that translate a medical visit into a language insurance computers can read. Think of them as a receipt written in shorthand: one code for what was done (CPT), one for why (ICD-10), one for anything supplied (HCPCS). The doctor's actual notes never go to insurance. Only the codes do, which is why a coding mistake can get a perfectly good bill rejected.
How do I find out what a code on my medical bill means?
Start by identifying which system it belongs to, using its shape. Five digits like 99213? That's a CPT code, a service, and you can look it up on this site. Letter plus numbers like M25.561? That's your diagnosis. Letter plus four digits like J1885? Something supplied, often an injected drug. Once you know the system, search the code online, or call the clinic's billing office and ask for an itemized bill with each code explained. They're required to walk you through it.
Can understanding these codes help me find mistakes on my bill?
Yes, and it's the most practical reason for a patient to learn them. Three patterns catch most errors. Duplicates: the same code billed twice for one visit. Services you didn't get: a code for something you don't remember happening, worth a phone call. And upcoding: a code for a longer or more complex service than what took place, like a 40-minute visit code for a 10-minute chat. Billing errors are common enough that checking is worth ten minutes before you pay.
What's the difference between CPT and ICD-10 codes?
CPT says what was done; ICD-10 says why. The easiest way to remember it: CPT is the verb, ICD-10 is the reason. Every bill needs both, and insurance checks that they make sense as a pair. Knee pain explains a knee MRI, so that pair gets paid. A common cold doesn't explain a knee MRI, so that pair gets rejected. When a bill bounces, the mismatch between these two systems is the first place billers look.
What's the difference between CPT and HCPCS?
CPT codes are for services; HCPCS Level II codes are for things. A doctor examining your knee is a service, so it's CPT. The knee brace you walk out with is a thing, so it's HCPCS. The quickest tell is the first character: HCPCS Level II codes start with a letter, CPT codes are usually all digits. One confusing footnote: CPT is officially called 'HCPCS Level I', so when billers say 'HCPCS' they almost always mean the letter codes.
How many medical codes are there in total?
Far more than anyone memorizes. CPT has around 11,000 codes, ICD-10 has roughly 70,000 diagnosis codes, and HCPCS Level II adds several thousand more. That's the point of the system: it's precise enough to distinguish a left knee from a right knee. Nobody knows them all. Coders know their specialty's few hundred and look up the rest, which is exactly what reference pages like ours are for.
Who creates and maintains these codes?
Each system has a different owner, which explains a lot about why billing feels chaotic. The American Medical Association owns CPT and updates it every January. The CDC and CMS (the agency that runs Medicare) publish ICD-10 free, updated every October. CMS also maintains HCPCS Level II. The American Dental Association owns CDT. Four owners, four update schedules, no single rulebook.
Are billing codes the same for every insurance company?
The codes themselves, yes. 99213 means the same office visit whether the bill goes to Medicare, Aetna, or a small regional plan. That's the whole point of a standard. What changes between insurers is everything around the codes: how much each one pays for it, which code combinations they refuse to pay separately, and what paperwork they demand. Same language, different rulebooks.
Do dentists use CPT codes?
Mostly no. Dentistry has its own code set, CDT, where every code starts with a D: D1110 is a cleaning, D2740 is a crown. So a D at the front means dental billing. The exception is major mouth or jaw surgery billed to medical insurance instead of dental insurance, like jaw repair after an accident. That work crosses over into CPT and ICD-10 territory.
Sources
CPT code set: American Medical Association. ICD-10-CM and HCPCS: CMS. CDT: American Dental Association. How we research and verify: our editorial policy. CPT® is a registered trademark of the American Medical Association; content on this page is original educational writing.