Using Non-default Branches for Production Deployments

Learn how to set a non-default branch as Production on your Vercel project.
Last updated on May 7, 2025
Build, Deployment & Git

Different organizations have different workflow requirements. Sometimes, that might entail going to production with a branch that isn't set as the default. Read on to learn about how Vercel supports this use case.

In the Environments menu item of your project's settings page, you'll find a fieldset that allows you to select which branch you'd like to associate with production. You can choose between the main branch, your repository's default branch, or any other custom branch in your repository.

The Production Branch fieldset in the Vercel dashboard.
The Production Branch fieldset in the Vercel dashboard.

Once you've entered the new branch you want to use as your Production Branch, click "Save". All future pushes made to that branch will be Production Deployments.

Couldn't find the guide you need?