Software Development Life Cycle (SDLC): 7 Phases, Models & Guide
The software development life cycle (SDLC) is the sequence of phases that takes software from a planning decision to a system running in production. Here's how the seven SDLC phases, the main models, security gates, and AI-assisted coding work in real builds.

On this page

The software development life cycle (SDLC) is the structured sequence of engineering phases a team follows to specify, design, build, test, deploy, and operate production software. It's commonly taught as seven stages of the software development life cycle: planning, requirements analysis, architectural design, implementation, verification and testing, deployment, and ongoing maintenance. Underneath them, ISO/IEC/IEEE 12207 supplies the formal life cycle process framework. Each phase hands the next one something it can check, and the loop keeps running for as long as the system has users.
This guide explains how we run the software development life cycle across production builds at Idealogic. It covers what each of the seven phases needs and produces, why late defects and late security work cost so much, where AI coding tools move the bottleneck, how the main SDLC models differ, and how to measure pipeline health with DORA metrics.
The short version
- Every build runs the same seven phases: planning, requirements, design, implementation, testing, deployment, and maintenance apply whatever your team size or stack.
- Late defects can cost up to 30x more: in NIST's illustrative factors, a flaw caught in requirements or design costs 1x, while the same defect found after release costs 30x.
- Security belongs inside CI/CD, not at a pre-launch audit: wiring threat modeling, static analysis, and Software Bill of Materials (SBOM) checks into pull-request pipelines prevents late security rewrites.
- AI coding tools move the bottleneck from typing to verification. Measured speedups on Phase 4 implementation vary a lot by task, which makes crisp Phase 2 specs, Phase 3 schemas, and Phase 5 contract tests matter more, not less.
- SDLC and Agile are complements, not alternatives: the SDLC defines what engineering work happens, while software development methodologies define how you sequence and batch those phases over time.
- DORA metrics keep throughput and stability balanced: tracking deployment frequency, lead time, change failure rate, and failed deployment recovery time shows quickly where your pipeline is stalling.
What is the software development life cycle (SDLC)? Scope under ISO/IEC/IEEE 12207
The software development life cycle is the full set of engineering phases that turns a business need into software running, and being maintained, in production. Teams often confuse the software development life cycle with a project schedule or a Jira workflow. In practice, the SDLC is the systems-engineering discipline governing how business intent becomes deterministic machine execution. The ISO/IEC/IEEE 12207 standard doesn't define seven phases. It organizes software life cycle processes into agreement, organizational project-enabling, technical management, and technical process groups. The seven-phase list is the common teaching model, and it maps mostly onto the technical processes that carry a system from concept to production operations.
Why formalize these stages when two developers can push code to cloud hosting in an afternoon? Because software complexity compounds nonlinearly. According to the Consortium for Information & Software Quality (CISQ Cost of Poor Software Quality Report), poor software quality cost US organizations $2.41 trillion in 2022, and the accumulated principal of technical debt stood at about $1.52 trillion. In our experience, a lot of that debt starts when teams skip feasibility analysis, non-functional requirements, data modeling, and automated verification to hit a date.
At Idealogic, we treat the SDLC as a risk-reduction funnel. Whether we are delivering greenfield custom software development for a logistics operator or architecting a regulated FinTech ledger, the seven phases stay constant. Only the ceremony and batch size change. A seed-stage build moves through all seven phases inside a two-week sprint using lightweight markdown Architecture Decision Records (ADRs) and automated CI checks. An enterprise core-banking build moves through those same seven phases with formal threat models, dual-control staging approvals, and compliance traceability matrices.
The 7 SDLC phases: inputs, artifacts, and exit gates
The software development life cycle phases below are the same in every model. In textbooks, the seven phases look like a one-way staircase. In production engineering, they operate as overlapping streams connected by strict exit gates. Design overlaps with requirements discovery; automated testing runs alongside implementation on every commit; telemetry from maintenance feeds directly into the next planning cycle. What stays fixed in a disciplined squad is what each phase must produce before work advances.
1. Planning and feasibility analysis
Planning answers a blunt economic question: is this system worth building, and what constraints govern the effort? Product leads and principal engineers evaluate business goals, budget ceilings, regulatory rules, legacy dependencies, and timelines. Teams also evaluate build vs buy software options and establish a realistic custom software development cost range here so they do not spend months writing a custom billing engine or identity provider when an existing platform fits.
The phase exits with a signed charter and an explicit "out of v1 scope" list. The classic trap is locking a fixed price and deadline before inspecting third-party APIs or legacy schemas. Research from McKinsey and the University of Oxford (2012) across 5,400 large IT projects found that large builds ran 45% over budget and delivered 56% less value than predicted, a pattern the study ties to weak scoping and governance. Scoping an MVP first is one way to keep those unknowns small.
2. Requirements engineering and analysis
Requirements analysis converts business intent into testable functional and non-functional specifications. Functional requirements define state transitions, role permissions, and validation rules. Non-functional requirements (NFRs), structured around the nine product quality characteristics of ISO/IEC 25010:2023 (functional suitability, performance efficiency, compatibility, interaction capability, reliability, security, maintainability, flexibility, and safety), define p95 latency budgets, RPO/RTO recovery bounds, and data classification rules.
Every requirement must map to a deterministic verification check before exiting Phase 2. Project Management Institute research backs this up. Its Pulse of the Profession surveys (2014 and 2018 editions) name inaccurate requirements as a leading cause of project failure (37%) and report scope creep in about half of projects (52%).
3. System architecture and design
Design shapes how the system fits together before feature code exists: C4 service boundaries, Entity-Relationship Diagrams (ERDs), OpenAPI / GraphQL contracts, Architecture Decision Records (ADRs), and a formal threat model. In our product development and architecture rescue work, an hour spent normalizing the database schema and defining idempotency keys in Phase 3 saves weeks of painful production migrations in Phase 7.
Design exits when peer review confirms that failure modes (timeouts, partial writes, third-party outages, poison queue messages) are handled explicitly. Avoid resume-driven microservices here: start with a modular monolith unless independent scaling or compliance isolation requires separate deployment units.
4. Implementation (coding and integration)
Implementation is the phase where approved designs and API contracts become production source code, unit tests, database migrations, and infrastructure-as-code (IaC) in Terraform or OpenTofu. If Phases 1 through 3 were done well, it goes quickly, since engineers aren't inventing domain rules mid-commit.
Every pull request must compile cleanly, pass strict type checks and linting, satisfy unit tests, and pass peer code walkthrough. Avoid long-lived feature branches; merge daily into trunk behind feature flags.
5. Testing, verification, and quality assurance
Testing is the phase that proves the software satisfies functional specs and fails safely under hostile inputs, load spikes, or dependency outages. Rather than bolting manual QA onto the end of a build, automated verification runs on every pull request across four layers: static analysis and type checking at the base, fast unit tests for domain logic, Testcontainers integration and API integration contract tests against real databases in the middle, and end-to-end Playwright tests for critical user journeys at the top.
6. Deployment and release engineering
Deployment is the phase that moves signed build artifacts into production environments with OpenTelemetry and Grafana alerting live. Mature teams separate deployment (shipping immutable container images to production servers) from release (enabling a feature flag for users), and run backward-compatible expand-and-contract database migrations so canary rollbacks never crash against a mutated schema.
7. Maintenance, operations, and observability
Maintenance is the longest phase. It starts the moment real users rely on the system, and it's commonly estimated at roughly 60% of lifecycle cost, with studies ranging from 40% to 80%. The squad monitors Service Level Objectives (SLOs), patches CVEs, runs blameless postmortems, tunes queries as tables grow, and feeds real production behavior back into Phase 1 of the next cycle.
Every phase you skip to save two weeks on the calendar comes back in production with a multiplier attached, up to 30x in NIST's numbers. What the SDLC really does is force hard decisions early, while changing your mind still costs an hour at a whiteboard instead of a three-month rewrite.
Why shift left cuts SDLC costs: late defects and secure SDLC gates
Why insist on requirements and architecture work before feature code? Start with NIST Planning Report 02-3. Its Table 5-1 gives illustrative cost factors, drawn from earlier literature, for fixing a defect depending on when it's found. Treat them as a rough example rather than a law:
- Requirements and design (Phases 1 to 3): 1x. Fixing a contradictory permission rule takes a 20-minute conversation and a two-line spec or ERD edit.
- Coding and unit test (Phase 4): 5x. Engineers rip out working code, rewrite unit tests, and go back through pull-request review.
- Integration and system test (Phase 5): 10x. Other services and UI flows now depend on the flawed assumption, so the fix crosses team lines.
- Beta or early customer use: 15x. The defect has reached real users before general release.
- After release (Phases 6 and 7): 30x. A production flaw can corrupt live records, trigger incident response, and demand an emergency hotfix plus a data-repair script.
The same compounding curve governs application security. Teams that treat security as a pre-launch penetration test between Phase 5 and Phase 6 routinely discover broken authorization or tenant data leaks two weeks before launch, when fixing the data model is maximally expensive.
Secure software development life cycle (secure SDLC)
A secure software development life cycle is an SDLC where security activities sit inside every phase rather than in one audit at the end. Most teams follow the NIST Secure Software Development Framework (SSDF, SP 800-218 v1.1) and the OWASP Software Assurance Maturity Model (SAMM), and in our builds that turns into four automated pipeline gates:
- Threat modeling in Design (NIST SSDF PW.1): Architects map trust boundaries, abuse cases, and tenant isolation rules (vital in multi-tenant SaaS architecture) before implementation starts.
- Pre-commit SAST and SBOM checks (NIST SSDF PW.7 and PW.8; SBOMs under PS.3.2): Every pull request runs secret detection, Static Application Security Testing (SAST), and dependency scanning to block vulnerable packages and produce an SBOM.
- Ephemeral preview and integration tests: Every branch spins up an isolated preview environment where automated tests verify auth boundaries and input validation against the OWASP Application Security Verification Standard (ASVS 5.0).
- Canary deployment and continuous vulnerability monitoring: Production releases roll out behind canary monitors that roll back automatically if 5xx rates, auth failures, or latency breach thresholds. After release, ongoing vulnerability identification and triage covers SSDF practice RV.1.
AI software development life cycle: how AI-native engineering reshapes the SDLC
AI coding assistants and agentic coding tools have changed what a normal engineering day looks like. Still, the most common misconception we hit during technical due diligence audits is that AI makes structured SDLC phases obsolete. We've found the opposite: Phases 2, 3, and 5 matter more once agents write a lot of the code.
Point an LLM agent at a vague requirement and an unverified database schema and it'll produce technical debt far faster than anyone can review it. That's the failure mode behind a lot of vibe coding projects. Typing was never the hard part. Specifying edge cases, designing schemas that survive concurrency, and verifying failure modes always were.
How much faster does the coding itself get? It depends heavily on the task. A GitHub Copilot experiment measured 55.8% faster completion on a single constrained task, a Google enterprise trial found about 21%, and a 2025 METR study found experienced developers 19% slower on their own familiar repositories. Inside a disciplined SDLC, effort shifts toward specification and verification. The shares below are illustrative Idealogic estimates, not measured benchmarks:
In this estimate, Phase 4 (Implementation) drops from 35% to 18% of engineering hours, while Phase 2 (Requirements) and Phase 3 (Design) together grow to 40%. By writing machine-readable OpenAPI contracts, database constraints, and acceptance criteria up front, coding agents implement modules inside strict compiler guardrails while automated test suites catch regressions immediately.
SDLC models compared: sequencing the phases for your risk profile
Software development life cycle models such as Agile, Waterfall, or the V-Model often get confused with the SDLC itself. Stated cleanly: the seven phases are the what, and the SDLC model is the how often. Every model runs all seven phases. When the Agile Manifesto launched in 2001 and teams adopted frameworks like the Scrum Guide, they did not drop architecture or testing; they compressed the loop so requirement mistakes surfaced in two weeks instead of twelve months.
During software development consulting engagements, our rule is simple: match your model to how stable your requirements are and the cost of being wrong.
Agile software development life cycle: how Scrum and Kanban sequence the 7 phases
The Agile software development life cycle runs all seven phases in short loops on small slices of the product instead of once across the whole project. In Scrum, a sprint of a few weeks takes a slice from planning through deployment, and the sprint review feeds maintenance learnings into the next planning session. Kanban drops the fixed sprint. Each ticket flows through requirements, design, build, test, and release on its own, limited by work-in-progress caps. Neither skips architecture or testing; each does less of it, more often, so requirement mistakes surface in weeks. Our guide to software development methodologies compares the frameworks in more depth.
SDLC vs the Product Development Process
Founders often mix up the software development life cycle and the product development process. They are interlocking halves of product delivery:
- The Product Development Process owns market discovery, user research, pricing validation, and positioning. It answers: What problem is worth solving, and for whom?
- The Software Development Life Cycle owns the engineering execution from feasibility and architecture through production operations. It answers: How do we build, verify, secure, and run this software reliably at scale?
Our idea to product engagements pair both loops so validated product discovery feeds directly into Phase 1 and Phase 2 of the engineering life cycle.
Measuring SDLC health: DORA metrics and ISO/IEC 25010 quality attributes
Measuring engineering teams by lines of code or Jira story points backfires quickly: story points inflate under pressure, and lines of code reward bloat over clean architecture. Instead, we instrument the SDLC using the four metrics from the DevOps Research and Assessment team (DORA / Accelerate State of DevOps Research) paired with ISO/IEC 25010 quality indicators. McKinsey's study on Developer Velocity (2020) found that top-quartile software organizations grew revenue four to five times faster than bottom-quartile peers. That's a correlation, not proof of cause.
The first four rows use the DORA 2024 elite tier; the 2025 DORA report dropped fixed performance tiers, so treat them as reference points. Read throughput and stability together. Any team can spike Deployment Frequency for a week by disabling tests, right until Change Failure Rate climbs. Shrinking batch sizes and automating Phase 5 verification improves both speed and stability simultaneously.
How Idealogic runs the software development life cycle in production
Whether we operate as an embedded dedicated development team alongside your internal engineers or own full-cycle software development from blank-slate discovery to cloud operations, we run the SDLC around five operating principles:
- One continuous senior squad across all seven phases. Handoffs between isolated business analysts, architects, coders, QA testers, and ops teams destroy context. At Idealogic, the senior engineers who challenge requirements in Phase 2 and design the PostgreSQL schema in Phase 3 are the same engineers who write the TypeScript/Go services in Phase 4 and carry the production pager in Phase 7.
- Time-boxed Architecture Blueprint before feature coding: Every build starts with a focused one-to-three-week Phase 1 to Phase 3 Blueprint (essential for complex enterprise software development and legacy system integration). We lock the v1 scope boundary, write the ERD and OpenAPI contracts, complete the threat model, and stand up the CI/CD pipeline before Sprint 1 begins.
- Contract-first and schema-first development: Once database schemas and API contracts are committed in Phase 3, frontend (web development in React/Next.js) and backend streams build in parallel against generated TypeScript types and contract tests, eliminating Phase 5 integration surprises.
- Automated CI/CD security and quality gates from the first commit. Every push triggers strict type checks, SAST and secret scanning, unit tests, Testcontainers database tests, and an ephemeral preview deploy so human code reviews focus on domain invariants and architecture.
- A 6-to-12-week path to first production telemetry: Even on multi-quarter roadmaps, we scope Phase 1 so a complete, production-hardened slice (such as the core workflow in how to build a SaaS) goes live with real monitoring and real users within 6 to 12 weeks, retiring integration risk early and letting live usage steer what comes next.

CTO and Co-founder at Idealogic. Directing engineering, systems architecture, security, and full-stack delivery across web, mobile, and blockchain.
Frequently asked questions
The software development life cycle (SDLC) is the structured sequence of engineering phases a team follows to specify, architect, build, verify, deploy, and maintain a software system. It's commonly taught as seven phases, each producing verified inputs for the next, while the ISO/IEC/IEEE 12207 standard supplies the life cycle process framework underneath them. Every software organization runs an SDLC, whether it sequences those phases in two-week Agile sprints or a single regulated release.
The seven phases of the software development life cycle are planning, requirements and analysis, system design, implementation (coding), testing and verification, deployment, and maintenance. In modern engineering, these phases overlap inside continuous feedback loops rather than running as isolated multi-month handoffs. What remains constant is each phase's specific responsibility, from defining scope boundaries in planning to monitoring production service-level objectives during maintenance.
The main software development life cycle models are Agile (Scrum or Shape Up), Continuous Delivery (XP or Kanban), Iterative and Incremental, the V-Model, Spiral, and Waterfall. They all run the same seven SDLC phases but sequence and batch them differently. Agile and Iterative models loop through every phase in two-to-six-week cycles. Waterfall and the V-Model run each phase once, in order, which suits locked contracts or strict hardware and regulatory gates.
The SDLC is the complete set of engineering phases required to build and operate software, whereas Agile is one delivery methodology used to sequence those phases. So it isn't an either/or choice: an Agile team still performs planning, requirements analysis, architecture design, coding, testing, deployment, and maintenance, executing those activities continuously across short iterations instead of waiting months between phase sign-offs.
Research from the National Institute of Standards and Technology (NIST Planning Report 02-3) gives illustrative cost factors showing that a defect fixed after release can cost up to 30 times more than the same flaw caught during requirements or design (1x requirements and design, 5x coding, 10x integration, 15x beta, 30x post-release). Shifting verification and NIST SSDF security practices left into architecture reviews and automated pull-request pipelines prevents compounding rework, avoids emergency schema migrations, and stops vulnerabilities before customer data is exposed.
AI coding assistants mostly speed up the implementation phase, though measured effects vary widely: controlled studies range from roughly 21% to 56% faster on constrained tasks to 19% slower for experienced developers working in familiar codebases (GitHub 2022, Google 2024, METR 2025). Either way, the bottleneck moves toward specification, architecture, and verification. Because large language models can generate plausible code that violates domain invariants or introduces subtle security flaws, senior engineers spend more time writing unambiguous requirements, enforcing strict API contracts, and automating CI/CD verification gates.
A secure SDLC builds security work into every phase instead of saving it for a pre-launch penetration test. In practice that means threat modeling during design, code review and static analysis on every pull request, SBOM generation for dependencies, and continuous vulnerability monitoring after release. NIST's Secure Software Development Framework (SSDF, SP 800-218 v1.1) and OWASP SAMM are the two frameworks most teams map these practices to.
High-performing engineering organizations measure SDLC efficiency and stability using the four DORA metrics: deployment frequency, lead time for changes, change failure rate, and failed deployment recovery time (formerly MTTR). We pair those delivery metrics with ISO/IEC 25010:2023 software quality characteristics, tracking automated test coverage, static analysis vulnerability counts, and production error budgets to ensure speed does not degrade system reliability.
The product development process focuses on market discovery, user research, and commercial validation to answer what is worth building and why. The software development life cycle is its engineering counterpart, governing how that validated concept is architected, coded, tested, shipped, and kept running in production. Strong teams interlock both loops so customer telemetry from SDLC maintenance directly informs the next round of product discovery.
More from the journal

Software Development Methodologies: 8 Models Compared, Agile to AI
Choosing between Agile, Scrum, Kanban, Shape Up, or the V-Model shapes how fast your team learns and where your budget goes. Here is an engineering-first comparison of the 8 software development methodologies that actually show up in production.

Product Development Process: 6 Stages, Kill-Gates & Playbook
Most software products do not fail because engineers forgot how to write code. They fail in the stages around the code: unvalidated problems, unscoped integrations, and missing kill-gates. Here is the six-stage product development process we run at Idealogic.

Aviation ERP Software in 2027: Modules, Traceability & 3-Year TCO
Aviation ERP software unites general ledger accounting, ASC 842/IFRS 16 leases, serialized Form 8130-3 parts traceability, and AOG procurement. Compare Pentagon 2000SQL, Quantum Control, Ramco, IFS Cloud, SAP S/4HANA A&D, and 2027 36-month build-vs-buy TCO.