How do I keep engineers motivated and stop my best ones leaving?
Keep engineers by giving them meaningful problems, a manager who notices them, autonomy over how they work, fair pay, and a visible path to grow. Pay alone rarely retains people, but underpaying will lose them. Talk to your best engineers every month about what would make them leave, rather than waiting for a resignation.
Dave Brown · CTO & Executive Advisor · Updated
People rarely leave a job for a single reason. They leave when the total picture tips: the work is dull, the manager is absent, the pay lags the market, and a recruiter message arrives on a bad Tuesday. Your job is to keep that picture healthy before the message arrives.
What actually motivates engineers?
Four things come up again and again:
- Real problems. Engineers want to solve something hard that matters to customers, not move tickets.
- Autonomy. They want to decide how to solve a problem, within clear goals.
- Mastery. They want to get better and work with people who are better than them.
- Purpose. They want to see that the work gets used.
Free snacks, ping-pong tables and surprise bonuses do not substitute for these. A bonus feels nice for a month. A year of working on a codebase nobody will let you fix lasts longer.
Why do the best ones leave?
Usually for one of these:
| Reason | What it looks like |
|---|---|
| Stuck growth | Same title and work for 2 or more years |
| Bad manager or none | No feedback, no advocacy, no one noticing |
| Dysfunction | Priorities flip, work is canceled, technical debt ignored |
| Pay gap | Market moved and nobody adjusted |
| Carrying the team | Top performers stuck fixing others' problems |
The last one is easy to miss. Your best engineers often absorb the hardest work and the extra reviews, and nobody notices until they burn out.
What should I do monthly?
Have a 30-minute conversation with each top engineer, directly or through their manager, and ask:
- What is frustrating you right now?
- What would you like to be doing in a year?
- If you were offered another job tomorrow, what would make you say yes?
The third question is uncomfortable and extremely useful. You learn the real list while you still have time to act. Then act on at least one item quickly. Asking and doing nothing is worse than not asking.
How should I handle pay?
Check pay against the market once a year. If a top performer is more than 10 to 15 percent below what a new hire would cost, fix it before they discover it. Counteroffers after a resignation work poorly: the person has already decided to leave, and trust is damaged. Fixing pay proactively costs less than replacing them, which is typically 6 to 12 months of salary once you count recruiting, ramp-up and lost momentum.
What does a good environment look like?
Clear priorities that stay put for a few weeks. Reasonable on-call. Time to clean up code. Decisions explained, not just announced. Credit given publicly. Bad behavior from a high performer addressed, because good engineers leave when brilliant jerks are tolerated.
What if I cannot match big-company pay?
You do not need to. Compete on scope, speed of growth, closeness to customers and equity that means something. Be honest about the equity: explain how it works and what it might be worth, without hype. Engineers at small companies often accept lower cash for more ownership, but only if the work really delivers it.
What I'd do
List your five best engineers and write down, for each, what would make them leave. Then have the monthly conversations and fix the cheapest, fastest items first, usually career path clarity and pay. Retention is mostly attention, and attention is cheap compared with a replacement.
Where I come in. If this is a decision in front of you right now, it’s the kind of thing I help with through Engineering Organization & Leadership. Often begins with a short diagnostic phase, followed by ongoing advising through implementation.