aa.
All writing
  • Release Management
  • QA
  • UAT
  • Project Management

Dev, SIT, UAT, Staging and Prod Environments Explained

What dev, SIT, UAT, staging and production environments are for, the order work moves through them, what must pass at each step, and how many you need.

· 9 min read

A glowing amber path flowing through five glass cubes that grow brighter, the last one with an open doorway, ending in a bright point of light

A lot of release problems aren't caused by bad code. They're caused by code ending up in the wrong place: a half-tested feature on the server the client is using, or a fix that works on a developer's machine and nowhere else. Environments exist to stop that.

This guide is for developers, QA engineers and project managers who keep hearing DEV, SIT, UAT, staging and PROD and want a clear picture of what each one is for, the order work moves through them, and what has to pass before it moves on. I'll also share the four environments I use on my own projects, and why I don't think most teams need all five.

The short answer

A software environment is a separate copy of the system (servers, database, configuration) used for one stage of the work. Code moves through them in order, from the least risky to the live one:

Environment What it's for Who uses it What must pass to move on
DEV (development) Building features and fixing bugs Developers Code review, unit tests, the feature works end to end
QA / Test Checking features against the requirements QA engineers Test cases pass, no open critical bugs
SIT (system integration testing) Checking that the system works with the other systems it connects to QA, integration and partner teams Data flows correctly between systems
UAT (user acceptance testing) The client or real users confirm it's what they need Client, business users The client accepts the release
Staging / pre-production A final rehearsal in a copy of production QA, the release owner The deployment works and a smoke test passes
PROD (production) The live system End users A smoke test right after release

Not every team has all six. Many combine QA and SIT, or use staging as the UAT environment. The names matter less than the rule underneath: each environment only receives work that passed the one before it.

What each environment is for

Development (DEV)

Where developers build. It can be each developer's own machine, a shared development server, or both. It changes many times a day, it's allowed to be broken, and nobody outside the team should rely on it.

What belongs here: new features, bug fixes, experiments. What doesn't: client demos. If a client sees DEV, they see unfinished work and judge the project by it.

QA / test

A stable environment where QA tests features against the acceptance criteria, without developers changing it underneath them. Builds arrive here on purpose, not every time someone pushes code. Some teams call this the TEST environment, and on smaller teams it's often the same server as staging.

SIT (system integration testing)

SIT is where you check that your system works correctly with other systems: a payment provider, a client's existing ERP, an identity service, another team's API. System integration testing is a standard test level in the ISTQB glossary, from the international software testing certification board.

A separate SIT environment makes sense when integrations are a big part of the risk, for example in banking, telecom or large enterprise projects where several teams release separately. It's usually connected to the test (sandbox) versions of the partner systems, not the live ones. On smaller web and mobile projects, integration testing usually happens in the QA or staging environment instead, and that's fine.

UAT (user acceptance testing)

The environment where the client, product owner or real users check that the software does what they need, and decide whether to accept it. I explain the testing side in my guide to what UAT is. The environment side comes down to two rules:

  • Only QA-passed work goes into UAT. The client's time is the most expensive testing time on the project. Don't spend it on bugs QA would have found.
  • It should behave like production. Same configuration, realistic but anonymised data, and the same integrations (in test mode). Otherwise the client accepts something that isn't what users will get.

Staging / pre-production

The last stop before production: a copy of production that's as close as you can make it, used to rehearse the release. You deploy here exactly the way you'll deploy to production, run the database migrations, and run a smoke test. If the deployment is going to fail, you want it to fail here.

Some teams use "staging" and "pre-production" for the same thing. Others use staging for integrated QA and pre-production for the final copy of production. Ask on day one of a project which one the team means, because the confusion causes real mistakes.

Production (PROD)

The live system that real users rely on. Nothing gets tested for the first time here. The only testing in production should be a quick smoke test after each release, to confirm the main functions work, plus monitoring.

The order work moves through

The usual promotion path is:

DEV → QA → SIT → UAT → staging/pre-production → PROD

Two parts of that order cause the most questions.

SIT comes before UAT. Integrations should be proven before the client starts accepting features, because a broken integration would make their testing pointless.

Staging can come before or after UAT. In some setups UAT happens on staging. In others, UAT has its own environment and staging/pre-production is a final rehearsal after the client has accepted. Both work, as long as the version that reaches production is the one that was accepted.

Each step is a gate: something must pass before the build moves on. On my projects, the gates that matter most are:

  1. QA sign-off before anything goes in front of the client.
  2. Release notes ready before go-live, so the client knows what's changing.
  3. A smoke test right after the production deploy, so problems are found by us, not by users.

Is staging the same as UAT?

Not always. Staging describes what the environment is: a production-like copy used before release. UAT describes what happens there: the client accepting the work. On many projects UAT happens on the staging environment, so the two names point at the same server. On larger projects, UAT gets its own environment so the client's testing isn't interrupted while the team rehearses the next deployment on staging.

On my own projects it depends on the project. Sometimes the client tests on staging, sometimes on pre-production. What doesn't change is that the client only sees work that has already passed QA.

SIT vs UAT environments

SIT environment UAT environment
Question it answers Does our system work with the systems it connects to? Is this what the client needs, and do they accept it?
Who tests QA, integration engineers, partner teams The client, business users, product owner
Connected to Partner sandboxes and test endpoints Production-like integrations, usually in test mode
Data Test data designed to exercise the integrations Realistic, anonymised data the client recognises
Ends with Integration defects fixed An accept or reject decision

How many environments do you actually need?

Fewer than the full list, for most teams. Every environment costs money and someone's time to keep in sync, and an environment that drifts out of date is worse than none, because people trust results that aren't real. The Twelve-Factor App calls this dev/prod parity: keep the gap between environments small.

What I'd suggest:

  • A small team or a simple product: three environments, development, staging (QA and client review) and production.
  • Client projects: four. That's what I use: development, staging, pre-production and production. Staging is where features are tested together, pre-production is the production-like copy, and production is live. It gives the client a stable place to review that the team isn't constantly changing.
  • Projects with heavy integrations or several teams: add a separate SIT environment, and possibly a dedicated UAT environment.

If you can't say what decision happens in an environment, you probably don't need it.

Test data, access and configuration

The environments are only as useful as what's inside them:

  • Data. DEV and QA use made-up test data. UAT and pre-production need realistic data, ideally an anonymised copy of production. Never copy real customer data into a lower environment without masking it.
  • Access. Developers have full access to DEV. Clients get accounts on the environment where they review, and nowhere else. Production access is limited to the few people who deploy and support it.
  • Configuration. The code should be the same in every environment. What changes is configuration: database addresses, API keys, feature flags. Lower environments should always point at test versions of payment and email services, so nobody gets a real charge or a real email from a test.
  • Labels. Make each non-production environment obvious: a coloured banner, a different logo, "STAGING" in the page title. It prevents the classic mistake of testing on production by accident.

Who owns the environments?

Someone has to decide what goes where and when, or every environment slowly fills with half-finished work. On my projects, that's me as the project manager. I coordinate which build goes to which environment and when, and the team does the deployments. It's one step in how I work on every project. The ownership matters more than the job title: one person decides, and everyone knows who it is.

I keep the current environment for each piece of work in the same tracker as the tasks. I describe that setup in how I track 10 projects at once.

Common environment mistakes

  1. Showing the client the development environment. They see broken, unfinished work and lose confidence in the project.
  2. Skipping environments under deadline pressure. "Just this once" straight to production is how most bad release days start. It's one of the gaps behind why software projects get delayed.
  3. Staging that doesn't match production. Different versions, missing migrations, old data. Tests pass on staging and the release still fails.
  4. No clear owner. Nobody knows which build is on which environment, so the client tests the wrong version.
  5. Real services in test. A lower environment connected to the live payment or email provider sends real charges or real emails.
  6. Confusing names. One team's "staging" is another team's "pre-production". Write down what each name means for this project at the kickoff.

FAQ

What comes first, UAT or SIT?

SIT comes first. Integrations between systems should be tested and working before the client starts acceptance testing, otherwise integration bugs interrupt UAT and waste the client's time.

Is UAT a production environment?

No. UAT is a pre-production environment that should behave like production, with the same configuration and realistic data, but real users and real transactions never run on it. It's where the client accepts the release before it goes to production.

What is a pre-production environment?

A pre-production environment is the closest copy of production a team keeps. It's used to rehearse the release, run final checks and, on some projects, run UAT. If a deployment is going to fail, it should fail here.

Can UAT and staging be the same server?

Yes, and on many projects they are. It works as long as the team doesn't deploy new work there while the client is testing. If the team needs to deploy during UAT, give UAT its own environment.

Who owns the UAT environment?

Usually the delivery team prepares and maintains it (the project manager, QA or DevOps), and the client uses it. On my projects I coordinate what's deployed there and when, so the client always knows which version they're testing.

Final thoughts

Environments aren't bureaucracy. Each one answers a single question before the next step: does it work, does it work with everything else, is it what the client needs, will the release itself work. Keep as few as answer those questions, keep them close to production, and make one person responsible for what's on each. Release day then becomes the least eventful day of the sprint.

Related: How I Track 10 Projects at Once · Free Weekly Project Status Report Template