What Is Medical School Matching and How Does It Work?

Matching in medical school refers to the process by which graduating medical students are paired with residency training programs through a centralized, binding system run by the National Resident Matching Program (NRMP). Rather than students individually negotiating job offers with hospitals, both sides submit ranked preference lists, and a computer algorithm determines the pairings. The system has been in place since 1952 and processes tens of thousands of applicants each year.

How the Match Works

The Match solves a coordination problem. Before it existed, hospitals competed aggressively for students by making earlier and earlier offers, sometimes years before graduation. The NRMP was created as a centralized clearinghouse to bring order to that chaos. Today, it serves as a binding agreement: once the algorithm pairs you with a program, both sides are committed.

The process starts with applications. Students use a system called ERAS (Electronic Residency Application Service) to submit their materials to programs, typically beginning in early September of their final year. Programs review applications, invite selected candidates for interviews over the following months, and then both sides submit what are called rank order lists. Students rank the programs they interviewed at from most to least preferred, and programs do the same with their applicants. Neither side sees the other’s list.

The algorithm then runs, and results are released on Match Day, usually in mid-March. Students across the country open their results simultaneously, learning where they will spend the next three to seven years of training.

The Algorithm Behind the Pairings

The matching algorithm is based on the Gale-Shapley algorithm, originally developed to solve what mathematicians call the “stable marriage problem.” The core idea: find pairings where no student and program would both prefer each other over their assigned match. When that condition is met, the match is considered “stable,” meaning no one has an incentive to break their pairing.

The algorithm works by cycling through applicants one at a time. Each applicant is tentatively placed at their highest-ranked program that hasn’t yet rejected them. If that program prefers this applicant over someone it has tentatively accepted, the less-preferred applicant gets bumped and re-enters the pool. The process repeats until every position is filled or every applicant has exhausted their list. While the algorithm technically favors whichever side “proposes” first, research has shown that in practice, the results are nearly identical regardless of which side proposes, because the number of applicants far exceeds the number of programs.

One practical implication: the system rewards honest ranking. You should rank programs in your true order of preference, not based on where you think you’re likely to match. The algorithm is designed so that strategic gaming doesn’t improve your outcome.

Types of Positions in the Match

Not every residency position works the same way, and understanding the terminology matters when building your rank list.

  • Categorical positions include the full length of residency training needed for board certification in that specialty. If you match into a categorical spot, you’re set for the entire training period.
  • Preliminary positions offer only one to two years of training, typically in internal medicine or surgery. These serve as a stepping stone before entering an advanced specialty program.
  • Advanced positions don’t start until one to two years after the Match because they require you to first complete preliminary training elsewhere. Specialties like dermatology and radiology often use this structure.
  • Transitional year programs are a type of preliminary training that rotates through multiple specialties, often used by students heading into advanced positions.

If you’re applying to an advanced position, you’ll typically need to match into both a preliminary year and the advanced program separately.

The Couples Match

Partners who are both applying to residency can link their applications through the couples match. Instead of submitting individual rank lists, they create paired combinations. For example, pair number one might be “Partner A at Hospital X, Partner B at Hospital Y.” The algorithm only places them together: a match is established only if both partners can be placed at one of their ranked pairs.

Both partners must have the same number of ranks on their lists. One useful feature is the “No Match” code. If one partner ranks the No Match code alongside the other partner’s choice at a particular pair, it means that partner is willing to go unmatched so the other can take that position. If neither partner uses a No Match code and they can’t be placed together, they go unmatched entirely. The algorithm does not break them apart and try to match each person individually.

What Happens If You Don’t Match

Not every applicant matches on the first attempt. For those who don’t, the NRMP runs the Supplemental Offer and Acceptance Program, known as SOAP. This takes place during Match Week itself, from Monday through Thursday, before Match Day on Friday.

During SOAP, unmatched and partially matched applicants can see a list of programs that still have unfilled positions and apply to them through a series of structured offer rounds. The process moves fast. Programs make offers, applicants accept or decline, and remaining spots roll to the next round. You can only see and apply to programs for which you’re eligible based on your current match status.

What It Costs

The Match isn’t free. NRMP charges a $70 standard registration fee, which covers ranking up to 20 programs. Each additional program beyond 20 costs $30, and you can rank up to 300 total. If you register late (after late January), there’s an additional $50 fee. Couples pay an extra $45 per partner.

Longer rank lists carry additional fees: ranking 100 to 150 programs costs an extra $50, scaling up to $200 for lists between 251 and 300 programs. These NRMP fees are separate from ERAS application fees, interview travel costs, and other expenses that can make the total application season cost thousands of dollars.

Starting with the 2026 Match, medical schools themselves will also pay fees based on how many of their students register, with a base institutional fee of $300 per Match cycle.

Requirements for International Graduates

International medical graduates (IMGs) face additional steps before they can enter the Match. They must obtain certification from the Educational Commission for Foreign Medical Graduates (ECFMG), which requires passing Step 1 and Step 2 Clinical Knowledge of the USMLE. IMGs must also demonstrate clinical and communication skills, either through an ECFMG Pathway (which includes passing the Occupational English Test for Medicine) or through a previously valid Step 2 Clinical Skills exam result.

Beyond exams, ECFMG verifies every applicant’s medical school diploma directly with the issuing institution and reviews the final transcript. Transferred credits may also require separate verification. This verification process can take months, so international graduates typically need to plan well ahead of the application cycle.