Kewal Krishan & Co, Accountants | Tax Advisors
Selling Stocks

Introduction

Selling stocks or real estate can lead to capital gains or losses, which affect your taxable income. Stocks and investment properties are taxed differently than primary residences.

This guide explains how stock and real estate sales are taxed, what exemptions apply, and how to report them on IRS Form 1040.

Tax Code References for Selling Stocks and Real Estate

  • IRC § 1221 – Defines capital assets.
  • IRC § 121 – Provides the primary residence exclusion for real estate sales.
  • IRC § 1031 – Allows like-kind exchanges for investment properties.
  • IRC § 1(h) – Establishes capital gains tax rates.

Relevant IRS Forms for Reporting Sales

  • Form 8949 – Reports stock and real estate transactions.
  • Schedule D (Form 1040) – Summarizes total capital gains and losses.
  • Form 1099-B – Reports stock sales from brokers.
  • Form 1099-S – Reports real estate sales.
  • Form 4797 – Reports sales of business real estate.

Capital Gains and Losses: Understanding the Basics

1. Short-Term vs. Long-Term Gains

  • Short-term capital gains (held for 1 year or less) are taxed at ordinary income tax rates (10% to 37%).
  • Long-term capital gains (held for more than 1 year) are taxed at 0%, 15%, or 20%.

2. Deducting Capital Losses

  • Losses offset capital gains first.
  • If total losses exceed gains, up to $3,000 ($1,500 if married filing separately) can be deducted against ordinary income.
  • Unused losses can be carried forward indefinitely.

Taxation of Stock Sales

Stock Gains and Losses

  • When you sell a stock for more than you paid, the profit is taxable capital gain.
  • Losses from stock sales reduce taxable income.

Stock Tax Rates (2024)

Filing Status0% Tax Rate15% Tax Rate20% Tax Rate
SingleUp to $47,025$47,026 – $518,900Over $518,900
Married Filing JointlyUp to $94,050$94,051 – $583,750Over $583,750

Taxation of Real Estate Sales

Primary Residence Exclusion

  • If you owned and lived in the home for at least 2 of the last 5 years, you can exclude up to $250,000 ($500,000 for married couples) of gain from taxes.
  • The exclusion does not apply to rental or investment properties.

Real Estate Investment Property

  • Gains on investment property are taxable, but you can defer them using a 1031 exchange (like-kind exchange).
  • Depreciation recapture tax (25%) applies to properties where depreciation was claimed.

Step-by-Step Guide to Reporting Stock and Real Estate Sales on IRS Form 1040

Step 1: Gather Your Tax Forms

  • Form 1099-B for stock sales.
  • Form 1099-S for real estate sales.
  • Closing statements for real estate transactions.

Step 2: Report Stock Sales on Form 8949

  • Enter purchase date, sale date, purchase price, and sale price.
  • Determine short-term or long-term status.

Step 3: Report Real Estate Sales on Form 8949 or Form 4797

  • If primary residence, calculate exclusion eligibility.
  • If investment property, report depreciation recapture.

Step 4: Summarize Gains and Losses on Schedule D

  • Combine all capital gains and losses.
  • Apply carryover losses if available.

Step 5: Report on IRS Form 1040

  • Line 7 of Form 1040 – Enter net capital gains from Schedule D.

Step 6: File Your Tax Return

  • Attach Form 8949, Schedule D, and any other required forms.

Example Scenarios for Stock and Real Estate Sales Taxation

Example 1: Short-Term Stock Gain

  • David bought 100 shares of Apple at $120 and sold them at $150 after 6 months.
  • His short-term capital gain is $3,000, taxed at his ordinary income rate (22%).

Example 2: Long-Term Real Estate Gain with Exclusion

  • Lisa sold her primary residence for $500,000 after purchasing it for $200,000 and living there for 4 years.
  • She qualifies for the $250,000 home sale exclusion, so only $50,000 of the $300,000 gain is taxable.

Example 3: Investment Property with Depreciation Recapture

  • Mark sold a rental property for $400,000 after claiming $50,000 in depreciation.
  • He pays 25% depreciation recapture tax on the $50,000 and capital gains tax on the remaining gain.

Common Mistakes to Avoid

  • Misreporting stock cost basis – Brokers track cost basis, but always verify your purchase price.
  • Not applying home sale exclusions – Only primary residences qualify.
  • Forgetting depreciation recapture on investment property – The IRS taxes recaptured depreciation at 25%.

IRS Compliance Requirements

  • Report all stock and real estate sales on Form 8949 and Schedule D.
  • Calculate gains and losses correctly based on holding period.
  • File Form 4797 for business real estate sales.

Conclusion

Selling stocks or real estate triggers capital gains taxes, but proper reporting ensures compliance and minimizes tax liability. Understanding exclusions, depreciation recapture, and investment property taxation is crucial for accurate reporting.

For expert tax guidance on capital gains reporting, consult Anshul Goyal, CPA EA FCA, a Certified Public Accountant and IRS compliance expert.

FAQs

1. How are capital gains from stocks taxed?
Short-term gains are taxed as ordinary income, while long-term gains receive lower tax rates.

2. Do I have to pay taxes if I sell my home?
If you qualify for the home sale exclusion, up to $250,000 ($500,000 for married couples) of gain is tax-free.

3. What is depreciation recapture?
It is the IRS taxing previously claimed depreciation deductions at 25% when selling rental property.

4. Where do I report capital gains on Form 1040?
Report gains on Line 7 after completing Form 8949 and Schedule D.

5. What happens if I don’t report stock or real estate sales?
The IRS receives copies of Form 1099-B and 1099-S. Failing to report can lead to penalties.

About Our CPA

Anshul Goyal, CPA EA FCA, is a Certified Public Accountant and IRS compliance expert specializing in investment taxation, capital gains reporting, and real estate transactions.

For personalized tax assistance, schedule a consultation with Anshul Goyal, CPA EA FCA today.

Leave a Reply

Your email address will not be published. Required fields are marked *

Download Profile


Enter your email address to download our firm profile now.
We value your privacy and promise to keep your information secure.
[sibwp_form id=1]

This will close in 0 seconds

File your tax returns with us NOW!


    This will close in 0 seconds