What does greenfield vs brownfield mean in software?
Greenfield and brownfield are the two strategies for a software project: start from scratch or build inside a system already in production, with data and users.
Greenfield and brownfield are the two opposite strategies for a software project: greenfield starts from scratch, on technical ground free of prior constraints, while brownfield builds on top of or inside a system already in production, with its data, its integrations and its active users. Both terms come from construction and urban planning, where greenfield land has never been built on and brownfield land is a previously developed site, often needing remediation before it can be built on again; software borrowed the same image because the difference is analogous, freedom of design against inherited constraints. The choice is never purely technical: it determines risk, time to first value, and who has to live with two systems during the transition. A third path also exists, bluefield, which carries into the new system only the data and processes chosen, rather than all or nothing.
See also: Legacy systemAn application still critical but hard to change: obsolete stack, scarce skills, no support from the original vendor.
The risk is not symmetric
A greenfield project has fewer constraints but also less field evidence: any decision can turn out wrong only months later. Brownfield is the opposite: whoever inherits a legacy system also inherits its technical debt and the workarounds users have learned, things no documentation records. Joel Spolsky argued this back in 2000, in an article that has become a classic: rewriting an existing system from scratch is, in his words, the single worst strategic mistake any software company can make, because old code carries years of silent fixes to real edge cases. His example is Netscape, which rewrote its browser from scratch and went almost three years without a major release: the cost of greenfield often hides in the time spent relearning things the old system already knew. Bluefield is the concrete middle path: a new system is built, but only the data and processes chosen are carried into it. The term is common in SAP S/4HANA migrations, where it names this selective data transition, but the principle applies to any migration.
| Aspect | Greenfield | Brownfield | Bluefield |
|---|---|---|---|
| Starting point | No pre-existing system | Existing system to extend | New, with data and processes chosen from the old |
| Constraints | Minimal, only the domain's own | Inherited data and technical debt | Only what was chosen to carry over |
| Main risk | Relearning, at high cost, what the old system knew | Prolonged coexistence, diverging data | Poorly defined carry-over criterion |
| Time to first value | Long: everything designed from zero | Short per function, long for the whole | Intermediate, scaled to the chosen scope |
| When to choose it | No system worth saving | Too critical for a clean break (see strangler fig pattern) | Only part of the data deserves to survive |
An enterprise example
A distribution SME has a back office written twenty years ago, with order management and accounting intertwined in the same database. A vendor proposes a greenfield rewrite over twelve months, but meanwhile no new function is operational and the company runs the old system in parallel. The brownfield alternative with a strangler fig pattern moves order management first, verified in production, leaving accounting on the existing system. Value arrives in weeks, at the cost of living longer with two aligned systems.
Why it matters for decision makers
The right question is which risk the company can afford: reinventing functions the old system already handled, or living with two systems to keep in sync. Anyone weighing whether to build or buy faces the same question one level up, including when the build goes to a coding agent.
Related terms
- Legacy systemAn application still critical but hard to change: obsolete stack, scarce skills, no support from the original vendor.
- Strangler fig patternThe strangler fig pattern gradually replaces an existing system by moving functionality and requests to a new one while the old system remains operational.
- Technical debtTechnical debt is the potential future cost of expedient software decisions that can make later changes more difficult, expensive, or even impossible.
- Build vs buyBuild vs buy is the choice to develop software, buy it, or combine both approaches, weighing business needs, lifetime costs, skills, and contract terms.
- Vibe codingVibe coding is building software by describing an outcome to AI and accepting the generated code without reading or reviewing it; risk depends on the use case.
If it reminds you of a system nobody dares touch anymore, that is what I put back in order.
See Software Rescue