Medicare and Social Security are funded primarily by payroll taxes withheld under the Federal Insurance Contributions Act (FICA), plus the parallel Self-Employed Contributions Act (SECA) system for people who work for themselves. Employees pay 6.2 percent of wages for Social Security and 1.45 percent for Medicare, and employers match those amounts. The combined 15.3 percent is split between the two programs by formula, not deposited into a single shared account. An additional 0.9 percent Medicare surtax applies to high earners above statutory wage thresholds.

That is the direct answer. What follows explains the machinery beneath it, because the commonplace phrase "mandatory spending funded by payroll taxes" hides two separate trust funds, two different tax bases, a wage cap that applies to only one program, and an unusual quirk in how Medicare's hospital fund is actually financed.

The payroll tax mechanism: two funds, one paycheck line

FICA withholding is not a single tax. It is two taxes collected together. The Social Security portion is 6.2 percent of covered wages for the employee, matched by 6.2 percent from the employer, for a combined 12.4 percent. The Medicare portion is 1.45 percent from each side, for a combined 2.9 percent. Most wage earners never see the split, but it determines where every dollar lands.

The Internal Revenue Code routes these receipts to two legally distinct trust funds held by the U.S. Treasury. Social Security revenue goes to the Old-Age and Survivors Insurance (OASI) trust fund and the Disability Insurance (DI) trust fund. Medicare's Hospital Insurance (HI) portion goes to the Federal Hospital Insurance Trust Fund. Medicare's doctor-and-outpatient coverage, Part B, and its drug coverage, Part D, are not funded by the 1.45 percent payroll tax at all.

Here is the first professional caveat. Medicare Part B and Part D are financed mainly by general federal revenue plus premiums paid by beneficiaries. In recent years, general revenue has covered roughly 70 percent or more of Part B costs, with beneficiary premiums covering the remainder. So the paycheck Medicare tax funds hospital insurance, not the whole program. A thin explainer that says "payroll taxes fund Medicare" is directionally right and mechanically incomplete.

A second wrinkle: the Social Security payroll tax has an annual wage cap, while the Medicare tax does not. Wages above the cap escape Social Security tax entirely but remain subject to the 1.45 percent Medicare tax with no ceiling.

The plain-language version: your paycheck funds two programs through two separate pipes, and one pipe has a lid on it.

Quantified context: rates, caps, thresholds, and trust fund sizes

Concrete figures anchor how much money moves through this system.

The Social Security wage base is set annually. For 2025 it is USD 176,100; for 2026 it rises to USD 184,500. Earnings above that ceiling are not subject to the 6.2 percent Social Security tax, though they remain subject to Medicare tax. The cap is indexed to national average wage growth, which is why it climbs most years.

The Medicare surtax is a separate layer. An additional 0.9 percent applies to wages above USD 200,000 for single filers and USD 250,000 for married couples filing jointly. Employers withhold the surtax based on pay alone and do not adjust for a spouse's earnings, so some married filers owe more at tax time than was withheld. That is a real edge case, covered below.

On the outlay side, Social Security paid roughly USD 1.5 trillion in benefits in 2024, and Medicare spent in the vicinity of USD 1 trillion on its beneficiaries. These are large numbers, but the honest comparison is to the tax base financing them. Social Security's combined income from payroll taxes and trust fund interest has fallen short of annual costs since 2010, with the gap bridged by trust fund asset redemption.

The most-cited long-range projection comes from the Social Security and Medicare Trustees Reports and the Congressional Budget Office. Under their intermediate assumptions, the OASI trust fund is projected to become depleted in the early-to-mid 2030s, at which point ongoing tax income would cover roughly 75 to 80 percent of scheduled benefits. The HI trust fund's projected depletion date falls somewhat later under current law. These are projections, not forecasts of program termination, and the exact dates shift with each annual report.

One counterintuitive detail worth pausing on: the "trust funds" are not vaults of cash. Their assets are special-issue Treasury securities. When payroll tax revenue exceeds costs, the surplus is lent to the general government; when costs exceed revenue, the trust funds redeem those securities. Depletion means the securities are exhausted and general revenue would be needed to cover the shortfall, or benefits would be trimmed by formula.

The self-employed edge case and other wrinkles

Self-employed workers face the same underlying taxes through SECA, but they pay both halves. The self-employment tax is 15.3 percent on net earnings: 12.4 percent for Social Security and 2.9 percent for Medicare. Because they cover the employer share, they receive a deduction for the employer-equivalent half on their income tax return. That deduction reduces income tax, not the payroll tax itself.

The Social Security wage cap behaves differently for people with multiple employers. Each employer applies the cap to its own payroll. If you hold two jobs and combined wages exceed the wage base, you may overpay Social Security tax, which is reconciled as a credit on your return. Medicare tax has no such cap, so no overpayment arises there, though the surtax withholding mismatch described above can create an underpayment.

Certain wages are exempt from these taxes by statute. Some state and local government employees covered by alternative pension systems, certain clergy who opt out, and some student employment categories fall outside FICA. These exemptions are narrow and specific, not general opt-outs.

There is also a timing mismatch worth understanding. Payroll taxes are collected continuously through the year. Benefit obligations are paid monthly. The trust funds smooth this timing with securities, which is why the system can run an annual surplus in one year and a deficit the next without any change in law.

Plain-language summary: self-employed people pay a larger share up front, multiple employers can create over-withholding, and a handful of statutory exemptions exist that do not apply to most workers.

Red-flag warnings worth knowing

Do not assume the Medicare payroll tax funds all of Medicare. It funds hospital insurance only. Do not assume the Social Security wage cap applies to Medicare. It does not. Do not treat trustees' depletion dates as cancellation of benefits. They mark a change in financing, not the end of the program. Do not rely on an employer's surtax withholding to be correct if you are married and your spouse also earns above the threshold. Do not assume self-employment tax is split with anyone. You pay both halves.

Comparing the financing structures side by side

Feature Social Security (OASI/DI) Medicare Part A (HI) Medicare Part B Medicare Part D
Primary funding source 12.4% payroll tax, split employer/employee 2.9% payroll tax, split employer/employee General revenue plus premiums General revenue plus premiums
Wage cap Yes (annual, indexed) No Not payroll-tax funded Not payroll-tax funded
High-earner surtax None 0.9% additional Medicare tax Income-related premium Income-related premium
Trust fund OASI and DI trust funds HI trust fund Supplementary Medical Insurance trust fund SMI trust fund
Projected depletion Early-to-mid 2030s (OASI) Later than OASI under current law No depletion; annually financed No depletion; annually financed

The table makes the split plain. Two programs, four funding channels, and only the first two columns draw on the paycheck line most workers recognize.

Timeline: how the withholding and financing evolved

Year Development
1935 Social Security Act creates old-age benefits, funded initially by payroll tax
1937 First payroll taxes collected; OASI trust fund established
1965 Medicare enacted; HI payroll tax added at 0.35% each side
1966 Medicare begins operations; Part B financed by premiums and general revenue
1983 Amendments raise payroll tax rates and the wage base, strengthening trust funds
1990 Medicare payroll tax reaches the current 1.45% each side
2013 Additional 0.9% Medicare surtax takes effect for high earners
2020s Combined OASI and DI costs exceed tax income; assets redeemed to cover gap

The trajectory shows a system built incrementally, with rate increases and base expansions used repeatedly to shore up financing. Each change altered who pays and how much, which is why the current structure is a patchwork rather than a single design.

Common misconceptions that deserve correction

The most persistent misconception is that payroll taxes sit in a personal account earmarked for the individual taxpayer. They do not. The taxes are pooled and used to pay current beneficiaries, with surpluses invested in Treasury securities. Your future benefit is set by statutory formula, not by the balance attributable to your contributions.

A second misconception treats "mandatory spending" as meaning the programs cannot be changed. Mandatory spending means outlays occur without annual congressional appropriation, driven instead by eligibility rules and benefit formulas. Congress can and repeatedly has amended those rules. The label describes the budget process, not immutability.

A third misconception is that cutting payroll taxes would only affect future retirees. Because current benefits are paid from current receipts, a payroll tax reduction accelerates trust fund drawdown and brings forward the date when general revenue or benefit changes become necessary. That is why payroll tax holidays have historically been paired with general revenue transfers to the trust funds.

The plain version: your contributions do not sit in a box with your name on it, "mandatory" does not mean permanent, and payroll tax cuts have near-term consequences for current beneficiaries.

Practical actions and thresholds for your own paycheck

Verify what is being withheld. On a pay stub, look for two separate lines: Social Security and Medicare, each typically labeled with the FICA statute. If you see a combined line, ask payroll for the split, because the two amounts behave differently at the wage cap.

Check the wage cap each January. If your salary exceeds the annual Social Security wage base, your Social Security withholding should stop once you cross it, and your Medicare withholding should continue. If Social Security tax is still being withheld after you pass the cap at a single employer, raise it with payroll. If you have two employers, expect possible over-withholding and claim the credit on your return.

Audit the surtax if you are a high earner. If your wages exceed USD 200,000 (single) or USD 250,000 (joint), confirm that the additional 0.9 percent Medicare tax is being withheld. Married filers with two high earners should expect a reconciliation at filing.

If you are self-employed, plan for the full 15.3 percent. Set aside the self-employment tax quarterly along with income tax, and claim the employer-equivalent half deduction on your return. Track net earnings carefully, because the tax applies to net, not gross.

Watch the annual trustees' reports if financing matters to your planning. The reports are published yearly and are the primary source for depletion projections and the share of benefits payable after depletion. Treat the dates as ranges, not fixed deadlines.

Limitations: what this explainer cannot tell you

Tax law and benefit formulas change, and the figures cited here reflect the structure as it stands, with the 2025 and 2026 wage bases noted. Projections from the trustees and the Congressional Budget Office depend on economic and demographic assumptions that shift annually. This article explains mechanism, not your individual liability, and it does not model interactions with state taxes, treaty rules for cross-border workers, or specific employer plans.

Some payroll arrangements, such as certain public pension offsets and nonqualified deferred compensation, alter FICA treatment in ways that require plan-specific documents. Those details are outside the scope of a general explainer and are best confirmed with payroll or a tax professional who can see your actual records.

This article is general educational information about how Medicare and Social Security are financed, not a tax opinion, financial recommendation, or benefit projection for any individual. It does not promise any outcome, return, or benefit amount. For questions about your own withholding, eligibility, or tax liability, consult a qualified tax professional or the Social Security Administration and Centers for Medicare & Medicaid Services directly.