---
schema_version: "1"
id: 02a469d8d83d27b5f0f98338af5fb5fcba924b874bfc0490c8725fefbbda1507
title: Deploy Apex to a Salesforce Production Organization
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_intro_deploying_to_production.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_intro_deploying_to_production.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0f122195ebbd17abf0f0ceb7398de58fca5ab9ef0a545f433213755957d117e4
description: After you’ve finished all of your unit tests and verified that your Apex code is executing properly, the final step is deploying Apex to your Salesforce production organization.
---
# Deploy Apex to a Salesforce Production Organization

After you’ve finished all of your unit tests and verified that your Apex code is executing properly, the final step is deploying Apex to your Salesforce production organization.

1. To deploy Apex from a local project in Visual Studio Code editor to a Salesforce organization, see [Salesforce Extensions for Visual Studio Code and Code Builder](https://developer.salesforce.com/tools/vscode/).

Also, you can deploy Apex through change sets in the Salesforce user interface. For more information and for additional deployment options, see [Deploying Apex](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_deploying.htm "You can't develop Apex in your Salesforce production org. Your development work is done in a sandbox, in a scratch org, or in a Developer Edition org."), and [Build and Release Your App](https://developer.salesforce.com/docs/atlas.en-us.264.0.sfdx_dev.meta/sfdx_dev/sfdx_dev_build_and_release_your_app.htm).