Medicare Part D State Drug Utilization History, 2020–2024

Compare prescription use and drug spending across states over five years. One prepared history brings together claims, standardized fills and gross costs, with national benchmarks and annual comparisons in separate tables.

2020–2024 observations · five CMS annual files · captured October 25, 2026

Your starting data
Two-character state FIPS codes, exact drug/generic names and calendar years from 2020 through 2024.
The prepared result
Eight CSV tables covering state history, national and other geography, annual comparisons, source accounting, geography, coverage and source editions.

Preview the data and download a sample

These are the first three rows from the delivered CSV, showing 7 of 37 fields. The free download contains the first five rows and all 37 fields; it is a format sample, not a coverage test.

Medicare Part D State Drug Utilization History, 2020–2024 · first three rows
yearstate_fipsgeography_namedrug_namegeneric_nametotal_claimstotal_drug_cost
202001Alabama1st Tier Unifine PentipsPen Needle, Diabetic22548.84
202001Alabama1st Tier Unifine Pentips PlusPen Needle, Diabetic31694.26
202001AlabamaAbacavirAbacavir Sulfate828253807.04

Coverage and how to use the data

Uses

Build a state drug-market brief, compare a named drug’s growth across states, or study how prescription volume and gross spending move together. The annual comparisons retain missing endpoints, and national observations provide a separate published benchmark.

Row definition

One exact drug-name and generic-name pair, in one state or DC, in one calendar year. The main table contains 539,119 rows and 37 fields. Geography follows the prescriber’s NPPES location, not patient residence.

Unique key
year + geography_id + drug_name + generic_name

Join keys and usage

Use year + geography_id + drug_name + generic_name. State FIPS codes are two-character text. Match both names exactly; 145 drug names have multiple generic-name pairings in the source history. No NDC, RxCUI, HCPCS or manufacturer crosswalk is inferred.

Compare a Part D drug across states in Python →

Coverage

2020–2024, with 539,119 state/DC observations, 17,972 separate national observations and 22,203 other-geography observations. The package also includes 462,407 adjacent-year comparisons, all 579,294 source-row outcomes, 63 geography definitions, a 315-row coverage grid and five source-edition records.

Limitations

  • This covers Medicare Part D prescription events, including stand-alone drug plans and Medicare Advantage drug coverage. It is not all US prescribing, patient-residence utilization or a provider directory.
  • Claims include fills and refills. Standardized 30-day fills are a separate measure. Beneficiary and prescriber counts overlap across drugs and years and must not be added as unique people.
  • Costs are nominal gross drug costs before manufacturer rebates. They include multiple payer amounts, fees and applicable taxes; they are not net program spending, pharmacy acquisition costs or patient-specific prices.
  • Suppressed numeric cells remain blank with status columns; original age-65 suppression flags are retained. An absent state/drug/year is not a zero-use observation, an approval or a discontinuation.
  • National totals and territories, military, foreign, unknown and unreported locations remain separate. Use the published national table rather than treating a sum of state rows as the national total.
  • Each annual file has its own observed drug roster. Exact-name changes can create gaps in a history, and no synonym reconciliation is inferred. CMS changed its long-acting-opioid category beginning in 2021.

What the prepared download adds

CMS publishes the original annual files free. The $29 download combines five years, separates geographic scopes, preserves suppression and includes checked annual comparisons and a working Python example.

TaskFree source dataIncluded in this download
Compare the same drug across states and yearsFive annual files use source-specific column names and mix national with state and other locations.A consistent state/drug/year table keeps text FIPS and exact name pairs, with national and other geography in separate tables.
Measure annual changes without inventing missing observationsEach year has its own observed roster; a missing endpoint cannot be treated as zero.462,407 exact-name comparisons identify both observed endpoints, a missing prior row or a missing current row.
Explain the figures in a market briefClaims, standardized fills, gross costs and beneficiary counts have different units and suppression rules.Documented fields, status columns, original flags, coverage and source-row accounting accompany every observation.

We retain the original annual files and documentation, stage every source cell without alteration, and prepare consistent state, national and other-geography tables. Text identifiers, original precision and suppression remain intact. Exact-name comparisons, coverage and complete source accounting are independently reconciled against the original files. Our preparation and versioning process →

Main table fields

The main table’s field dictionary from the current download. CSV has no built-in types; these are the intended import types.

All 37 fields in CSV order
FieldTypeMeaning
yearnumberObservation calendar year, distinct from capture, modified and preparation dates.
geography_idstringSource geography code; US for national and UNREPORTED for blank source geography. Not universally a FIPS code.
geography_typestringstate (50 states/DC), territory, armed_forces, unknown, foreign, unreported or national.
state_fipsstringTwo-character text state/DC FIPS only; blank for every other geography.
geography_namestringOriginal NPPES prescriber-location label, not patient residence; unreported source remains blank.
drug_namestringExact source Brnd_Name, including names used for generic products. Not a package identifier.
generic_namestringExact source Gnrc_Name; use together with drug_name. No inferred NDC mapping.
total_prescribersnumberNumber of unique prescribers of Medicare Part D claims.
total_prescribers_statusstringreported or suppressed; a blank numeric value is never filled with zero.
total_claimsnumberThe number of Medicare Part D claims. This includes original prescriptions and refills. Aggregated records based on total_claims fewer than 11 are not included in the data file.
total_claims_statusstringreported or suppressed; a blank numeric value is never filled with zero.
total_30day_fillsnumberNumber of Standardized 30-Day Fills, Including Refills.
total_30day_fills_statusstringreported or suppressed; a blank numeric value is never filled with zero.
total_drug_costnumberThe aggregate drug cost paid for all associated claims. This amount includes ingredient cost, dispensing fee, sales tax, and any applicable vaccine administration fees and is based on the amounts paid by the Part D plan, Medicare beneficiary, government subsidies, and any other third-party payers.
total_drug_cost_statusstringreported or suppressed; a blank numeric value is never filled with zero.
total_beneficiariesnumberThe total number of unique Medicare Part D beneficiaries with at least one claim for the drug. Counts fewer than 11 are suppressed and are indicated by a blank.
total_beneficiaries_statusstringreported or suppressed; a blank numeric value is never filled with zero.
age65_claimsnumberThe number of Medicare Part D claims for beneficiaries age 65 and older. This includes original prescriptions and refills. A blank indicates the value is suppressed. See age65_utilization_suppression_flag regarding suppression of data.
age65_claims_statusstringreported or suppressed; a blank numeric value is never filled with zero.
age65_30day_fillsnumberThe number of Medicare Part D standardized 30-day fills for beneficiaries age 65 and older.The standardized 30-day fill is derived from the number of days supplied on each Part D claim divided by 30. Standardized 30-day fill values less than 1.0 were bottom-coded with a value of 1.0 and standardized 30-day fill values greater than 12.0 were top-coded with a value of 12.0. If age65_claims is suppressed, this variable is suppressed. A blank indicates the value is suppressed. age65_utilization_suppression_flag regarding suppression of data.
age65_30day_fills_statusstringreported or suppressed; a blank numeric value is never filled with zero.
age65_drug_costnumberThe aggregate total drug cost paid for all associated claims for beneficiaries age 65 and older. This amount includes ingredient cost, dispensing fee, sales tax, and any applicable vaccine administration fees and is based on the amounts paid by the Part D plan, Medicare beneficiary, government subsidies, and any other third-party payers. If age65_claims is suppressed, this variable is suppressed. A blank indicates the value is suppressed. See age65_utilization_suppression_flag regarding suppression of data.
age65_drug_cost_statusstringreported or suppressed; a blank numeric value is never filled with zero.
age65_beneficiariesnumberThe total number of unique Medicare Part D beneficiaries age 65 and older with at least one claim for the drug. A blank indicates the value is suppressed. See age65_beneficiary_suppression_flag regarding suppression of data.
age65_beneficiaries_statusstringreported or suppressed; a blank numeric value is never filled with zero.
lis_beneficiary_cost_sharenumberThe aggregate total cost that beneficiaries using a drug, with a low-income subsidy, paid during the year.
lis_beneficiary_cost_share_statusstringreported or suppressed; a blank numeric value is never filled with zero.
nonlis_beneficiary_cost_sharenumberThe aggregate total cost that beneficiaries using a drug, with no low-income subsidy, paid during the year.
nonlis_beneficiary_cost_share_statusstringreported or suppressed; a blank numeric value is never filled with zero.
age65_utilization_suppression_flagstringOriginal CMS suppression flag GE65_Sprsn_Flag. Blank, * and # are preserved without assigning an undocumented symbol-specific meaning.
age65_beneficiary_suppression_flagstringOriginal CMS suppression flag GE65_Bene_Sprsn_Flag. Blank, * and # are preserved without assigning an undocumented symbol-specific meaning.
opioid_flagstringOriginal CMS Opioid_Drug_Flag classification: Y or N. No reclassification is inferred.
long_acting_opioid_flagstringOriginal CMS Opioid_LA_Drug_Flag classification: Y or N. No reclassification is inferred.
antibiotic_flagstringOriginal CMS Antbtc_Drug_Flag classification: Y or N. No reclassification is inferred.
antipsychotic_flagstringOriginal CMS Antpsyct_Drug_Flag classification: Y or N. No reclassification is inferred.
source_filestringRetained CSV filename alias; resolves through source_editions.csv.
source_rownumberLogical CSV record number, with header numbered 1.

Files included in the download

One ZIP · 83.2 MB · 22 files. No account or subscription required.

Sources, versions & changes

Source versions identify the inputs. Our processing revision describes how we prepare them. Either kind of change creates a new ACD release; the package date records when it was built.

Current source versions

Observation years
2020–2024, five annual geography/drug files
Source edition
Available CMS annual-file versions retained October 25, 2026; individual modified dates in source_editions.csv
Geography
NPPES prescriber location, separate from patient residence
ACD preparation
October 25, 2026 UTC · processing revision 1
Observation coverage (ISO 8601)
2020/2024
Package prepared (UTC)

Source: Centers for Medicare & Medicaid Services, Medicare Part D Prescribers by Geography and Drug. Original government files are free. ACD sells preparation, documentation, validation and delivery. Independent preparation; no CMS endorsement.

Release history

Oct 25, 2026 · current package (UTC)

First ACD edition of these five retained annual files. Same-source processing improvements are included. Genuinely new source editions may be sold separately. No automatic refresh is promised.

Earlier years are observations in this purchase, not earlier ACD releases or guaranteed original-as-published CMS vintages. Adjacent-year differences are not publisher-revision counts.

Source editions, coverage and preparation record

Our processing improvements and publisher error corrections to your purchased source edition are free. Genuinely new source editions may be sold separately. See the update policy and access instructions.

Check the downloaded CSV’s integrity

The metadata file inside the ZIP records this SHA-256 checksum for state_drug_years.csv. A matching checksum confirms identical CSV bytes.

894e93a996e4d782d536810848db2c70323ee175ab2715d143068bd942d634df

Complete dataset

Medicare Part D State Drug Utilization History, 2020–2024

$29 USD · one time · 539,119 state / drug / year records

Get the full dataset