Stock sales do not count toward your Social Security earnings limit

When you sell stocks or other investments, the money you receive does not reduce your Social Security benefit — even if you sell at a profit. Social Security only counts earned income, which means wages from a job or net profit from self-employment. Investment gains, including stock sales, dividends, interest, and rental income, are ignored completely.

This distinction matters because many people worry that a large stock sale will trigger the earnings limit and cause their benefits to be withheld. It will not. You can sell $100,000 in stock tomorrow and your Social Security payment will arrive the same as always.

The earnings limit itself only applies if you have not yet reached your full retirement age. Once you turn your full retirement age, there is no earnings limit at all — you can earn any amount without any reduction to benefits.

Key Takeaways

  • Stock sales, capital gains, dividends, and other investment income do not count toward the Social Security earnings limit.
  • Only wages from employment and net self-employment income count toward the limit.
  • The earnings limit only applies to people who have not yet reached their full retirement age.
  • Once you reach your full retirement age, the earnings limit disappears entirely, regardless of how much you earn.

What counts as earned income under Social Security rules

Social Security defines earned income narrowly. It includes wages you receive from an employer, bonuses, and commissions. If you are self-employed, it includes your net profit after business expenses — the amount you report on Schedule C of your tax return.

Earned income does not include retirement account withdrawals (from IRAs, 401(k)s, or pensions), even if you withdraw the money while still working. It does not include Social Security itself, Medicare benefits, or other government payments. It does not include any form of unearned income: interest, dividends, capital gains, rental income, or money from selling property.

The rule is straightforward: if you did not earn it by working, it does not count. This is why retirees who live on investment income alone face no earnings limit, while someone working part-time at a retail job does.

How the earnings limit works if you are under full retirement age

If you claim Social Security before your full retirement age and you work, Social Security withholds $1 in benefits for every $2 you earn above the annual limit. The limit changes each year — it varies based on national wage trends, so you should check the current year's figure with Social Security directly.

The withholding applies only to the year you earn the money. If you earn $50,000 and the limit is $23,400, Social Security calculates how much to withhold based on the $26,600 you earned over the limit. They do not permanently reduce your benefit; they straightforward hold back payments that year. Once you reach your full retirement age, they recalculate your benefit to account for the months they withheld, and your payment increases.

This means the earnings limit is temporary. It affects your cash flow while you are working before full retirement age, but it does not permanently lower your benefit amount.

The difference between capital gains and earned income

A capital gain is the profit you make when you sell an asset for more than you paid for it. If you bought a stock for $5,000 and sold it for $8,000, your capital gain is $3,000. This $3,000 is investment income, not earned income, and Social Security ignores it completely for earnings limit purposes.

The same applies whether you sell after holding the stock for one month or twenty years. Long-term capital gains and short-term capital gains are both ignored. The size of the gain does not matter either — you could have a $100,000 gain and it still would not affect your Social Security.

You will report the capital gain on your tax return, and you may owe federal income tax on it, but Social Security does not care. The two systems operate separately.

What happens if you have both earned income and investment income

Many working retirees have both. You might earn $30,000 from a part-time job and receive $15,000 in dividends from investments. Social Security counts only the $30,000 toward the earnings limit. The $15,000 in dividends is invisible to the earnings limit calculation.

This is actually helpful if you are under full retirement age and working. You can structure your income to minimize the impact of the earnings limit by relying more on investment income and less on wages. If you have the choice between earning $50,000 in wages or $30,000 in wages plus $20,000 in investment income, the second option will result in less Social Security withholding.

That said, you should not make investment decisions based solely on Social Security rules. Tax consequences, your actual financial needs, and your overall retirement plan matter far more.

When to contact Social Security about your earnings

If you are under full retirement age and working, you should report your expected earnings to Social Security. You can do this online through your my Social Security account, by phone at 1-800-772-1213, or in person at your local Social Security office. Social Security uses this information to calculate whether withholding will explore and to estimate your payments.

You do not need to report investment income. You do not need to tell Social Security about stock sales, dividends, or interest. If you are asked about your income and you are unsure whether something counts, the safest approach is to mention it — Social Security staff can tell you whether it affects your benefits.

If your earnings change during the year — you lose a job, get a raise, or retire — report the change as soon as you can. This helps Social Security adjust your withholding and prevents overpayment or underpayment.

Frequently Asked Questions

If I sell a house, does that count toward the earnings limit?

No. The sale of a house is treated as a capital gain (the profit you made) or a loss, and capital gains do not count toward the earnings limit. You may owe federal income tax on the gain, but Social Security ignores it.

What if I receive a large inheritance or gift?

Inheritances and gifts are not earned income and do not count toward the earnings limit. You can receive any amount without affecting your Social Security benefit. You will not owe federal income tax on the inheritance or gift either.

Do I have to pay taxes on my Social Security if I have investment income?

Possibly. Social Security uses a formula called "combined income" to determine whether your benefits are taxable. Combined income includes your adjusted gross income, nontaxable interest, and half of your Social Security benefits. Investment income counts in this formula, so large capital gains or dividends can push you into taxable territory — but this is separate from the earnings limit. A tax professional can help you understand your specific situation.

If I reach full retirement age partway through the year, do I still have an earnings limit?

The earnings limit applies only to months before you reach full retirement age. Once you reach it, the limit disappears for the rest of that year and all future years. Social Security counts only earnings you received in the months before your birthday, so if you were born in June and reach full retirement age then, only January through May earnings count toward the limit.

Can I reduce my earnings to avoid the earnings limit?

You can, but it is usually not worth it. The earnings limit withholds $1 for every $2 you earn over the threshold. If you earn $2 more, you lose $1 in benefits — a 50 percent tax on that extra income. However, once you reach full retirement age, Social Security recalculates your benefit upward to account for the months they withheld. Over your lifetime, you typically come out ahead by working and accepting the temporary withholding.