This comprehensive guide covers all aspects of Salesforce login including SFDC login procedures, developer access, Force.com authentication, and troubleshooting common login issues. Whether you’re accessing a production org, developer environment, or sandbox, this guide provides the exact steps and best practices for secure authentication.
How to Login to Salesforce: Standard Process
The standard Salesforce login process applies to most users accessing production orgs, sandboxes, and trial environments. Follow these steps for successful authentication:
- Navigate to https://login.salesforce.com (production) or your custom domain
- Enter your Salesforce username (typically your email address)
- Enter your password
- If using two-factor authentication, complete the verification step
- Click “Log In” to access your org
For organizations using My Domain, the login URL will be https://[your-domain].my.salesforce.com. Always verify you’re on the correct login page to avoid phishing attempts.
SFDC Login: Production and Sandbox Access
SFDC login refers to accessing Salesforce.com production environments and sandboxes. The authentication process varies slightly depending on your target environment:
Production Org Login
- URL: https://login.salesforce.com
- Use your production username and password
- Two-factor authentication required for most orgs
- Session timeout: 2-24 hours (configurable by admin)
Sandbox Login
- URL: https://test.salesforce.com
- Username format: [production-username].[sandbox-name]
- Password may differ from production
- Separate two-factor authentication setup required

[Image: Current screenshot shows generic CRM interface — recommend updating to Salesforce Lightning Experience login screenshot]
Developer Salesforce Login: Accessing Development Environments
Developer Salesforce login provides access to development environments including Developer Edition orgs, Trailhead Playgrounds, and scratch orgs. These environments have specific authentication requirements:
Developer Edition Login
- Free developer orgs from https://developer.salesforce.com
- Login URL: https://login.salesforce.com
- Username: Your registered email address
- No license limitations for development features
- Org hibernates after extended inactivity
Trailhead Playground Access
- Accessed through Trailhead hands-on challenges
- Temporary environments with pre-configured data
- Login credentials provided within Trailhead modules
- Limited lifespan (typically 3-7 days)
Force.com Login: Platform-Specific Access
Force.com login refers to accessing the Salesforce platform for custom application development and deployment. The Force.com platform uses the same authentication infrastructure as Salesforce CRM:
- Same login URLs as standard Salesforce access
- Platform licenses have different feature access
- API access requires additional security tokens
- Custom domains supported for branded experiences
Maximum Invalid Login Attempts: Security Policies
Salesforce implements security measures to prevent unauthorized access through maximum invalid login attempts policies:
Default Login Attempt Limits
- Standard users: 10 invalid attempts before lockout
- API users: 5 invalid attempts before temporary suspension
- Lockout duration: 15 minutes to 24 hours (admin configurable)
- Reset options: Admin unlock, password reset, or time-based unlock
Configuring Login Policies
System administrators can modify login attempt policies through Setup:
- Navigate to Setup → Security → Session Settings
- Configure “Maximum invalid login attempts”
- Set lockout effective period
- Enable/disable login IP restrictions
- Configure trusted IP ranges
Troubleshooting Common Salesforce Login Issues
Invalid Username or Password
- Verify correct username format (email for most orgs)
- Check for sandbox username suffix (.sandbox-name)
- Use “Forgot Password” link for password reset
- Ensure Caps Lock is disabled
Two-Factor Authentication Problems
- Verify authenticator app time synchronization
- Use backup verification codes if available
- Contact admin for 2FA reset if necessary
- Check mobile device connectivity
IP Restrictions and Trusted Networks
- Verify your IP address is within trusted ranges
- Use VPN if accessing from restricted locations
- Request admin to add your IP to trusted list
- Check for recent network changes
Best Practices for Secure Salesforce Login
- Use strong passwords: Minimum 8 characters with complexity requirements
- Enable two-factor authentication: Required for most production environments
- Verify login URLs: Always check for https:// and correct domain
- Log out properly: Use the logout option rather than closing browser
- Monitor login history: Review login attempts in Setup → Login History
- Use My Domain: Implement custom domains for enhanced security
API Authentication and Security Tokens
For programmatic access to Salesforce, additional authentication methods are required:
Security Token Requirements
- Required for API access from untrusted networks
- Appended to password during authentication
- Reset through personal settings or admin action
- Not required from trusted IP ranges
OAuth 2.0 Authentication
- Recommended for modern integrations
- Supports various grant types (authorization code, JWT, etc.)
- Provides refresh tokens for long-term access
- Requires connected app configuration
Frequently Asked Questions
What is the difference between login.salesforce.com and test.salesforce.com?
login.salesforce.com is for production orgs and Developer Edition environments, while test.salesforce.com is specifically for sandbox environments. Sandbox usernames require a suffix format: [production-username].[sandbox-name].
How do I reset my Salesforce password if I’m locked out?
Use the “Forgot Password” link on the login page, or contact your system administrator for manual unlock. If you have backup verification codes, you can use those to regain access and reset your password.
Why am I getting “Invalid Login” errors with correct credentials?
Common causes include IP restrictions, account lockout from too many failed attempts, expired passwords, or accessing the wrong login URL (production vs sandbox). Check with your admin about IP restrictions and account status.
How many invalid login attempts are allowed before lockout?
By default, Salesforce allows 10 invalid login attempts for standard users and 5 for API access before triggering a lockout. The lockout duration ranges from 15 minutes to 24 hours, depending on admin configuration.
Can I access Salesforce without a security token?
Security tokens are only required for API access from untrusted IP addresses. If your IP is in the organization’s trusted IP range, or you’re using the web interface, no security token is needed.