Skip to content

Your complete guide to American retirement

Selling a Business While on Social Security

Selling your business before full retirement age? Goodwill and equipment gains don't count toward the Social Security earnings limit, but inventory profit, consulting pay and your post-sale hours can.

A smiling mature woman with gray hair unlocks the wooden front door of a storefront bakery at dusk.
Separating capital asset proceeds from countable earned income prevents a business sale from halting early Social Security benefit checks.

If you are under full retirement age, collecting Social Security and selling your business, only part of the sale price counts against the earnings limit.

Gains on goodwill, customer lists, equipment and business real estate are excluded. Profit on inventory and pay for your continued work do count, and in 2027 every $2 above $25,560 costs $1 of benefits.

Two things can decide whether your checks keep coming: how the price is split in the purchase agreement, and how many hours you work after closing. The sale can also raise your taxes and, two years later, your Medicare premiums.

Which parts of a business sale count toward the earnings limit

The earnings test counts only wages and net earnings from self-employment, which is the profit that lands on Schedule C and Schedule SE. Gains from selling capital assets and property used in the business are excluded, however large they are.

For a sole proprietor, SSA counts net earnings from self-employment for the whole tax year. That includes profit from running the business before closing day, not just the sale items.

For 2027, SSA withholds $1 for every $2 above $25,560 if you are under full retirement age all year, or $1 for every $3 above $67,920 earned in the months before you reach it.

Withheld benefits are not lost, because SSA raises your monthly amount at full retirement age. Our guide to working while receiving Social Security explains the full test.

Older man in an apron inspecting a metal hardware part between wooden shelves in a hardware store
Profit from running the store up to closing day counts toward the annual limit, alongside any sale items that are business income.
Part of the deal Usual tax treatment Counts toward the earnings test?
Goodwill and going-concern value Capital gain No
Customer lists, trade names Capital gain No
Equipment and vehicles Gain on business property; depreciation recapture taxed as ordinary income No
Business real estate Gain on business property No
Inventory Ordinary business income Yes, but only the profit above cost
Accounts receivable collected Ordinary business income Often yes; special rules can apply to pay for work done before you claimed
Consulting or transition pay Wages or self-employment income Yes
Earnout that depends on your continued work May be treated as pay for services Likely yes
Non-compete payment with no services attached Ordinary income, usually not self-employment income Usually no

Inventory is the item sellers most often misread. Under IRS rules, Schedule C gross profit is sales minus cost of goods sold, so only the markup counts, not the sale price.

Selling parts that cost you $20,000 for $35,000 adds $15,000 of countable profit. Selling them for exactly $20,000 adds nothing, as long as that price reflects what the inventory is really worth.

Equipment gains often include depreciation recapture, which the IRS taxes as ordinary income. Recapture still isn’t self-employment income, so it stays outside the earnings test.

Non-compete payments are usually not self-employment income if you provide no services. If the same contract requires advice or availability, SSA and the IRS may treat the money as pay for work.

If you sell shares of a corporation rather than its assets, the gain on the shares is not earnings. Only the wages or fees you draw count, a point covered in our guide to claiming while still owning an S-corp.

The 45-hour rule after closing in your grace year

Your grace year is the first year with a month in which you count as retired. In that year, SSA can pay a full benefit for every retired month, whatever your annual total.

For 2027, a month counts as retired if your wages are $2,130 or less and you perform no substantial services in self-employment.

You usually get only one grace year. If you used it when you first claimed, the annual test applies to the sale year.

For the self-employed, the deciding factor is mostly hours, under SSA’s rules for judging substantial services in self-employment:

  • More than 45 hours in a month: generally substantial services.
  • Fewer than 15 hours in a month: generally not substantial.
  • 15 to 45 hours: can be substantial if the business is sizable or the work is highly skilled, such as managing it.
Older woman in a workshop handing a large ring of keys across a wooden workbench to a younger man
Handing over the keys is not the test; SSA looks at the hours and decisions you still give the business each month.

SSA also looks at what you actually do, not what the contract calls you. Making key decisions or supervising staff after the sale can count even if the agreement names you only a consultant.

Keep a simple log of hours and tasks for any transition work. Our piece on how part-time consulting income cuts Social Security shows how those fees are counted.

Splitting a $420,000 shop sale: eight checks withheld or none

Take an auto repair shop owner aged 63, born in 1963, who gets early benefits of $2,100 a month ($25,200 a year). His grace year was used when he first claimed, so the annual 2026 limit applies.

The shop earned $8,000 of net profit in 2026 before the sale closed. The buyer pays $420,000 in a lump sum at closing.

First draft: about eight checks withheld

  • Goodwill and customer list: $310,000 (not counted)
  • Lifts and equipment: $40,000 (not counted)
  • Parts inventory: $35,000 for parts that cost $20,000 ($15,000 gross profit counts)
  • Consulting agreement: $35,000 (counts)

Countable earnings are $8,000 + $15,000 + $35,000 = $58,000, which is $33,520 over the 2026 limit of $24,480, so SSA withholds half of it: $16,760. Under the 2027 limit of $25,560, the excess would be $32,440 and the withholding $16,220 (still eight checks).

SSA holds back whole checks, so eight of his twelve $2,100 payments are withheld. He receives about $8,400 of his $25,200 in benefits for the year.

Revised deal: no withholding

  • Parts inventory: $20,000, its cost, supported by a valuation ($0 gross profit)
  • Consulting: $9,000 for about 50 hours spread over the year, well under 15 in any month
  • Lifts and equipment: unchanged at $40,000
  • Goodwill and customer list: $351,000

Countable earnings are $8,000 + $0 + $9,000 = $17,000, under the limit. He keeps all $25,200 of benefits, and the price is still $420,000.

This works only because he really does less work. Relabeling consulting pay as goodwill while working the same hours invites a challenge from both SSA and the IRS.

The buyer gives something up, too. Goodwill is deducted over 15 years, while consulting fees are deducted as paid, so expect that point to come up in negotiation.

How Form 8594 limits how you split the price

In an asset sale, buyer and seller each file Form 8594, allocating the price among seven asset classes. Inventory is Class IV, equipment and real estate Class V, and goodwill Class VII, which takes whatever is left.

Man strapping heavy shop machinery onto a flatbed trailer outside a warehouse
Equipment is valued separately from goodwill; its gain, including recapture, stays outside the earnings test.

Because goodwill is the residual, you can’t simply choose a bigger goodwill number. Value moves there only when the other items are set at fair market value, and each figure must hold up.

Agree on the allocation in the letter of intent and write it into the purchase agreement, so the buyer’s and seller’s returns match.

Taxes on benefits and Medicare premiums after the sale year

Excluded from the earnings test does not mean untaxed. Capital gains raise the combined income figure that decides how much of your Social Security is taxed.

Above $34,000 of combined income for a single filer, or $44,000 on a joint return, up to 85% of benefits can be taxable. A sale with six-figure gains will almost always reach that level for the year.

Medicare premiums use your tax return from two years earlier. Turning 65 in 2028, this owner’s first-year Part B and Part D premiums will be set by his 2026 income under the two-year lookback, sale included.

Under the 2026 brackets, a single filer with income between $205,001 and $499,999 pays $649.20 a month for Part B instead of $202.90, plus $83.30 for Part D. A sale year near $400,000 would land there.

CMS sets each year’s brackets the fall before, so the 2028 amounts arrive in late 2027. Our IRMAA guide explains the full surcharge rules.

On Form SSA-44, you can ask SSA to use a later, lower year’s income if a life-changing event such as work stoppage or work reduction cut your income.

A voluntary sale of property is not itself a qualifying event, so the request rests on your work ending. SSA decides, and you will need proof such as the sale agreement and a later return or income estimate.

An installment sale can spread the capital gain over several years, softening both effects. Inventory can’t be reported on the installment method, and depreciation recapture is taxed in the year of sale even if you are paid later.

Checklist before signing a sale agreement while on benefits

  1. Add up the year’s countable earnings: operating profit before closing, inventory profit above cost, and any wages or consulting fees.
  2. Compare the total with the 2027 limit ($25,560 if you are under full retirement age all year), and with the following year’s limit if consulting pay continues, then decide how much transition work you can take on.
  3. Get inventory and equipment valued so the Form 8594 allocation holds up.
  4. Write consulting terms with an hours cap and an end date, and keep non-compete payments separate from any service duties.
  5. If you expect countable earnings above the limit, give SSA an estimate so it adjusts payments now instead of sending an overpayment notice later.
  6. If Medicare is within two years or you are already enrolled, plan for higher premiums and keep the documents for Form SSA-44.

A CPA experienced in business sales should check the allocation and tax figures with you, and SSA confirms how your earnings and hours will be counted.