Healthcare providers
RelationshipDraft

340B contract pharmacy explained: why drug makers are restricting it

Hospitals and clinics in the federal 340B program buy outpatient drugs at steep discounts and can have outside pharmacies (CVS, Walgreens, Walmart, specialty pharmacies) dispense those drugs to their eligible patients under contract pharmacy agreements; the pharmacy is paid by the patient's insurer as usual, keeps a dispensing fee, and passes most of the difference to the hospital, while a third-party administrator tracks eligibility; since 2020 many drug makers have restricted 340B pricing at contract pharmacies, leading to lawsuits and state laws, and many health systems have also built their own specialty pharmacies.

.md
Fig. What flows between them
  1. ↓ 340B savings passed to the hospital
    Retail, hospital & specialty pharmacies
  2. ↓ Dispensing fees from the hospital
    Health systems & integrated delivery networks (IDNs)
  3. ↓ Eligibility data via third-party administrators
    Retail, hospital & specialty pharmacies
The questions people ask

Quick answers

What is a 340B contract pharmacy?

An outside pharmacy that dispenses drugs bought at 340B prices on behalf of a covered entity, such as a disproportionate share hospital or community health center, to the entity's eligible patients. HRSA guidance since 2010 allows unlimited contract pharmacies.

How do contract pharmacies make money from 340B?

They receive a dispensing fee from the covered entity (and the usual insurer payment flows through), with most of the spread between the insurer payment and the 340B price going to the hospital or clinic.

Why are drug makers restricting 340B contract pharmacies?

Since 2020 many manufacturers have limited 340B prices at contract pharmacies, arguing the program has grown beyond its intent and that duplicate discounts occur. A federal appeals court sided with manufacturers in 2023, while many states passed laws protecting contract pharmacy.

What is a hospital-owned specialty pharmacy?

A specialty pharmacy owned by a health system that dispenses high-cost drugs to its own patients, keeping revenue (and 340B savings where eligible) in-house and coordinating care. Many use partners such as Shields Health Solutions.

Who manages 340B contract pharmacy claims?

Third-party administrators (TPAs) such as Macro Helix (McKesson), Verity Solutions and others identify eligible prescriptions, manage replenishment orders, and split funds between the pharmacy and the covered entity.

01

How the relationship works#

01.1

The hospital (covered entity) owns the 340B drugs on paper; the pharmacy dispenses them; a TPA identifies eligible prescriptions after the fact and replenishes pharmacy inventory with 340B-priced drugs billed to the hospital.

Consensus Link
  1. Contract pharmacy
    ↓ claims data
    TPA
  2. ↓ eligible scripts
    340B hospital
  3. ↓ replenishment at 340B price
    Drug maker
  4. ↓ spread less fees
    340B hospital
How a 340B contract pharmacy arrangement works.
01.2

Contract pharmacy grew rapidly after HRSA's 2010 guidance allowed unlimited contract pharmacies; from 2020 manufacturers began restricting; litigation and state laws followed; HRSA moved toward a rebate model pilot in 2025.[1]

Consensus Link
  1. 1340B created (1992)
  2. 2Single contract pharmacy (1996)
  3. 3Unlimited contract pharmacies (2010)
  4. 4Manufacturer restrictions (2020+)
  5. 5Court rulings, state laws
How 340B contract pharmacy evolved.
02

What flows between them#

02.1

Insurers pay the pharmacy as usual; the hospital keeps the spread between that payment and the 340B price, minus the pharmacy's dispensing fee and TPA fee.[1]

Inferred Link
Insurer payment for drug
340B acquisition cost
Illustrative deep discount
Pharmacy fee
TPA fee
Hospital savings
Relative scale · each block ≈ 4% of the largest
Illustrative split of a 340B contract pharmacy claim (inferred).
02.2

Health systems increasingly run their own specialty pharmacies, sometimes with partners, to capture specialty drug margins, coordinate care, and keep 340B savings without relying on retail chains.

Consensus Link
  1. ↓ specialty drugs
    Chronic patients
Hospital-owned specialty pharmacies.
03

Commercial structure#

03.1

A contract pharmacy services agreement sets the dispensing fee, inventory replenishment model, TPA, audit rights, compliance with duplicate discount rules (Medicaid carve-out), patient eligibility definitions and termination.[1]

Consensus Link
Fees
Dispensing fee per claimPercent-of-spread models
Inventory
Virtual replenishmentOwnership by entity
Compliance
Patient definitionNo Medicaid duplicate discountsAudits
TPA
Claim matchingFund split
↑ built on top of ↑
Terms in a 340B contract pharmacy agreement.
04

How they communicate#

04.1

Communication is largely through TPA software: claims feeds, eligibility matching, replenishment orders and monthly statements, plus audits by hospital 340B compliance teams.

Consensus Link
Data feeds
Pharmacy claimsHospital encounter data
Matching
Eligibility logicPrescriber lists
Inventory
Replenishment ordersWholesaler accounts
Oversight
Monthly statementsSelf-audits
↑ built on top of ↑
How 340B contract pharmacies and hospitals communicate.
04.2

People involved include the hospital's 340B program manager, pharmacy chain 340B teams, TPA account managers, and HRSA auditors.

Consensus Link
340B arrangement
  • Hospital 340B managerCompliance
  • Pharmacy chain 340B teamContracts
  • TPA account managerData
  • HRSA auditorsProgram integrity
Who manages 340B contract pharmacy relationships.
05

Power dynamic#

05.1

Hospitals hold the 340B eligibility; pharmacies hold patient access and dispensing scale; drug makers hold leverage by restricting discounts, while courts and states decide who wins.

Consensus Link
Pharmacies
Their levers
  • Dispensing network
  • Patient convenience
  • Data
Health systems
Their levers
  • 340B eligibility
  • Can build own pharmacy
  • Choose partners
VS
Levers between pharmacies and 340B hospitals.
05.2

Manufacturer restrictions (limiting contract pharmacies or requiring claims data) cut savings for hospitals and fees for pharmacies, pushing both into the same lobbying coalition.[1]

Consensus Link
  1. 1Manufacturer limits
  2. 2Lower 340B volume
  3. 3Lower hospital savings
  4. 4Lower pharmacy fees
  5. 5Joint lobbying
How manufacturer restrictions affect both sides.
06

Friction & conflict#

06.1

Disputes include fee levels, savings not reaching patients, duplicate discount compliance, transparency on how hospitals use savings, and manufacturer restrictions.[1]

Disputed Link
1
Fee levels
Pharmacy share
2
Patient benefit
Savings use
3
Duplicate discounts
Medicaid
4
Transparency
Program growth
5
Manufacturer limits
Lawsuits
Where 340B pharmacy arrangements draw conflict.
06.2

Legal battles: the D.C. Circuit (2023) ruled manufacturers could impose some conditions; the Eighth Circuit (2024) upheld Arkansas's law protecting contract pharmacy; many other states followed with similar laws.[1]

Consensus Link
  1. 1Restrictions (2020)
  2. 2HHS letters
  3. 3D.C. Circuit (2023)
  4. 4Arkansas law upheld (2024)
  5. 5More state laws
The legal fight over 340B contract pharmacy.
07

Regional variations#

07.1

340B is unique to the US. Elsewhere, hospital outpatient drugs are bought through national tenders or paid via hospital budgets; hospital-owned outpatient pharmacies exist in China (shifting prescriptions to retail under reform), Japan (separation of prescribing and dispensing) and Europe.

Consensus Link
  • 1340B program
  • 2Contract pharmacies
  • 1Hospital pharmacies
  • 2Prescription outflow reform
  • 1Bungyo separation
  • 2Monzen pharmacies
  • 1Hospital pharmacies
  • 2National pricing
How hospitals and pharmacies relate outside the US.
09
Live · coming next

Pulse

What's happening with retail, hospital & specialty pharmacies and health systems & integrated delivery networks (IDNs)

Every headline, story, and sentiment shift about retail, hospital & specialty pharmacies and health systems & integrated delivery networks (IDNs): updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1340B Drug Pricing Program , HRSA Office of Pharmacy Affairs
Before you go

Did you find what you came here for?