When a supplier builds or maintains a web application for your business, the code and data do not live in a single place. Most professional teams use at least three separate environments: development, staging and production. Each one serves a distinct purpose, and understanding the difference helps you ask the right questions during a project, avoid costly mistakes and keep your live system stable.

Decision areaWhat distinguishes the optionsWhat to verify
Production: the live system your business relies onProduction is the environment your actual users, staff or customers interact with.It holds real data, processes real transactions and generates real consequences if something goes wrong.
Staging: a rehearsal space that mirrors productionStaging exists to simulate production as closely as possible before anything goes live.The server configuration, integrations and often a copy of the production database sit behind the same settings the live system uses.
Development: where individual changes are written and triedThe development environment is where developers write code, try ideas and break things without affecting anyone else.It changes frequently, often many times a day.
How changes move between environmentsIn a typical workflow, a developer writes and tests a change in development.Once it works there, it moves to staging for broader testing — often by a different person, sometimes by your own team.

Production: the live system your business relies on

Production is the environment your actual users, staff or customers interact with. It holds real data, processes real transactions and generates real consequences if something goes wrong. Changes that reach production have been tested and approved. Access to production should be tightly controlled — most developers should not be able to deploy directly to it without a review or approval step.

Staging: a rehearsal space that mirrors production

Staging exists to simulate production as closely as possible before anything goes live. The server configuration, integrations and often a copy of the production database sit behind the same settings the live system uses. The point is to catch problems that only appear when the system runs in conditions identical to the real thing — differences in database structure, third-party API behaviour or file-storage permissions that would not show up elsewhere.

Not every project needs a full staging mirror. For a straightforward internal tool with one or two integrations, a lighter-weight test environment may be sufficient. For a customer-facing SaaS product processing payments, staging with a payment-provider sandbox is usually essential.

Development: where individual changes are written and tried

The development environment is where developers write code, try ideas and break things without affecting anyone else. It changes frequently, often many times a day. Data here is typically fabricated or anonymised — it is not a place for real customer records. Some teams run a local development environment on each developer's own machine; others use a shared development server. Both approaches are common, and the right choice depends on team size, security requirements and how the project is managed.

How changes move between environments

In a typical workflow, a developer writes and tests a change in development. Once it works there, it moves to staging for broader testing — often by a different person, sometimes by your own team. If staging looks correct, the change is promoted to production. This progression is not automatic in well-run projects: each step usually involves a review, a set of acceptance checks or both.

When a staging environment genuinely matters

Staging adds cost and maintenance overhead, so it is worth understanding when it earns its keep. You likely need a staging environment when:

  • Your application connects to external services — payment gateways, accounting software, shipping APIs — and you need to confirm those connections behave correctly before real transactions flow through them.
  • Multiple developers or teams are contributing code simultaneously and you need a shared space to verify that their combined changes do not conflict.
  • Your operations team or business users need to sign off on a change before it reaches the live system.
  • Regulatory or contractual obligations require evidence that changes were tested in a production-like setting.

For smaller internal tools with limited integrations and a single developer, a well-run development environment paired with careful manual checks may be proportionate. The question is not whether staging is universally good, but whether the risk and complexity of your particular system justify the additional infrastructure.

Data in each environment

How data is handled across environments is one of the most important practical details to agree with your supplier. Real customer data should not sit in development or staging unless there is a specific, controlled reason — and even then, it should be anonymised or pseudonymised to reduce exposure if those less-protected environments are compromised.

A common approach is to take a copy of the production database, strip or mask personal data, and load the result into staging periodically. The frequency depends on how much your data changes and how closely staging needs to reflect reality for meaningful testing. Agree the approach in writing as part of your project setup, and check that your data-protection obligations under UK GDPR are reflected in the arrangement.

Who can access what

Access controls should differ by environment. Production access should be limited to the people who genuinely need it — usually a small number of senior developers and, in some cases, a designated person on your side for incident response. Staging access is broader but still controlled. Development access is widest, but even here, not every team member needs direct database access or server-level permissions.

When reviewing a supplier's proposal or support arrangement, ask specifically who has access to each environment, how that access is granted and revoked, and whether access is logged. If a developer leaves the supplier's team, you want confidence that their access to your production environment is removed promptly.

Environment-specific configuration

Each environment needs its own settings for things like database connection strings, API keys, file-storage paths and email-sending rules. A well-structured application does not have these values hard-coded into the software itself; instead, it reads them from environment variables or a configuration file that differs between environments. If your supplier cannot explain how configuration is separated from code, that is a practical warning sign — it suggests deployments may be fragile and environment-specific bugs more likely.

Testing only in development

One of the most frequent problems arises when a team tests a change in development, sees it work, and pushes it straight to production. Development environments are deliberately forgiving: error messages may be verbose, caching may behave differently, and the data set is usually small and clean. Problems that only appear under production-scale data, production caching rules or production-level security restrictions will be missed entirely.

Staging that does not actually mirror production

A staging environment only provides value if it genuinely resembles production. If the server software versions differ, if the database is a tiny subset of real data, or if certain integrations are stubbed out rather than connected to sandbox endpoints, the confidence you gain from a successful staging test is misplaced. When agreeing a staging setup with your supplier, check specifically which aspects of production are replicated and which are approximated.

Skipping environments to save money

Removing staging or collapsing environments together can look like an easy cost saving during a project. The trade-off is that problems which would have been caught cheaply in staging now surface in production, where fixing them is more expensive, more disruptive and potentially visible to your users or customers. The decision should be deliberate, based on the actual risk profile of the system, not an automatic cut.

Key questions to put to a supplier

  • How many environments are included in the proposal, and what is each one for?
  • How is configuration separated from code across environments?
  • How is data populated in non-production environments, and how is personal data handled?
  • Who has access to each environment, and how is that access managed and audited?
  • What is the process for promoting a change from one environment to the next?
  • Can you show me the deployment pipeline, or at least describe it in enough detail that I can follow it?
  • What happens if a production deployment fails — is there a defined rollback procedure?

Limitations of the three-environment model

Three environments is a common pattern, not a universal rule. Some projects add a dedicated performance-testing environment to load-test under realistic traffic without disrupting staging. Others maintain a separate pre-production environment for final business sign-off, keeping staging available for ongoing development testing. Larger SaaS products sometimes run multiple production-like environments to support blue-green or canary deployment strategies.

Conversely, some very small projects run with just two environments — development and production — and manage the risk through careful manual checks and simple change processes. The right structure depends on the size of the system, the number of people changing it, the consequences of a live failure and the regulatory context.

The practical takeaway is not that you must have exactly three environments, but that you should understand what each environment in your setup is responsible for, confirm that the separation is real rather than nominal, and ensure the arrangement matches the level of risk your business is carrying.