Old systems

What legacy software is, in practice

Legacy software is a system your team can no longer change with confidence. Its age matters less than you might think.

By the duyan team · Updated · 3 min read

Old systems

In short

  • Legacy software is a system your team can't change with confidence.
  • It usually still works, and often runs something important.
  • Missing tests and missing people make a system legacy faster than age does.
  • You can spot it by how long a small change takes, and who can make it.

What the term means

Legacy software is a system your team can't change with confidence. It still runs, often something important, but each change feels like a gamble.

The word sounds like "old", yet age is a poor test. A two⁠-⁠year⁠-⁠old app is legacy if its builder left and nobody understands it.

A thirty⁠-⁠year⁠-⁠old system can be in good health. That takes tests, and people who still know it.

Where the confidence goes

Michael Feathers wrote the standard book on working with such code, in 2004. His working definition is simple: legacy code is code without tests.

Tests are small programs that check the system still does what it should. Without them, nobody knows what a change broke until a customer finds it.

Other causes add to the problem:

  • The people who built it have left, and what they knew left with them.
  • It runs on a language, framework or operating system that no longer gets security fixes.
  • Nobody wrote down what it does, or why.
  • It's tangled, so a change in one place breaks something far away.

Why companies keep it

Legacy systems survive because they work. They hold years of unwritten rules, such as one customer's discount or the report your accountant expects.

Large organisations live with this too. In July 2025, the US Government Accountability Office named 11 federal systems most in need of modernising.

They were 23 to 60 years old. Eight used outdated programming languages, and seven ran with known security weaknesses.

What it means for a buyer

The cost shows up as slowness and fear. Small changes take weeks, so releases get rarer and requests pile up.

The risk grows quietly. Security fixes stop when a framework reaches its end of life.

The business also comes to depend on one person's memory.

Calling a system legacy doesn't mean it must go. Often the best move is to add tests around it, write down how it works and keep it.

Common mix⁠-⁠ups

  • Old and legacy. Old code with good tests and people who know it is easy to change. New code without either can be legacy within a year.
  • Legacy and broken. Most legacy systems work fine from day to day. The risk sits in changing them.
  • Legacy and technical debt. Debt is the shortcuts inside the code. Enough of it, left alone, is one way a system becomes legacy.

What to ask or check

You can ask these questions without reading any code:

  • How long did the last small change take, from request to live?
  • Who can make a change today, and what happens if they leave?
  • Are there automated tests, and do they run before each release?
  • Which versions of its language, framework and operating system does it use, and are they still supported?
  • When did someone last restore a backup to prove it works?

If the answers are vague, the system is legacy, whatever its age. The next step is a written map of what it does, before anyone decides to replace it.

Start with the map

We map what the old code does, then move it one part at a time while it keeps running.

Sources

  1. Michael C. Feathers, "Working Effectively with Legacy Code" (Prentice Hall, 2004), preface, oreilly.com (accessed 5 November 2026)
  2. US Government Accountability Office, "Information Technology: Agencies Need to Plan for Modernizing Critical Decades⁠-⁠Old Legacy Systems", GAO-25-107795, 17 July 2025, gao.gov (accessed 5 November 2026)

Tell us the job

Bring a job to build or a role to fill. We reply within one working day, with questions or a next step.