Skip to content
IT glossary
ProcessUpdated December 3, 2026

Hotfix

Хотфикс

An urgent fix shipped for an already released version is called a hotfix. Teams ship it outside the normal release schedule because waiting would leave users or the business exposed to too much harm.

What makes a fix a hotfix?

A hotfix is defined by when it needs to ship, not by how many lines it changes. A typo fix might be tiny but can usually wait for the next release. A bug that stops customers from placing orders may need an out-of-cycle release. The goal is to restore the affected behavior without shipping unrelated work.

How teams ship hotfixes

First, choose the fastest safe way to restore service. If a recent deployment caused the problem and the previous version can still run against the current database and configuration, rolling back may be quicker than building a fix. Turning off an affected feature can also buy time if the rest of the service still works without it.

If a fix needs to ship, identify the exact version in production. When the main branch contains unreleased work, start from the deployed version's tag or its maintenance branch. Keep the change focused and review it. Test the failure case, then check nearby behavior that the change could break. Use the normal build and deployment pipeline where possible: urgency changes the priority and scope, not the need to know what was tested and what was deployed.

Decide before deployment what counts as recovery and what will stop the rollout. Where possible, ship to a small share of traffic first and check both error rates and whether users can complete the affected task. If the fix was made on a separate branch, bring it into the main development line so the next release doesn't reintroduce the bug.

Example: a broken file upload

An update to a document service rejects files whose names contain spaces. Customers upload these files often, and renaming them isn't practical for teams submitting batches. The next scheduled version includes unfinished changes to file storage, so the team fixes filename handling on the deployed version instead. It verifies that uploads work for names with and without spaces and that invalid names are still rejected. After deployment, the team checks for successful uploads of the previously rejected files rather than relying on a healthy server status alone.

Common mix-ups

A patch and a hotfix aren't mutually exclusive: a patch can be shipped on schedule or released urgently as a hotfix. A rollback restores an earlier version; it doesn't fix the faulty release. And despite the name, a hotfix doesn't have to be applied to a running process without a restart. It can use the same deployment mechanism as a scheduled release.

What interviewers look for

In a production incident scenario, explain your recovery decision before describing your Git workflow. Be ready to say which version you'd patch, how you'd verify the user-facing result, and what you'd do if the rollout made things worse.