Development Basics

What Is Lean Software Development?

What Is Lean Software Development?

Most of lean software development comes down to one number, which is how long a request takes to become working software. The approach applies lean manufacturing principles to cut waste along that path.

It descends from the Toyota Production System. Speed here means flow, so teams watch how quickly work moves from request to delivery, not how busy everyone looks.

Most sources credit the term to Mary and Tom Poppendieck’s 2003 book, which set out seven principles and 22 tools. Microsoft’s Visual Studio 2013 documentation dates it earlier. According to that documentation, the phrase first served as the title of a European Union ESPRIT conference in Stuttgart in October 1992.

What is lean software development?

Lean takes ideas from lean manufacturing and carries them across the software lifecycle. The aim is software that meets organizational needs quickly, with the attention on value and flow, and on the teams doing the work.

It sets principles, not a process. David J. Anderson, writing in Microsoft’s Visual Studio documentation, states that there is no specific lean software development method or process, and that lean does not prescribe any practices.

That sets lean apart from most structured development methodologies, which hand a team fixed roles and meetings, plus a list of required artifacts. Lean hands over a test for each step instead. Does it add customer value, or does it only add work?

Lean isn’t a defined method like Scrum or Extreme Programming (Feature-Driven Development falls in the same bucket). It also isn’t a manufacturing procedure pasted onto code, and it gives nobody permission to skip testing, since tests that prevent defects add value.

Where does lean software development come from?

Most people trace the term to the 2003 book Lean Software Development: An Agile Toolkit by Mary and Tom Poppendieck. The ideas under it are older, and they were worked out at Toyota.

From Toyota to software

The Lean Enterprise Institute describes Taiichi Ohno as the Toyota executive widely credited as the chief architect of the Toyota Production System. It rests on two ideas.

Just-in-time means making what is needed in the amount needed, and not before it is needed. Jidoka, the other one, is described on Toyota’s own site as “automation with a human touch.”

The Poppendiecks’ book restated lean principles for software and added a set of 22 tools, each compared with a corresponding agile practice. A second book, Implementing Lean Software Development: From Concept to Cash, followed from Addison-Wesley in 2006.

Earlier uses of the term

Most pages date the term to 2003. Microsoft’s documentation says otherwise. It was first used as the title of a conference organized by the European Union’s ESPRIT initiative in Stuttgart in October 1992, and Bob Charette independently suggested the concept in 1993 while studying risk in software projects.

So the phrase predates the Poppendiecks by about 11 years. What the 2003 book added was the codified principles and tools.

Laid out by date, the ESPRIT conference title came in 1992 (Stuttgart) and Charette’s risk-management concept in 1993. The Poppendieck book with its 22 tools arrived in 2003, and its sequel, Implementing Lean Software Development, in 2006.

In between, seventeen people met at Snowbird, Utah, on February 11 to 13, 2001, and produced the Agile Manifesto, according to the history page on agilemanifesto.org. By the time the Poppendiecks published, agile methods already had a public manifesto, and lean entered the field through that community.

What are the principles of lean software development?

YouTube player

In the 2003 wording the principles run eliminate waste, amplify learning, decide as late as possible, deliver as fast as possible, empower the team, build integrity in, and see the whole.

2003 wording2006 wordingMeaning in software
Eliminate wasteEliminate wasteDrop work that adds no customer value
Amplify learningCreate knowledgeShort feedback loops, working code shown early
Decide as late as possibleDefer commitmentKeep options open until facts exist
Deliver as fast as possibleDeliver fastSmall batches, short cycle time
Empower the teamRespect peopleThe team owns how the work gets done
Build integrity inBuild quality inQuality is produced while coding, not inspected after
See the wholeOptimize the wholeImprove the full value stream, not one stage

Rows are matched by meaning, not by order. The 2006 excerpt on InfoQ puts build quality in second and create knowledge third, with optimize the whole at the end, and DZone words that last principle as assess the whole. Names drift between sources, so check which edition a given article is quoting.

Decide as late as possible

Early decisions are guesses. The longer a team waits, the more facts it has.

Lean teams hold off on architecture and scope (vendor choices too) until a choice is forced, then commit with real information.

Fixed-scope contracts force every decision up front, which leaves this principle little room to work.

Build integrity in

Quality gets produced while the code is written. Inspection at the end only finds what already went wrong.

Test-first work is the usual starting point, because writing the test before the code means every change arrives with a check. Then there’s merging small changes into shared code several times a day, which brings integration problems to the surface within hours.

Tests are a means to fewer defects, not a goal. Wikipedia’s summary of the method notes that automated tests count as waste when they add no value.

Deliver as fast as possible

Speed here doesn’t mean rushing.

Wikipedia’s summary also calls “haste makes waste” a myth, because shipping quickly lets a team see and analyze its output sooner. Short delivery cycles shorten the feedback loop, which is where amplify learning gets its raw material.

Which wastes does lean target in software work?

YouTube player

Partially done work, extra features, relearning, handoffs, delays, task switching and defects make up lean’s list of software wastes, translated from the seven manufacturing ones. The Poppendiecks single out extra features as a major one, alongside churn and crossing organizational boundaries.

WasteWhat it looks likeSignal on the board
Partially done workBranches and tickets started, not shippedMany items in progress, few done
Extra featuresFunctionality nobody asked forFeatures with almost no usage
RelearningRediscovering what the team already knewSame bug diagnosed twice
HandoffsKnowledge passed between roles or teamsTickets bouncing between queues
DelaysWork waiting on review, approval or an environmentLong idle time between states
Task switchingOne person split across projectsSeveral open items per person
DefectsBugs found after releaseReopened and rework tickets

The mapping back to manufacturing is partial. Inventory becomes partially done work and overproduction becomes extra features. Waiting turns into delays.

Sources also disagree on the exact seven. Wikipedia’s table keeps extra processes and motion, while the 2006 list, as DZone cites it, swaps in relearning and handoffs. The table above follows the 2006 list.

Extra features

The figure most people quote comes from Jim Johnson of the Standish Group, who told the XP 2002 conference that 45% of the features and functions in software systems are never used and 19% are seldom used. Mountain Goat Software points out that the data came from a study of four internally developed applications, not commercial products.

The Standish CHAOS Manifesto 2013 later put it at 50% of features hardly ever or never used. Two datasets 11 years apart point the same way, but neither is a benchmark for your product. Read them as a direction.

Task switching

Moving between projects costs more than the minutes spent moving.

Gloria Mark, a UC Irvine informatics professor, reports that after an interruption it typically takes 23 minutes and 15 seconds to return to the original work. That figure measures interruption, not planned switching, so it is not a fixed price per switch.

The fix is mostly rules about load. Give each developer one project at a time and cap the items in progress per person.

How does lean differ from agile, Scrum and Kanban?

YouTube player

Lean deals in principles about flow and waste, where agile is a whole family of iterative methods. Scrum is one agile framework, built around fixed sprints and roles. Kanban is a flow method that works by limiting work in progress.

DimensionLeanScrumKanban
ScopeWhole value streamTeam delivery inside sprintsWorkflow of one team or service
CadenceNone prescribedFixed-length sprintsContinuous flow
RolesNone prescribedProduct owner, Scrum Master, developersNone required
Main measureLead time, flow efficiencyVelocity, sprint goalCycle time, WIP
Typical limitLeaves practice choices to the teamUrgent work waits for the next sprintNo built-in review rhythm

Lean and agile

Both aim at higher quality and higher productivity. O’Reilly’s The Art of Lean Software Development says agile mostly concerns the practice of developing software and the project management around it, while lean takes a wider view of the entire business context and treats agile methodologies as valid supporting practices.

Whether lean sits inside agile is disputed. TechTarget calls lean an integral part of the agile methodology, but Anderson’s Microsoft documentation says lean has emerged as its own discipline, related to but not a subset of the agile movement.

It mostly comes down to what you count as lean. Treat it as a set of principles and it reaches past agile. Treat it as one agile approach among several and it sits inside.

For a longer side-by-side, see this comparison of agile and lean development.

Lean and Kanban

Kanban boards are a common feature of lean software teams, used to track work through each stage. The Kanban method boils lean’s flow idea down to two rules. Make the work visible, and cap how much is in progress.

Microsoft’s XIT Sustaining Engineering team shows the effect. Before Kanban, its change requests had an average lead time of five months. Anderson’s own summary of the 2005 results reports a 91% reduction in average lead time.

Nothing stops a Scrum team from borrowing lean’s waste checks or a WIP limit. The methods overlap more than the labels suggest.

Which practices and metrics put lean into action?

A WIP limit, value stream mapping, automated delivery and a handful of flow metrics cover the practical side of lean. Each of them goes after a waste from the earlier list.

WIP limits and pull

The Official Kanban Guide requires members of a Kanban system to explicitly control the number of work items in a workflow from started to finished, commonly with limits on the board called WIP limits. That creates a pull system, where new work enters only when capacity exists.

Little’s Law explains why it works. The average time an item spends in the system rises with the number of items in flight.

Futurice’s engineering blog gives the arithmetic. With 20 tasks in progress at a throughput of four cards a day, the average lead time is 5 days. By the same formula, capping WIP at 12 with the same throughput brings the average down to 3 days.

The formula has conditions. WIP should not swing much between the start and end of the period, and the result is an average, so it cannot forecast one item.

Any board works, from sticky notes to a dedicated Kanban app, as long as the limit is visible on it.

Value stream mapping

Mapping shows where work waits.

DORA’s guide to the technique says the visualization builds shared understanding of the software development process and exposes areas for improvement. For each step, note the process time, meaning the time spent adding value, along with the wait before the next step starts. Also note who hands the work to whom.

Flow efficiency is process time divided by lead time. Microsoft Learn calls that ratio the activity ratio, and TechTarget calls it process cycle efficiency. A low value means work mostly sits in queues, which points at the delays and handoffs wastes.

Delivery automation

Before its rebuild, HP’s LaserJet firmware program kept about 400 developers in a code base of several million lines, and 10% of staffing went to full-time integrators called build bosses, according to the program’s own account in A Practical Approach to Large-Scale Agile Development. The authors say their principles combined lean and agile ideas, among them integrating early and often.

DORA ties continuous delivery to automated, on-demand releases and fast feedback on every change. An automated deployment pipeline is where that happens, since every change goes through the same build and test steps on its way to release.

The catch is that automation speeds up whatever it automates, a slow review queue included.

Flow metrics

MetricWhat it measuresWhere to read it
Lead timeRequest to deliveryBoard timestamps
Cycle timeWork started to work doneBoard timestamps
ThroughputItems finished per weekDone column
Change lead timeCommit to running in productionPipeline data

DORA’s definition of change lead time is the time from a change being committed to version control to being deployed in production. It sorts that metric with deployment frequency and failed deployment recovery time as throughput, and keeps the stability measures apart. The recovery metric was renamed in 2023, replacing the older mean time to recover.

In practice lead time gets reported more than anything else. Kiss and Rossi’s 2018 systematic review of agile-to-lean transformations found it the most reported metric.

Cumulative flow diagrams, introduced by Anderson in 2003, show how much work sits in each state, which makes bottlenecks visible. Petersen and Wohlin used them to track requirements across nine Ericsson subsystems in a case study.

What are the benefits of lean software development?

Kiss and Rossi’s 2018 review of agile-to-lean transformations found that shorter lead time, better flow, continuous improvement and a better defect fix rate are reported most often.

Siemens Health Systems gives a concrete case. Its teams cut delivery cycle time from 71 days to 43 days after starting WIP limits, without adding resources or hours, per an AWS enterprise strategy blog.

On the plus side, smaller batches and fewer queues shorten lead time, and defects get fixed faster. Continuous improvement ends up inside the routine instead of sitting on a separate project list. Lean also imposes few ceremonies, so teams can fit the practice to their context.

The downsides are real too. Adopting lean thinking and teaching the mindset rank among the main reported challenges, and recognizing waste takes practice. Scaling flexibility is another reported challenge. Since lean prescribes no practices, the team designs its own process, which suits some teams and wears on others.

The evidence is thinner than the claims. In a review of lean approaches to large-scale software development, Pernstal, Gorschek and Feldt (2013) found that 76 percent of the papers were non-empirical, and many left out the study design and context and said little about limitations.

Read vendor claims about lean gains as case reports, not benchmarks.

When does lean software development not fit?

Lean struggles when decisions are fixed before work starts or when regulation prescribes the records. It also has little to work with if the team has no say over its own process.

SituationWhy lean strainsWorkable adaptation
Fixed scope and priceNothing is left to deferPhase the contract
Regulated softwareRecords and design controls are mandatoryBuild the records into done criteria
Team without authorityEmpower the team has no effectStart with changes the team controls
Software inside a larger systemFlow stops at the software boundaryMeasure flow across the whole system

Fixed-scope contracts built on a signed requirements specification force exactly the decisions lean wants to defer. Decide as late as possible has no room to work when the document already decided.

Regulated work is where sources disagree. One practitioner guide describes friction because IEC 62304 and FDA design controls lay out their clauses in a logical sequence. Those controls were formerly set out in 21 CFR 820.30. Since the FDA’s Quality Management System Regulation took effect on February 2, 2026, 21 CFR Part 820 incorporates ISO 13485:2016 by reference. AAMI TIR45, whose 2023 edition is the current one, offers guidance on using agile practices in medical device software.

The Johner Institute’s summary of TIR45 sets the conditions. Development runs under a quality management system, and the agile approach must not violate its requirements. The sources split on how much friction, not on whether it can be done.

The practical answer is to treat the software compliance records as output of the process. A clear definition of done is how the quality management requirements get met.

Embedded and system-level work adds another limit. Pernstal and colleagues found lean studies on large software-intensive systems focused mostly on eliminating waste and creating flow, and they proposed extensions to the principles for that setting.

A rough test works here. If a team can’t change the order of work or the batch size, and has no say over what counts as done, lean has nothing to adjust.

How do you start with lean software development?

Pick one team and measure it for four weeks before changing anything, then change one thing at a time. The order matters more than the tooling.

  1. Measure a baseline. AWS suggests tracking a pilot team’s cycle time for four weeks, counting days per item and items completed per month.
  2. Draw the workflow. The Kanban Guide’s Definition of Workflow covers work item definitions, start and finish criteria, states, a method for controlling WIP, explicit policies and a service level expectation.
  3. Set a WIP limit. One common route is to monitor WIP with no limit first, then set limits from the data.
  4. Remove one waste. Pick the one the baseline points to, and leave the rest alone for now.
  5. Review on a fixed cadence. Toyota’s own site describes daily incremental kaizen as the habit behind its system.

How to tell whether it is working

It’s working when lead time falls and failed deployments don’t rise. WIP stays inside the limit, and fewer items sit on the board for weeks.

Drift looks different. Exceptions to the WIP limit become routine, and the board fills with items in progress while few get done. Flow efficiency falls, and reopened tickets and escaped defects climb.

Read speed and stability together. DORA splits its metrics into throughput and instability, so a shorter lead time paired with more failed deployments is not an improvement.

Teams already running DevOps collect most of these numbers from their pipelines. For escaped defects, keep a defect tracking log, so drift shows up in data before it shows up in a retrospective.

Lean Software Development FAQ

What are the 22 tools in the Poppendiecks’ 2003 book?

Practices sorted under the seven principles, each compared with a corresponding agile practice. Under eliminate waste, the first tool is seeing waste and the second is value stream mapping.

Is lean software development the same as lean startup?

No. Lean startup tests a business idea through a build-measure-learn loop built around a minimum viable product.

Lean software development covers how a team builds and delivers, which is a different job. They overlap in practice, since a lean software team may well be the one building that MVP.

How does lean relate to DevOps?

DevOps carries lean’s flow focus into operations. Atlassian describes collaboration between development and operations teams as the key premise of DevOps, aimed at faster, higher-quality software deployment.

DORA’s delivery metrics then measure the result, from change lead time to failed deployment recovery time.

Is lean software development still used today?

Yes, mostly through its practices rather than its name. Microsoft Digital’s engineers track projects on Kanban boards, many built in Azure DevOps, which lets them see project status across time zones.

Which tools support a lean team?

Any board that shows work states and enforces a WIP limit does the job. The Kanban Guide prescribes no visual format, so sticky notes on a wall count, as do Jira and Trello boards.

Deciding Whether Lean Fits Your Team

Lean software development pays off for a team only when its own numbers show it. A four-week baseline of cycle time and throughput is the evidence that counts.

Published results don’t substitute for that baseline. Siemens Health Systems’ drop from 71 days to 43 days is one organization’s outcome, and 76 percent of the papers in Pernstal, Gorschek and Feldt’s review were non-empirical. Only a team’s own data can say whether the same change would work for it.

The price is lower utilization. Limiting WIP means some people carry spare capacity while a bottleneck clears, which is the trade of utilization for flow.

Teams that accept that trade face one more choice, which is how Kanban and Scrum compare in practice.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.