Before the pandemic, the federal government was paying about 65 percent of Medicaid’s costs overall, with the precise share varying based on a state’s average income. States picked up the other 35 percent of Medicaid costs. These costs accounted for more than one-fourth of state budgets before the pandemic.