Tax Loss Harvesting Explained: A Beginner’s Guide

Ready to Start Investing in Stocks?

Done reading about the stock market? Put your knowledge into action. We tested and ranked the best investing apps for beginners — find out which one fits your goals.

See Our Top Investing App Picks →

Tax-Loss Harvesting Explained: A Beginner’s Guide

Last updated: August 2026

This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. See our Affiliate Disclosure for details.

If you’ve ever opened your brokerage app, seen an investment in the red, and felt a little sick — here’s a reframe. That paper loss can be worth real money at tax time. The strategy that makes that happen is called tax-loss harvesting, and while the name sounds like something only a CPA would touch, the core idea is simple enough to explain in a sentence.

This guide covers what tax-loss harvesting is, exactly how it saves you money, the one IRS rule that trips up beginners (the wash-sale rule), which accounts it works in, and how to actually do it — by hand or automatically. No jargon without a definition.

What is tax-loss harvesting?

Tax-loss harvesting is selling an investment that has dropped in value so you can use that loss to lower your tax bill. That’s it. You “harvest” the loss on purpose, then typically reinvest the money into something similar so you stay in the market.

Here’s why it works. When you sell an investment in a regular (taxable) brokerage account, the IRS cares about your capital gain or loss — the difference between what you paid and what you sold it for. Gains are taxable. Losses can be subtracted from those gains. So if you have a $2,000 gain on one stock and a $2,000 loss on another, selling both leaves you with a net gain of $0 — and no tax on that trade.

The key word is realized. A loss on paper does nothing for your taxes. You only get the tax benefit once you actually sell and lock in (“realize”) the loss.

How tax-loss harvesting actually saves you money

There are two ways a harvested loss helps you, and they happen in this order.

1. Losses cancel out capital gains

Your realized losses first offset your realized capital gains, dollar for dollar. The IRS matches them by type first:

  • Short-term losses (investments held one year or less) offset short-term gains first.
  • Long-term losses (held more than one year) offset long-term gains first.
  • Any leftover of one type then offsets the other type.

This ordering matters because short-term gains are generally taxed at your ordinary income tax rate — the same rate as your paycheck — while long-term gains get lower rates. Wiping out a short-term gain is usually the more valuable outcome.

2. Up to $3,000 comes off your ordinary income

If your losses are bigger than your gains, you can use up to $3,000 of the leftover loss to reduce your ordinary income (your salary, basically) each year. This limit has been $3,000 for years and applies to most individual filers.

Say you had no gains at all this year but realized a $3,000 loss. You could deduct that full $3,000 from your taxable income. If you’re in, say, the 22% federal bracket, that’s roughly $660 back in your pocket — for a loss you were going to be sitting on anyway.

3. Anything left over carries forward — forever

Realized a $10,000 loss with no gains to offset? You use $3,000 this year, and the remaining $7,000 carries forward to future tax years. There’s no expiration date. You keep applying it — against future gains, then $3,000 of income per year — until it’s used up.

This is why big down years aren’t a total loss for disciplined investors: a large harvested loss can quietly shelter gains for years to come.

The one rule that trips up beginners: the wash-sale rule

Here’s the catch that keeps this from being a free lunch. The IRS doesn’t want you selling something just for the tax break and instantly buying it right back. So they made the wash-sale rule.

The wash-sale rule: if you sell an investment at a loss and buy the same or a “substantially identical” investment within 30 days before or after the sale, the IRS disallows the loss. You don’t get to claim it (it gets added to the cost basis of the new shares instead).

That’s a 61-day window total: 30 days before the sale, the day of, and 30 days after. A few things beginners miss:

  • It applies across all your accounts, including your spouse’s and your IRA. Selling at a loss in your brokerage and rebuying in your IRA still triggers it.
  • Automatic dividend reinvestment can accidentally trigger it — a small reinvested purchase within the window counts.
  • It’s about “substantially identical” securities, not your whole portfolio. Selling one S&P 500 fund and buying a different fund that tracks a different index is generally fine.

How to harvest a loss and stay invested

The usual workaround: sell the losing fund, then immediately buy a similar-but-not-identical fund so you keep your market exposure without violating the rule. For example, you might sell an S&P 500 index fund at a loss and buy a total-market fund, or swap between two providers’ funds that track different indexes.

If you’re fuzzy on the difference between these fund types, our guide on index funds vs. ETFs explains what’s actually “substantially identical” and what isn’t. When in doubt, a quick check with a tax professional is cheap insurance — “substantially identical” is not perfectly defined by the IRS, so there’s some judgment involved.

Which accounts tax-loss harvesting works in

This is the part people get wrong most often, so it’s worth being blunt:

Tax-loss harvesting only works in a taxable brokerage account. It does nothing in a tax-advantaged retirement account.

Why? In a traditional IRA or 401(k), you don’t pay capital gains tax on trades in the first place — so there’s no gain to offset. In a Roth IRA, growth is tax-free, so again, no capital gains tax to reduce. Harvesting a loss inside these accounts gets you nothing, because the whole account is already shielded from capital gains tax.

If the difference between account types is still fuzzy, our traditional IRA vs. Roth IRA breakdown covers how each one is taxed. The short version: harvest losses in your regular brokerage account, and leave your IRAs and 401(k) alone.

Step-by-step: how to harvest a loss by hand

If you want to do this yourself in a taxable account, here’s the general process. (This is educational, not tax advice — everyone’s situation differs.)

  1. Review your taxable account for positions in the red. Look at unrealized losses, not your overall portfolio. Most brokerages show gain/loss per position.
  2. Check the calendar against the wash-sale window. Make sure you haven’t bought that same investment in the last 30 days, and don’t plan to for the next 30.
  3. Turn off automatic dividend reinvestment for that position first, so a small reinvestment doesn’t accidentally trip the rule.
  4. Sell the losing position to realize the loss.
  5. Immediately buy a similar-but-not-identical replacement so you stay invested (see the wash-sale section above).
  6. Keep the records. Your brokerage sends a Form 1099-B, and losses are reported on Schedule D and Form 8949. Save your confirmations.
  7. Wait at least 31 days before buying the original investment back, if you want to return to it.

Most people do this near year-end (often called “December tax-loss selling”), but you can harvest any time the opportunity appears — sharp market dips can create good harvesting windows mid-year.

The easier option: let a robo-advisor do it

Doing this by hand — tracking every position, dodging wash sales across accounts, finding replacement funds — is fiddly. That’s exactly why automated tax-loss harvesting became one of the headline features of robo-advisors.

Services like Wealthfront and Betterment scan your taxable account daily and harvest losses automatically, handling the replacement-fund swap and wash-sale avoidance for you. It runs quietly in the background. (Note: this only matters for taxable accounts — and some providers only enable it above a certain balance, so check the fine print.)

If you’d rather not manage this yourself, see our comparison of the best robo-advisors for beginners — automated tax-loss harvesting is one of the specific features we compare, along with fees and account minimums. For a hands-off investor, having the software handle harvesting can quietly add up over the years.

Is tax-loss harvesting worth it?

For most beginners with small taxable balances, the benefit is modest — a few hundred dollars in a given year, at most. It becomes more valuable as your taxable account grows and as you have real capital gains to offset. A few honest caveats:

  • It’s a tax deferral, not always a tax elimination. Buying a replacement fund lowers your cost basis, which can mean a larger gain later. The benefit is real but often smaller than it first looks.
  • Don’t let the tax tail wag the dog. Never sell a good long-term investment purely for a tax break if it messes up your plan.
  • It’s irrelevant if you only invest in retirement accounts. No taxable account, no harvesting.

Used sensibly, though, it’s a legitimate way to make a down market do a little work for you — especially if it’s automated and you barely have to think about it.

Frequently asked questions

Does tax-loss harvesting work in a Roth IRA or 401(k)?
No. Those accounts don’t owe capital gains tax on trades, so there’s nothing to offset. Tax-loss harvesting only helps in a regular taxable brokerage account.

What is the $3,000 rule?
If your realized losses exceed your realized gains, you can deduct up to $3,000 of the excess loss against your ordinary income each year. Anything beyond $3,000 carries forward to future years with no expiration.

What is the wash-sale rule in simple terms?
If you sell an investment at a loss and buy the same or a “substantially identical” one within 30 days before or after, the IRS won’t let you claim that loss for now. The fix is to buy a similar-but-different investment instead, or wait 31 days.

When is the best time to harvest losses?
Many investors do it near year-end to plan around their annual taxes, but you can harvest any time you have a meaningful loss — market dips during the year often create good opportunities.

What’s the best book to understand investment taxes as a beginner?
For a plain-English overview of taxes overall, J.K. Lasser’s Your Income Tax is a well-known annual reference. For taxes in the context of a full investing plan, The Bogleheads’ Guide to Investing and JL Collins’s The Simple Path to Wealth are friendlier starting points.

Do I need an accountant to do this?
Not necessarily for simple cases, but because “substantially identical” is a judgment call and mistakes can cost you the deduction, checking with a tax professional before a large harvest is a smart, low-cost move. This article is educational and not personalized tax advice.

This page may contain affiliate links. This website may contain content that comes from Amazon. This website and its pages are not intended to constitute legal, financial, or tax advice. The information on this website and its pages are not intended to constitute investment advice and all content are the views and opinions of the author(s), contributors, or administrators. Please read our disclaimer for more info.

BiggerInvesting.com may contain affiliate links. We may earn a commission if you click on these links and make a purchase, at no additional cost to you. However, we cannot be held responsible for any fraudulent or misleading products or services promoted through these links. It is important to exercise due diligence and research before making any purchase.

Best Books by Bill Gates

Best Books by Bill Gates

ill Gates is among the youngest self-made billionaires in the world. His net worth was estimated to be US$92.7 billion, as of March 2013. He has donated more than US$27 billion to various charitable organizations over his lifetime, primarily via...

read more
What is Velocity Banking? [Infographic]

What is Velocity Banking? [Infographic]

What is velocity banking? Velocity Banking — also known as the “HELOC Strategy” — is a personal finance approach and a type of banking that uses a home equity line of credit (HELOC) to leverage disposable income to pay down your primary mortgage while saving the...

read more
What is FedNow Service?

What is FedNow Service?

What is FedNow? In today's fast-paced digital age, where instant communication and on-demand services have become the norm, the Federal Reserve is stepping up to revolutionize how we make payments. Enter FedNow, a cutting-edge real-time payment system with the aim of...

read more
What is Career Development Stages?

What is Career Development Stages?

areer development is the process by which employees grow and reach their potential over time. It can be challenging to maintain peak performance, especially as an employee navigates different projects and milestones in their career. Career...

read more
What are Career Development Skills?

What are Career Development Skills?

veryone wants to land a job they love and is passionate about. But most people find it challenging to get a job that aligns with their career goals. In fact, the skills gap is one of the biggest issues when it comes to hiring and retaining quality...

read more
What is the Hardest Job on Earth?

What is the Hardest Job on Earth?

verybody has to work at some point in their life. It is fair to say that some jobs are harder than others, but which ones exactly? There are many different fields of work, from healthcare and education to sales and construction. Each job will have...

read more
What Easy Jobs Make 100K a Year?

What Easy Jobs Make 100K a Year?

ne of the most common questions about jobs that pay well is “How can I get a job like that?” But what you may not realize is that getting a job like that isn’t always as easy as it seems. Becoming an engineer or a surgeon, for example, takes years...

read more
What is a Fun Career?

What is a Fun Career?

here are so many career options out there, that it can be hard to know where to start. When looking for a new job, you might find yourself asking things like “What kind of career should I have?” or “What is a fun job?” But what exactly makes a...

read more
What Is The Easiest Well-Paying Job?

What Is The Easiest Well-Paying Job?

here are plenty of jobs that pay well, but many of them require extensive training, education, and experience. Unless you have a group of specialized skills or a lot of time to invest in training, it can be difficult to find a well-paying job...

read more
What are Good Careers to Change?

What are Good Careers to Change?

hile there are people who lead happy and fulfilling lives without ever changing their jobs, there are others who feel an itch that needs to be scratched. They may love the work they do, but they’re not satisfied with where they are in their...

read more
What is the Best Career to Retrain For?

What is the Best Career to Retrain For?

ou’ve passed 35 and decided to re-train. But what do you do next? You’re not fresh out of high school, nor are you able to go back to college again. That leaves you with a limited set of options when it comes to retraining. So, what should you do...

read more
How Do I Start a New Career at 35?

How Do I Start a New Career at 35?

eing in your mid-30s and feeling stuck in your career is a very common problem. You might have been waiting for the perfect opportunity to come along, or you might have felt like something was missing from your life for a while. Whatever the case...

read more
What is World Without Waste?

What is World Without Waste?

FDA, or the Council of Fashion Designers of America, is the main organization representing and supporting the fashion industry in the United States. Every year, they host the CFDA Awards. The CFDA Awards are the fashion industry’s top accolade....

read more
Is Zara Greenwashing?

Is Zara Greenwashing?

FDA, or the Council of Fashion Designers of America, is the main organization representing and supporting the fashion industry in the United States. Every year, they host the CFDA Awards. The CFDA Awards are the fashion industry’s top accolade....

read more
Is Greenwashing a Crime?

Is Greenwashing a Crime?

he term “greenwash” refers to the efforts of companies to appear environmentally friendly without actually doing anything to improve the environmental sustainability of their operations. That’s not the sort of thing that a company would want the...

read more
Who Created Greenwashing?

Who Created Greenwashing?

reenwashing is the act of a company marketing itself as environmentally friendly when in reality, it is not. It is often a method used by companies to hide the negative effects their products have on the environment. It’s a deceptive practice that...

read more
Why Do Companies Greenwash?

Why Do Companies Greenwash?

‍he concept of a sustainable lifestyle is all the rage these days. Virtually every article, blog post, and news story you’ll read about sustainable living inevitably touches on the topic of sustainability. And with good reason. A...

read more
Is Eco-Friendly?

Is Eco-Friendly?

he past few years have witnessed a sea change in the global consciousness about the environment. People are now more conscious of the impact of their actions and choices on the environment. At the same time, the green movement has also become a...

read more
Where Can I Read Sustainability?

Where Can I Read Sustainability?

nterest in sustainability is higher than ever. That’s because it is becoming a more common topic of conversation. More people are joining the movement to live more sustainable, green lifestyles. With this increase in interest, you can find almost...

read more
Why is Sustainable Living Important?

Why is Sustainable Living Important?

ccording to the U.S. Environmental Protection Agency, sustainability is the ability to provide for the needs and wants of current and future generations. Living sustainably is a concept that’s gaining more and more popularity and acceptance across...

read more
What are the 4 types of Planning?

What are the 4 types of Planning?

he first step to business success is to decide how to define success for the company. In many cases, businesses aren't clear on what exactly they want to achieve, and this can lead to confusion as well as frustration when goals are not met....

read more
What do you Mean Planning?

What do you Mean Planning?

lanning is all about decisions. There are lots of them, they happen every day, and each one has the potential to affect the future in some way. We should be good at making good decisions and we can't always be good at that. Planning helps us get...

read more
What are Some Types of Systems?

What are Some Types of Systems?

 system is a collection of parts that work together to achieve a common goal. Systems can be physical or open, probabilistic or deterministic, and man-made or natural systems. Best Books on Systems and Planning What is a system? The term ‘system’...

read more
What is a System Selection Report?

What is a System Selection Report?

 system selection report (SSR) is a graphical report that helps you select the best systems for your business. An SSR is a vital tool for system administrators and decision-makers. It provides a snapshot of the state of your system, including the...

read more
What is a System Plan?

What is a System Plan?

 system plan is a critical input to the design phase, which focuses on selecting the right hardware and software components, determining how they will be configured, and identifying security and management requirements. Best Books on Systems and...

read more
What is Sustainability in Farming?

What is Sustainability in Farming?

ustainability is an approach to the environment that seeks to meet human needs without depleting or degrading the environment. It’s a process of caring for and making choices that are sustainable from a human and environmental perspective. The...

read more
What Makes Something Sustainable?

What Makes Something Sustainable?

ustainability is a term used to describe something that is able to provide for its own needs and keep going without compromising the ability of future generations to meet their own needs. That’s a lot to think about! If you want to know if...

read more
What is Towards a Sustainable World?

What is Towards a Sustainable World?

n order to build a sustainable world, it is important to take the right steps. This article will cover those steps and why they are important. It will also cover the importance of sustainability and humanity’s destructive behaviors. Best Books on...

read more
What Makes a Sustainable Future?

What Makes a Sustainable Future?

hat does a sustainable future look like? It's hard to predict the future, but we can make educated guesses. A sustainable future will include a combination of social and environmental factors that are not detrimental to the next generation. Best...

read more
Is Sustainable Living Expensive?

Is Sustainable Living Expensive?

any people think sustainable living is expensive. However, there are many things that can be done to save money while living sustainably. Organic produce and using cloth diapers are two examples that are less expensive than buying the same item in...

read more
What is System Planning?

What is System Planning?

What Is System Planning?  system plan is a planning tool that helps you understand your business and its parts. By creating a system plan, you can improve efficiency and effectiveness in your business. In addition, a system plan can help you...

read more
What is System Planning in MIS?

What is System Planning in MIS?

n this comprehensive guide, you will learn about the different aspects of system planning in MIS, how it can be used to improve your organization's performance, and how it can be used to understand your data and assets. Best Books on Task...

read more
What is the Role of System Planning?

What is the Role of System Planning?

ask management tools are a type of software used to manage and track tasks. They can be used for any purpose, such as scheduling and tracking work, but they are most commonly used in the business world. Task management tools come in different...

read more
How Do You Track Tasks at Work?

How Do You Track Tasks at Work?

racking tasks at work is a great way to get things done. Not only does it help you stay organized, but it also helps you identify potential problems and solutions early on. In this guide, we’ll discuss the best ways to track tasks and get started....

read more
How Do You Manage a Team Task?

How Do You Manage a Team Task?

Managing a team is one of the most important skills you can have as an entrepreneur. When it comes to managing a team, there are a few things that you should keep in mind. Here are some tips on how to manage a team task successfully: Best Books on...

read more
How Do You Handle Tasks?

How Do You Handle Tasks?

andling tasks better are important for both personal and professional success. It can help you get things done more quickly, and it can help you feel more satisfied with your work. However, there are a few key things to keep in mind when handling...

read more
How do you Approach a Task Manager?

How do you Approach a Task Manager?

o one likes a hassle. That’s why it’s important to find the right task manager before you even start working on your project. Task managers make it simple and efficient for you to complete your projects, without having to worry about tedious or...

read more
What are the 3 Project Control Methods?

What are the 3 Project Control Methods?

n order to achieve great results, it’s important to have a clear goal. Whether it’s getting into shape, increasing your productivity, or becoming more successful in life, setting goals is key. However, setting goals can be difficult. There are so...

read more
Is Wind Energy Sustainable?

Is Wind Energy Sustainable?

ind energy is often touted as a sustainable energy source. It’s efficient and cheap, and it doesn’t produce any emissions. But can wind energy really be sustainable? In this comprehensive guide, we answer the question: Is wind a sustainable energy...

read more
Why Green Energy is Sustainable?

Why Green Energy is Sustainable?

reen energy is sustainable because it’s cost-effective, it emits no pollutants, and it’s environmentally friendly. To be sustainable, green energy needs to be affordable, reliable, and clean. Here are some of the reasons why green energy is a...

read more
What is the Greenest Energy Source?

What is the Greenest Energy Source?

he term “green energy” has become a popular catchphrase, especially in recent years. However, when you actually think about it, most people would probably answer that wind or solar power is the greenest form of energy. After all, these are...

read more
Is Self-Sustaining Energy Possible?

Is Self-Sustaining Energy Possible?

ave you ever heard of self-sustaining energy? It’s a phrase that’s been around for a while, but it recently got a lot of attention because of Tesla’s new car. In order for a car to run on its own power, it needs to be fueled by something other...

read more
What is the Idea of Sustainability?

What is the Idea of Sustainability?

ustainability isn't just a big word that everybody likes to use. It's about making sure you're doing things right in a sustainable way. Starting from a pure eco-systems concept in the 1970s and in the World Conservation Strategy, it transformed...

read more

Get Smarter About Money

Join our free weekly newsletter for investing tips, book recommendations, and strategies to grow your wealth.