How to set up state country picklists on Salesforce
State and Country Picklists in Salesforce standardize address data by providing predefined dropdown lists for countries and states/provinces. This feature replaces free-text address fields with controlled picklists to improve data quality and enable better reporting.
Prerequisites
- System Administrator or equivalent permissions in Salesforce
- Understanding of Salesforce data validation rules
- Familiarity with Salesforce setup menu navigation
- Knowledge of your organization's address formatting requirements
Step-by-Step Instructions
Navigate to State and Country Picklists Setup
State and Country and select State and Country Picklists from the results. You'll see the main configuration page with current settings displayed.Enable State and Country Picklists
Configure Country Settings
Set Up States and Provinces
Update Address Fields on Objects
Configure Data Validation and Dependencies
Test and Deploy Changes
Train Users and Update Documentation
Common Issues & Troubleshooting
Existing address data appears corrupted after enabling picklists
Check the Data Integration Rules in State and Country Picklists setup. Review and update the mapping between old text values and new picklist values. You may need to run data cleansing reports to identify and fix unmapped values.
Users can't see certain countries or states in the picklists
Verify that the countries and states are marked as Active in the State and Country Picklists setup. Check field-level security settings to ensure users have read access to the address fields.
State field doesn't update when country is changed
Review the Field Dependencies configuration between country and state fields. Ensure the dependency matrix is properly configured and that both fields are visible on the page layout. Clear browser cache and test again.
API integrations fail after enabling picklists
Update API calls to use the Integration Values instead of display names. Check that external systems are sending valid country/state codes that match your Salesforce picklist values. Review API error logs for specific validation failures.