What Medical School Actually Costs

The sticker number that matters is total cost of attendance — tuition plus fees, living expenses, insurance, and books — across four years. For most students that lands somewhere between roughly $250,000 and $400,000. Public in-state programs sit at the lower end; private and out-of-state programs at the higher end. Because living costs are bundled into the figure and usually financed, the amount you borrow is typically close to the full cost of attendance unless you have outside support.

Two structural facts drive everything that follows: medical education is expensive, and the income that justifies it doesn't begin for years. Understanding the timing is the whole game.

The Debt Picture

About 73% of MD graduates finish with education debt. Among those who carry it, the median is around $200,000 to $215,000 — and that's before interest compounds during residency. Federal loans for graduate and professional students accrue interest from disbursement, so a balance taken on in your first year grows throughout school and training.

Debt varies widely by circumstance. In-state students at public schools, scholarship recipients, and those in military or service-linked programs (such as HPSP or the NHSC) can graduate with far less — or none. Private and out-of-state attendance pushes totals well above the median.

The Earnings Timeline — Why ROI Is Delayed

This is what separates medicine's financial math from most other degrees. After four years of school comes residency: three years for primary-care fields, up to seven or more for surgical and procedural specialties. Resident salaries are modest — the median first-year stipend is around $64,000 — and barely keep pace with living costs in many cities, let alone aggressive loan repayment.

Only after residency does attending compensation begin. That's where the return materializes: roughly $240,000–$260,000 in primary care and frequently $400,000 or more in procedural and surgical specialties. The catch is that you reach it a decade after starting school, with interest having accrued the entire time. The degree pays off — it just pays off late.

Model your own medical school ROI

AdmitBase's ROI calculator projects debt, repayment, and lifetime earnings by specialty so you can see the real return for your situation — not a national average.

Run your ROI numbers →

How the Lifetime Return Actually Works Out

Over a full career, the return on a medical degree is strongly positive for most physicians. Even after subtracting the cost of school, the interest, and the lost income during training, lifetime physician earnings far exceed what the same person would likely have earned otherwise. But the average hides real variation:

  • Specialty is the biggest lever. A dermatologist or orthopedic surgeon and a pediatrician carry similar debt but earn very differently. The ROI is excellent across the board, but the margin is far wider in high-paying specialties.
  • Debt load at graduation matters. Maximum private-school debt in a lower-paid specialty is the tightest version of the math — still positive, but far less forgiving.
  • Geography and practice setting shift both pay and cost of living, which changes how fast debt clears.

Repayment Strategy Can Be Worth Six Figures

How you repay often matters as much as how much you owe. The major levers:

  • Public Service Loan Forgiveness (PSLF). Work full-time for a nonprofit or government employer — which includes most academic medical centers — make 120 qualifying federal payments (about ten years), and the remaining balance is forgiven tax-free. Many residents make qualifying payments during training, so the clock can finish only a few years into attending practice.
  • Income-driven repayment (IDR). During residency's low-income years, IDR plans cap payments as a share of discretionary income, keeping loans manageable and preserving PSLF eligibility.
  • Refinancing. For physicians not pursuing PSLF, refinancing federal loans to a lower private rate after reaching attending income can save substantial interest — at the cost of giving up federal protections and forgiveness.

The wrong default — for example, aggressively refinancing out of federal loans when you'd have qualified for PSLF at an academic job — can cost six figures. Decide your repayment path deliberately, ideally before residency.

MD vs. DO and the Bottom Line

Cost and debt are broadly similar between MD and DO programs; what drives your number is public vs. private and in-state vs. out-of-state, not the degree type. For more on that choice, see DO vs. MD compared.

The honest summary: medical school is among the most expensive degrees in the country and, for most physicians, still among the highest-returning — provided you go in with a clear view of the timeline and a deliberate repayment plan. If you're still weighing the decision itself, start with should you go to medical school, and look for ways to reduce the borrowed total in medical school scholarships and how to pay for professional school.