How do I view login history for a user?

To view login history in Salesforce, you can either check a specific user’s record for their recent attempts or download a comprehensive log for the entire organization.

Step 1: Viewing History for a Single User

This is the fastest way to troubleshoot why a specific person cannot log in.

How do I view login history for a user? | Salesforce | Step 1
  • Navigate to Setup > Users > Users.
  • Click the Name of the user you wish to investigate.
  • Scroll down to the Login History related list.
  • Review the last 6 months of login attempts.

Step 2: Downloading Organization-Wide Login History

If you need to audit login activity for all users or view data older than what is shown on the user record, use the bulk tool.

How do I view login history for a user? | Salesforce | Step 2
  • Navigate to Setup > Identity > Login History.
  • To view recent activity immediately, select a view from the dropdown (e.g., All Logins).
  • To download the data for analysis in Excel, click the Download button.
    • File Contents: You can choose to download the last 6 months of data as a .csv or .gzip file.
  • Click Save.

Step 3: Understanding the "Status" Column

In your technical guide, it is helpful to define what common login status messages actually mean for troubleshooting:

Status Message

Meaning

Recommended Action

Success

The user logged in successfully.

None.

Invalid Password

The user entered the wrong password.

Suggest a password reset.

User is Locked

Too many failed attempts have locked the account.

Click Unlock on the User Detail page.

Restricted IP

The user is trying to log in from an unauthorized network.

Check Login IP Ranges on the Profile.

Invalid Choice

Usually related to an expired or incorrect MFA/Verification code.

Ensure the user is synced with Salesforce Authenticator.

Step 4: Technical Specifications

  • Data Retention: Salesforce stores login history for the past 6 months.
  • Tracking: This includes logins via the browser, Salesforce Mobile, API, and Third-Party Integrations.
  • Login Type: The history will specify if the user used SAML (Single Sign-On), Application (Standard login), or OAuth (Connected Apps).
Last Updated 2nd February 2026.

Was this article helpful?

We publish our Knowledge Base to help individuals and businesses resolve common issues across websites, advertising platforms, Salesforce and other digital systems.

We regularly review and update our guides, but the platforms, software and services covered can change without notice. As a result, screenshots, settings, features or recommended processes may differ from those available when an article was last reviewed.

The information provided is general guidance and should not be treated as advice specific to your systems or circumstances. UTDS Optimal Choice cannot accept responsibility for errors, data loss, service disruption or other issues resulting from changes made by following these guides.

If you are unsure about any of the steps, particularly where a change could affect live systems, data, tracking or business processes, we recommend speaking to us before making the change. Our team can review your specific setup and provide advice based on the current platform and configuration.

Time for some professional support?

Our team area ready to help. As one of the few digital agencies that is a registered Salesforce Consulting Partner and Google Partner Agency, UTDS Optimal Choice is expertly positioned to support you across your entire digital landscape.