Skip to content
IT glossary
ProcessUpdated December 3, 2026

Code freeze

Before a release, a team may temporarily limit changes to the code it plans to ship so it can test a stable build. This period is called a code freeze: new features wait, and urgent fixes may need special approval.

Also known as: фриз

What a code freeze protects

A code freeze gives a team a stable version to test before release. If unrelated changes keep landing while testing is underway, a passing test run tells you less about the build that will actually ship. Limiting changes lets the team focus on verifying the release candidate: the specific build it intends to ship if it passes the required checks.

A freeze does not necessarily stop development. A team might freeze its release branch while engineers continue merging work for the next version into main. What matters is which changes can reach the upcoming release, not whether anyone is still writing code.

How teams run a freeze

Before the freeze begins, the team agrees on its scope, start time, exit criteria, and who can approve exceptions. Branch protection can enforce the merge restrictions, while CI continues to build the code and run tests. Testers use the release candidate to check key user flows and look for regressions, or failures in behavior that previously worked.

An exception is usually reserved for a defect serious enough to block the release. The team weighs the risk of shipping with the defect against the risk of changing code that has already been tested. If a fix goes in, the team builds a new candidate and retests the affected behavior. The broader the potential impact of the fix, the more regression testing the new build needs.

Example: a late bug in checkout

A team freezes release/3.4 on Monday. On Tuesday, testing shows that customers cannot complete checkout with a saved card. The release owner approves a narrowly scoped fix, and CI produces a new candidate. Testers verify checkout with both saved and new cards, since the two paths share code. Meanwhile, a redesigned order history page can merge into main, but it stays out of 3.4 even if it is ready to ship on its own.

Code freeze vs. feature freeze vs. deployment freeze

A feature freeze usually cuts off new functionality while still allowing routine bug fixes. A code freeze typically restricts fixes too, allowing only changes that meet the exception policy. A deployment freeze limits what can be rolled out to an environment, usually production. A retailer might pause production deployments during a major sale even while engineers keep merging code. Teams use these labels differently, so ask what is restricted rather than relying on the name.

How it comes up in interviews

You might be asked what you would do if a release-blocking bug appeared after the freeze. Explain what you would check before choosing a response: who is affected, whether the faulty change can be left out, and how much retesting a fix would require. If the team cannot validate a fix in time or safely remove the faulty change, delaying the release may be safer than making an unreviewed exception.