Software development life cycle (SDLC)
A worked example to adapt. Rename steps, add branches and owners to match how your team actually works.
Mermaid source for this diagram
flowchart TD
s(["Idea or change request"])
plan["Plan: scope, cost, schedule"]
req["Requirements: user needs and acceptance criteria"]
d1{"Requirements signed off?"}
des["Design: architecture, data, UI"]
dev["Build: code and code review"]
test["Test: unit, integration, user acceptance"]
d2{"Tests pass?"}
dep["Deploy to production"]
mon["Maintain: monitor, fix, improve"]
d3{"New requirement or defect?"}
e(["Retire when no longer needed"])
s --> plan
plan --> req
req --> d1
d1 -->|Yes| des
d1 -->|No| req
des --> dev
dev --> test
test --> d2
d2 -->|Yes| dep
d2 -->|No| dev
dep --> mon
mon --> d3
d3 -->|Yes| plan
d3 -->|No| ePaste into any Markdown tool that renders Mermaid, such as GitHub.
About this software development life cycle flowchart
The software development life cycle (SDLC) is the sequence of phases a piece of software moves through from idea to retirement. Textbooks usually list six or seven: planning, requirements, design, implementation (build), testing, deployment and maintenance. The names vary between sources, but the order and the purpose of each phase are the same.
A plain list hides the most important part, which is what happens when a phase fails its check. This flowchart shows the three gates that matter in practice: requirements must be signed off before design starts, tests must pass before deployment, and every new requirement or defect found in maintenance goes back to planning rather than straight into code.
The diagram works for both waterfall and agile teams. In waterfall, each phase runs once for the whole project. In agile, the same loop runs every sprint for a small slice of work, and the maintain-to-plan arrow is the backlog. Rename the boxes to match your method.
Step by step
- Plan. Decide what is in scope, the rough cost and the schedule, and whether the project is worth doing at all.
- Requirements. Write down what users need and how you will know it works (acceptance criteria). Sign-off is the first gate.
- Design. Choose the architecture, data model and user interface. Diagrams such as C4, ERD and sequence diagrams belong here.
- Build. Write the code with code review. Small, frequent merges keep the next phase short.
- Test. Unit, integration and user acceptance tests. Failures go back to build, not forward with a note.
- Deploy. Release to production, ideally through an automated CI/CD pipeline.
- Maintain. Monitor, fix defects and make improvements. Each new requirement or defect starts another pass through the cycle.
How to make it in flow-chart.io
- Start from the example. Edit the text in the generator box above so it names your own phases and gates, then press Generate. The free preview needs no sign-up.
- Add the branches. Add the decision points that matter for you, for example "security review passed?" or "needs a database migration?". Each decision becomes a diamond with labeled outcomes.
- Assign owners. Save the diagram to the editor (free account) and rename steps to show who does what: product, design, engineering, QA and operations.
- Share or export. Share a read-only view link: people with the link can view the diagram but not edit it. Downloads as PNG, SVG or PDF are part of Flow Pro (see pricing).
Tips
- Show the gates as diamonds; the gates are what make an SDLC different from a to-do list.
- For agile teams, label the loop from maintain back to plan as "backlog".
- Link each phase to the diagrams it produces so the SDLC doubles as a documentation map.
- Keep release details in a separate software release process flowchart.
Frequently asked questions
- What are the phases of the software development life cycle?
- Most sources list planning, requirements analysis, design, implementation (coding), testing, deployment and maintenance. Some merge planning and requirements, or add a retirement phase.
- Is the SDLC waterfall or agile?
- Neither by itself. The SDLC names the phases; waterfall runs them once in sequence, while agile repeats them in short iterations. This flowchart shows the loops so it fits both.
- What is the difference between SDLC and a software release process?
- The SDLC covers the whole life of the software. A release process covers only the steps from a finished build to production, such as versioning, approvals and rollback.
- Can I put this SDLC diagram in a document or slide?
- Yes. Share a read-only link for free, or with Flow Pro download PNG, SVG, PDF or PowerPoint. The Mermaid source below also renders in GitHub and other Markdown tools.
- How do I edit this SDLC flowchart?
- Press Use this template to open it in the editor with a free account. Every phase, gate and arrow is editable.