State and Local Expenditures

State and Local Backgrounders Homepage

State and Local Spending

State and local governments spent $3.1 trillion on direct general government expenditures in fiscal year 2017.1 States spent $1.4 trillion directly and local governments—cities, townships, counties, school districts, and special districts—spent $1.6 trillion directly. The state and local totals do not sum to the combined amount because of rounding.2

While state governments raised more revenues than local governments, local governments' direct expenditures were larger than states' because localities often administer programs with funds transferred from state governments. States transferred over $530 billion to local governments in 2017. A portion of state funding comes indirectly from the federal government in the form of pass-through grants.

Most state and local government spending falls into one of six categories: elementary and secondary education, public welfare (which includes most Medicaid spending), higher education, health and hospitals, police and corrections, and highways and roads.

What do state and local governments spend money on?

State and local governments spend most of their resources on education, health, and social service programs. In 2017, about one-third of state and local spending went toward combined elementary and secondary education (21 percent) and higher education (10 percent).3 (Census's data on higher education expenditures include both public revenues and student tuition and fees. See our higher education backgrounder for more information.)

Another 22 percent of expenditures went toward public welfare. Public welfare includes spending on means-tested programs, such as Medicaid, Temporary Assistance for Needy Families, and Supplemental Security Income.4 Spending on health and hospitals was another 10 percent of state and local direct expenditures. 

Medicaid constitutes a large, and growing, portion of state spending. However, Census does not separate Medicaid spending into its own category. Instead, most Medicaid spending is accounted for under the public welfare category with some spending counted as hospital expenditures.5

The National Association of State Budget Officers (NASBO) estimates that in fiscal year 2019 Medicaid alone accounted for nearly 29 percent of total state spending—up from 20 percent in 2008.6

Highway and road spending was 6 percent, police spending was 4 percent, and corrections spending was 3 percent. 

Most of the remaining 25 percent of state and local direct expenditures in 2017 went toward these programs:

  • general administration (4 percent) 
  • interest on debt (4 percent)  
  • sewerage (2 percent) 
  • housing and community development (2 percent) 
  • local fire protection (2 percent) 
  • parks and recreation (2 percent)
  • natural resources services (1 percent)
  • air transportation (1 percent)
  • solid waste management (1 percent)
  • public buildings (1 percent)

The rest was other miscellaneous expenses not elsewhere classified by Census.

How does state spending differ from local spending?

States and local governments provide different mixes of services, which are reflected in their direct general expenditures.

States spend more than local governments on public welfare programs. In 2017, 43 percent of states' direct general expenditures went toward public welfare, the largest source of state direct spending. Local governments spent only 4 percent on public welfare. Much of public welfare spending is Medicaid spending, which is jointly funded by states and the federal government and administered by state governments (and local governments in a few states).

States also spent a higher percentage of their direct expenditures on higher education (18 percent) than local governments (3 percent) in 2017.

In contrast, local governments spent far more on elementary and secondary education than states in 2017: 40 percent of direct local government spending versus less than 1 percent of direct state spending. However, much of that local spending came from state and federal funds. In total, in the 2015-2016 school year, states provided 47 percent of K-12 education funding, local governments provided 45 percent, and the federal government provided 8 percent.8 Local governments also spend a larger share of their budgets on police (6 percent) than state governments (1 percent).

How have state and local expenditures changed over time?

State and local direct general expenditures increased from approximately $1.1 trillion in 1977 (in inflation-adjusted 2017 dollars) to $3.1 trillion in 2017—a 178 percent increase over 40 years. Real per capita expenditures increased from $5,022 to $9,446, an 88 percent increase, over the same period.

Although spending in all major categories has increased over the period, the share of spending on specific programs as a percentage of general spending has varied. For example, public welfare expenditures increased from 13 percent of state and local general spending in 1977 to 22 percent in 2017. Medicaid is responsible for most of the increase in public welfare spending, and the federal share of Medicaid spending also increased from 55 percent to 65 percent over the same period.9 In part because of this increase, the share of state and local direct expenditures on elementary and secondary education fell from 26 percent  1977 to 21 percent in 2017. Still, over the same time period, real per capita and per pupil spending on K-12 education has increased.  

Spending on other categories has remained more stable as a percentage of direct general expenditures. For example, since 1977, spending on health and hospitals has only fluctuated between 8 and 10 percent of direct spending. Similarly, police spending as a share of state and local direct expenditures has remained at 4 percent over the 40-year period. (Changes in higher education spending are complicated by the increasing share of tuition payments.)

How and why does spending differ across states?

State and local governments spent $9,449 per capita in 2017, but per capita direct spending varies widely across states.

Among the states, Alaska had the highest per capita state and local spending in 2017 at $17,200, followed by Wyoming ($15,339) and New York ($14,434). As is typical, the District of Columbia’s per capita spending exceeded all states’ at $19,053.10 Idaho ($6,766) and Georgia ($6,865) had the lowest per capita spending in 2017. 

Data: View and download each state's per capita direct general expenditures

Differences in spending arise from variations in geography, demographics, history, and other external factors. They can also arise from state policy choices, such as generosity of service levels, eligibility rules for social services, or tax policy. For example, New York has relatively high K–12 education spending even though it has relatively few school-age children and a bigger share of kids in private school than most states.11 Instead, it has high K–12 education spending because it has more teachers per student enrollment and higher teacher salaries than most states.12 In contrast, although Idaho has many school-age children to educate and a high rate of attendance in public schools, it has relatively low K-12 education  spending because it employs fewer teachers per student and has lower payroll costs than most states.13

States also may spend more or less than one would expect based on national averages and need as measured by demographics and costs. These differences may be because of revenue capacity as well as state policy choices and limited federal funds. For example, Idaho’s level of need, or what it would spend if it matched national averages for spending adjusted for demographics and costs, exceeds its capacity to bring in revenues even after accounting for transfers from the federal government. 

Interactive Data Tools

State and Local Finance Data: Exploring the Census of Governments

State Fiscal Briefs

What everyone should know about their state’s budget

Further Reading

Fiscal Democracy in the States: How Much Spending is on Autopilot?
Tracy Gordon, Megan Randall, C. Eugene Steuerle, and Aravind Boddupalli (2019)

Follow the Money: How to Track Federal Funding to Local Governments
Megan Randall, Tracy Gordon, Solomon Greene, and Erin Huffer (2018)

Assessing Fiscal Capacities of States: A Representative Revenue System–Representative Expenditure System Approach, Fiscal Year 2012 
Tracy Gordon, Richard Auxier, and John Iselin (2016)

Governing with Tight Budgets: Long-Term Trends in State Finances 
Norton Francis and Frank Sammartino (2015)


1 Unless otherwise noted, all data are from the US Bureau of the Census, Survey of State and Local Government Finance, 1977-2017, accessed via the Urban-Brookings Tax Policy Center Data Query System, February 3, 2020, The census recognizes five types of local government in addition to state government: counties, municipalities, townships, special districts (e.g., a water and sewer authority), and school districts. All dates in sections about expenditures reference the fiscal year unless explicitly stated otherwise.

2 State and local general expenditures include spending on schools, health care services, and general administration (among other activities in the general government sector) but exclude government-run liquor stores, utilities, and insurance trusts, which are accounted for separately in the census. For more information about how the US Census Bureau classifies government expenditures, see the US Bureau of the Census, Government Finance and Employment Classification Manual (Washington, DC: US Bureau of the Census, 2006),

3 The census counts state expenditures on scholarships and other educational subsidies under a separate category that includes subsidies for higher and K–12 education combined. The code (J19) includes, for example, individual scholarships for higher education and institutional assistance to private K–12 charter schools.

4 For more information about how the Census classifies government spending, see the US Bureau of the Census, Government Finance and Employment Classification Manual (Washington, DC: US Bureau of the Census, 2006),

5 The Medicaid and CHIP Payment Access Commission estimates that payments to hospitals account for only 17 percent of total Medicaid spending, suggesting that the portion of Medicaid accounted for under the Health and Hospitals census classification is likely minimal. See MACPAC, “MACStats, Exhibit 17,” accessed May 12, 2017,

6 The National Association of State Budget Officers (NASBO) classifies spending differently from the US Bureau of the Census. For example, NASBO includes government-run liquor stores and utilities in total spending, whereas these expenses are excluded from the census classification of general government expenditures that we use on this page. See NASBO, State Expenditure Report: Examining Fiscal 2014-2016 State Spending,” 2016,

7 See William A. Fischel, School Finance Litigation and Property Tax Revolts: How Undermining Local Control Turns Voters Away from Public Education, Working Paper WP98WF1 (Washington, DC: Lincoln Institute of Land Policy, 1998),; also Sheila Murray and Kim Rueben, School Finance Over Time: How Changing Structures Affect Support for K–12 Education, Policy working paper WP07SM1 (Cambridge, MA: Lincoln Institute of Land Policy, 2007).

8 US Department of Education, National Center for Education Statistics, Digest of Education Statistics 2018, Table 235.40, 2015–2016. 

For more information on sources of state spending growth, see National Association of State Budget Officers, State Expenditure Report: Fiscal Years 2016-2018, 2018, accessed January 9, 2019, 2017,

10 The District of Columbia is often an outlier because, although it functions as a state and a locality, it most closely resembles a central city in terms of its population and economic activity, much of which comes from nonresidents. Its ranking among states should be interpreted within this context.

11For per capita K–12 spending data, see the K–12 Education dropdown menu in the Urban Institute’s interactive data tool, “What everyone should know about their state’s budget,” accessed May 15, 2017,

12 An analysis of components of state and local spending is publicly available using 2012 data on the Urban Institute’s interactive tool, “What everyone should know about their state’s budget.”

13 See the K–12 dropdown menu in the Urban Institute’s interactive data tool, “What everyone should know about their state’s budget,” accessed May 15, 2017,