Talivero

Back to all posts

The QBI Deduction Trap: Why Your S-Corp Salary Kills Your 199A Savings

2026-03-25 · Talivero Research · 8 min read

The conventional S-Corp playbook is simple: set your salary as low as the IRS will tolerate, take everything else as distributions, and pocket the SE tax savings. For most freelancers under $150,000 in net profit, this works fine. But above certain income thresholds, this strategy backfires — and the reason is Section 199A.

The Qualified Business Income (QBI) deduction lets you deduct up to 20% of your qualified business income from your taxable income. That is a massive benefit. On $150,000 of QBI, the deduction is worth $30,000 off your taxable income — saving you roughly $7,200 in federal tax at the 24% bracket.

The trap: once your taxable income exceeds the QBI threshold ($203,700 single / $407,400 MFJ for 2026), your QBI deduction gets limited by your W-2 wages. And your S-Corp salary is your W-2 wages.

Minimize your salary to save on SE tax, and you cap your QBI deduction. The lost QBI deduction can exceed the SE tax savings.

How the W-2 Wage Limitation Works

Below the QBI threshold, the deduction is simply 20% of your QBI. No wage test, no complications. Above the threshold (with a phase-in range of $50,000 single / $100,000 MFJ), the deduction is limited to the greater of:

  • 50% of W-2 wages, or
  • 25% of W-2 wages + 2.5% of the unadjusted basis of qualified property (UBIA)

For most freelancers and consultants who do not own significant business equipment, the UBIA component is negligible. The binding constraint is 50% of W-2 wages.

This means your QBI deduction is capped at half of whatever salary you pay yourself through your S-Corp.

The Math That Breaks the Playbook

Consider a freelance developer earning $200,000 net profit, filing single, with no significant UBIA:

Low-salary strategy: $70,000 salary, $130,000 distributions

  • SE tax savings: ($200,000 - $70,000) × 0.153 = $19,890
  • QBI: $200,000 (all net profit is QBI)
  • QBI deduction without limitation: 20% × $200,000 = $40,000
  • W-2 wage limitation: 50% × $70,000 = $35,000
  • Since taxable income is near the threshold, phase-in applies — effective QBI deduction is partially limited
  • Tax cost of reduced QBI: depends on marginal rate, but at 24%: up to $1,200 in lost savings

Higher-salary strategy: $100,000 salary, $100,000 distributions

  • SE tax savings: ($200,000 - $100,000) × 0.153 = $15,300
  • W-2 wage limitation: 50% × $100,000 = $50,000 (no longer binding — exceeds 20% of QBI)
  • Full QBI deduction: $40,000
  • SE tax savings are $4,590 lower, but QBI deduction is fully preserved

In this scenario, the low-salary strategy saves an additional $4,590 in SE tax but risks losing $1,200+ in QBI tax savings. Net benefit is still positive, but the margin is much smaller than the raw SE tax number suggests.

The situation gets worse as income climbs. At $300,000, the W-2 wage limitation binds hard, and the optimal salary to balance both deductions can be significantly higher than what pure SE tax minimization would suggest.

The SSTB Problem

If your business is classified as a Specified Service Trade or Business (SSTB), the trap gets even more dangerous. SSTBs include:

  • Health, law, accounting, actuarial science
  • Consulting
  • Financial services, brokerage
  • Athletics, performing arts
  • Any business where the principal asset is the reputation or skill of employees

For SSTBs, the QBI deduction phases out entirely above the threshold. Once your taxable income exceeds $253,700 (single) or $507,400 (MFJ), you get zero QBI deduction regardless of your W-2 wages.

This means SSTB freelancers face a cliff: below the threshold, they get the full 20% deduction. Above it, they get nothing. The salary optimization strategy changes entirely depending on which side of the cliff you are on.

For a deeper look at how the 2026 OBBBA legislation adjusted these thresholds, see OBBBA Tax Changes 2026.

Finding the Optimal Salary

The optimal S-Corp salary is not the minimum defensible salary, and it is not the maximum salary. It is the salary that minimizes your total tax burden across SE tax, income tax, and QBI deduction simultaneously.

This is a constrained optimization problem with three competing objectives:

  1. Lower salary → more SE tax savings
  2. Higher salary → higher QBI deduction (via W-2 wage test)
  3. Higher salary → higher Solo 401(k) employer contribution ceiling

The sweet spot depends on your total income, filing status, SSTB classification, state, and retirement contribution goals. There is no single formula — it requires modeling all three effects at each salary level and finding the minimum total tax.

Talivero's optimizer runs this exact calculation across a grid of salary levels for your specific inputs. Model your optimal salary →

Real-World Example: $250K Consultant in California

  • Filing status: Single
  • Net business profit: $250,000
  • Industry: Management consulting (SSTB)
  • State: California

Scenario A: $85,000 salary

  • SE tax savings: $25,245
  • QBI limitation kicks in hard above threshold
  • CA franchise tax: $800 + 1.5% of net income
  • Total federal + state tax: ~$72,400

Scenario B: $110,000 salary

  • SE tax savings: $21,420 (lower by $3,825)
  • QBI deduction higher due to W-2 wage test
  • Higher Solo 401(k) employer contribution ceiling
  • Total federal + state tax: ~$70,100

Scenario B saves $2,300 more per year despite the higher salary, because the QBI deduction gain exceeds the SE tax loss.

How Retirement Contributions Complicate the Picture

Your S-Corp salary also caps your Solo 401(k) employer contribution at 25% of W-2 wages. At an $85,000 salary, the employer contribution ceiling is $21,250. At $110,000, it is $27,500.

If you are pursuing aggressive retirement savings, the higher salary unlocks $6,250 more in tax-deferred retirement contributions per year. At a 32% marginal rate, that is $2,000 in additional income tax savings — on top of the QBI benefit.

For a full comparison of retirement account options and how your salary level affects contribution ceilings, read Solo 401(k) vs SEP-IRA.

When to Ignore the QBI Trap

The QBI trap only matters when your taxable income is near or above the QBI threshold. If your net profit is under $160,000 (single) or $350,000 (MFJ), you are likely safely below the threshold after deductions, and the W-2 wage limitation does not apply.

In that case, the classic low-salary strategy works as advertised. Minimize salary, maximize distributions, pocket the SE tax savings.

The dangerous zone is $180,000–$350,000 single or $380,000–$550,000 MFJ. In this range, the QBI phase-in creates complex interactions that require simultaneous optimization. When evaluating your home office space as a business deduction, tools like WildFireCost can help you understand property risks that may affect your insurance deductions and overall cost basis.

The Bottom Line

S-Corp salary optimization is not a one-variable problem. Setting your salary requires balancing SE tax, QBI deduction, and retirement contributions simultaneously. The optimal answer changes at different income levels, and the penalty for getting it wrong compounds every year.

Do not set your salary based on a blog post rule of thumb. Model your specific scenario with all three variables.

Find your optimal S-Corp salary →

Every number here depends on your profit, your salary split, your state and your bracket. Run yours instead of the example.

Start Free Analysis