For the complete documentation index, see llms.txt. This page is also available as Markdown.

Medicaid Spending by Drug

The Medicaid by Drug dataset presents information on spending for covered outpatient drugs prescribed to beneficiaries enrolled in Medicaid by physicians and…

Part of the CMS Data Feeds Dataset › Medicaid

Dataplex delivers this CMS feed as the analysis-ready table DWV.MEDICAID_SPENDING_BY_DRUG on Snowflake and Databricks — four annual reporting periods (2021–2024) aligned to a single schema, refreshed automatically whenever CMS publishes a new file. Every row carries lineage back to the exact CMS source file that produced it.

Key facts

Snowflake

DWV.MEDICAID_SPENDING_BY_DRUG

Databricks

cms_dwv.medicaid_spending_by_drug

Coverage

Jan 2021 – Dec 2024 (4 of 4 annual reporting periods)

Rows

68,054 (total across all reporting periods)

Cadence

Annual

Update pattern

Time-partitioned — each file adds one reporting year

CMS published

2026-06-25

Loaded

2026-06-25

Columns

60 data + 6 lineage

File versions

4

License

CMS public data — U.S. Government work

Platforms

Snowflake Marketplace · Databricks Delta Sharing

Included in the CMS Data Feeds Dataset — start a free trial on Snowflake Marketplace.

Time-partitioned feed — each file version covers one reporting year, so history is additive. Query the full table for all years; filter on the reporting period columns for a single period. Do not filter to the latest file only — that would return just the 2024 reporting year.

Sample queries

About this feed

The Medicaid by Drug dataset presents information on spending for covered outpatient drugs prescribed to beneficiaries enrolled in Medicaid by physicians and other healthcare professionals.

The dataset focuses on average spending per dosage unit and change in average spending per dosage unit over time. Units refer to the drug unit in the lowest dispensable amount. It also includes spending information for manufacturer(s) of the drugs as well as consumer-friendly information of drug uses and clinical indications.

Drug spending metrics for Medicaid represent the total amount reimbursed by both Medicaid and non-Medicaid entities to pharmacies for the drug. Medicaid drug spending contains both the Federal and State reimbursement and is inclusive of any applicable dispensing fees. In addition, this total is not reduced or affected by Medicaid rebates paid to the states.

Source: CMS feed metadata

Keywords: Medicaid, Physicians & Practitioners, Drugs Theme: Medicaid

Coverage timeline

2021 🟩 · 2022 🟩 · 2023 🟩 · 2024 🟩

4 of 4 annual reporting periods present — no gaps.

Release history

Reporting period
CMS published
Loaded
Latest file

2024-01-01 – 2024-12-31

2026-06-25

2026-06-25

2023-01-01 – 2023-12-31

2025-05-29

2025-05-29

2022-01-01 – 2022-12-31

2024-03-14

2024-03-14

2021-01-01 – 2021-12-31

2023-03-06

2023-08-29

Data dictionary

📋 60 data columns + 6 lineage columns

Column-level definitions are maintained by CMS in the official Medicaid Spending by Drug data dictionary.

Data columns

Column
Type

BRND_NAME

TEXT

GNRC_NAME

TEXT

TOT_MFTR

NUMBER

MFTR_NAME

TEXT

TOT_SPNDNG_2019

NUMBER

TOT_DSG_UNTS_2019

NUMBER

TOT_CLMS_2019

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2019

NUMBER

AVG_SPND_PER_CLM_2019

NUMBER

OUTLIER_FLAG_2019

NUMBER

TOT_SPNDNG_2020

NUMBER

TOT_DSG_UNTS_2020

NUMBER

TOT_CLMS_2020

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2020

NUMBER

AVG_SPND_PER_CLM_2020

NUMBER

OUTLIER_FLAG_2020

NUMBER

TOT_SPNDNG_2021

NUMBER

TOT_DSG_UNTS_2021

NUMBER

TOT_CLMS_2021

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2021

NUMBER

AVG_SPND_PER_CLM_2021

NUMBER

OUTLIER_FLAG_2021

NUMBER

TOT_SPNDNG_2022

NUMBER

TOT_DSG_UNTS_2022

NUMBER

TOT_CLMS_2022

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2022

NUMBER

AVG_SPND_PER_CLM_2022

NUMBER

OUTLIER_FLAG_2022

NUMBER

TOT_SPNDNG_2023

NUMBER

TOT_DSG_UNTS_2023

NUMBER

TOT_CLMS_2023

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2023

NUMBER

AVG_SPND_PER_CLM_2023

NUMBER

OUTLIER_FLAG_2023

NUMBER

CHG_AVG_SPND_PER_DSG_UNT_22_23

NUMBER

CAGR_AVG_SPND_PER_DSG_UNT_19_23

NUMBER

TOT_SPNDNG_2018

NUMBER

TOT_SPNDNG_2017

NUMBER

TOT_DSG_UNTS_2018

NUMBER

TOT_DSG_UNTS_2017

NUMBER

TOT_CLMS_2018

NUMBER

TOT_CLMS_2017

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2018

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2017

NUMBER

AVG_SPND_PER_CLM_2018

NUMBER

AVG_SPND_PER_CLM_2017

NUMBER

OUTLIER_FLAG_2018

NUMBER

OUTLIER_FLAG_2017

NUMBER

CHG_AVG_SPND_PER_DSG_UNT_21_22

NUMBER

CHG_AVG_SPND_PER_DSG_UNT_20_21

TEXT

CAGR_AVG_SPND_PER_DSG_UNT_18_22

TEXT

CAGR_AVG_SPND_PER_DSG_UNT_17_21

TEXT

TOT_SPNDNG_2024

NUMBER

TOT_DSG_UNTS_2024

NUMBER

TOT_CLMS_2024

NUMBER

AVG_SPND_PER_DSG_UNT_WGHTD_2024

NUMBER

AVG_SPND_PER_CLM_2024

NUMBER

OUTLIER_FLAG_2024

NUMBER

CHG_AVG_SPND_PER_DSG_UNT_23_24

TEXT

CAGR_AVG_SPND_PER_DSG_UNT_20_24

TEXT

Lineage columns (present on every feed table)

Column
Type
Description

ROW_ID

TEXT

Unique row ID for this table (PK)

FILE_ID

TEXT

Source file — joins to FEEDS_FILES.ID (FK)

FILE_FEED_ID

TEXT

Parent feed — joins to FEEDS.ID (FK)

FILE_NAME

TEXT

Source file name as published by CMS

ROWNUM

NUMBER

Row number within the source file

CREATED_AT

TIMESTAMP_NTZ

Timestamp when the record was loaded

Row-level lineage

Every row in this table traces to the exact CMS source file that produced it. The FILE_ID column joins to the FEEDS_FILES catalog table, and FILE_FEED_ID joins to the FEEDS master table:

Trace any row back to its source file and reporting period:

Source & provenance

Published by the Centers for Medicare & Medicaid Services (bureau 009:38).

Frequently asked questions

How often is Medicaid Spending by Drug updated?

Annually. CMS last published this feed on 2026-06-25, and Dataplex loaded it to the warehouse the same day. New releases are added automatically when CMS publishes them.

What years does Medicaid Spending by Drug cover?

2021 through 2024 — four annual reporting periods with no gaps. Each reporting year arrives as its own file version, and all years remain queryable side by side.

How many records are in Medicaid Spending by Drug?

68,054 rows across all four reporting periods. Because this feed is time-partitioned, the full table total is the meaningful count — no deduplication needed.

How do I get Medicaid Spending by Drug data?

It's included in the CMS Data Feeds Dataset on the Snowflake Marketplace (free trial available) and via Databricks Delta Sharing. Once mounted, query DWV.MEDICAID_SPENDING_BY_DRUG directly — no pipeline setup required.

Medicaid Opioid Prescribing Rates - by GeographyMedicare Part D Prescribers - by ProviderMedicare Part D Opioid Prescribing Rates - by GeographyMedicare Part D Prescribers - by Provider and DrugMedicare Part D Prescribers - by Geography and Drug

Get this feed

  1. Mount the share — the database and DWV schema appear in your account immediately

  2. Run the sample query above — no ETL, no pipeline maintenance

Questions about this feed? Contact us at notifications@dataplex-consulting.com.


Part of the CMS Data Feeds Dataset — 280+ feeds · 245B+ records · updated daily. Back to the full catalog →

Last updated