Dollar-cost averaging gets recommended constantly, usually with the implication that it produces better returns. The research says something more specific: it usually doesn't beat investing a lump sum immediately — but that's not the whole story.
What it actually is
Dollar-cost averaging (DCA) means investing a fixed amount at regular intervals — say, $500 a month — instead of investing a large sum all at once. It's the default approach for most people simply because most people invest out of ongoing income (a paycheck), not a windfall, so it happens automatically for most 401(k) and IRA contributions.
The lump-sum comparison, when you actually have a choice
The question DCA advocates are usually really addressing is different: if you already have a large sum — an inheritance, a bonus, proceeds from a home sale — should you invest it all immediately, or spread it out over months? Historical research on this specific question (not the paycheck-investing question) consistently finds that investing the lump sum immediately outperforms spreading it out roughly two-thirds of the time, because markets rise more often than they fall over any given period, so time in the market usually beats waiting.
So why does DCA still get recommended? Because average expected return isn't the only thing that matters. DCA reduces the risk of investing a large sum right before a downturn, and — just as importantly — it reduces regret. Someone who invests a lump sum right before a 20% drop often panics and sells at the bottom. Someone who spreads the same amount over 6-12 months experiences smaller swings and is statistically more likely to stay invested through volatility. The "better" strategy partly depends on which mistake you're more likely to make.
The version that applies to almost everyone anyway
For the money you invest from your regular paycheck — 401(k) contributions, automatic IRA transfers — you're already dollar-cost averaging by default, and that's the right approach for that money regardless of the lump-sum debate. The actual decision point only comes up when you have a genuine windfall sitting in cash and are deciding how fast to deploy it.
A reasonable middle ground
If a lump sum would represent a large jump in your total invested assets and the idea of investing it all at once genuinely makes you anxious enough that you might not follow through, splitting it across 3-6 months is a defensible compromise — you give up a small amount of expected return in exchange for a meaningfully lower chance of panic-selling during your first downturn. If you can stomach investing it all at once and leaving it alone, the math favors doing exactly that.
This is general information, not personalized investment advice. Your specific time horizon, risk tolerance, and existing portfolio should inform this decision — a fee-only financial advisor can help apply this to your situation.