Use the Data Loader export process to extract data older than 18 months from your field history. See Export Data for more information.
Note: You can also retrieve this data using the method outlined in the SOAP API Developer Guide - queryAll().
Starting with Winter '19, Salesforce allows access to field history data older than 18 months only via Data Loader or the SOAP API. From Spring '19, field history data is accessible up to 24 months, after which older data is removed.
Starting with Winter ’19, you can access data older than 18 months only in a limited fashion using Data Loader or via the API. Starting in Spring ’19, you can access field history data up to 24 months old, but we begin the process of removing field history data older than 24 months. See Retention Limit for Field History Data Is Now Enforced for details.
Administrators can use a SOQL relationship query to include fields from a related object. For example, to export Account field history including the Account Name, use a query that selects Id, IsDeleted, AccountId, CreatedById, CreatedDate, Field, OldValue, NewValue, and Account.Name from AccountHistory with a CreatedDate filter.
Example query:
SELECT Id, IsDeleted, AccountId, CreatedById, CreatedDate, Field, OldValue, NewValue, Account.Name FROM AccountHistory WHERE CreatedDate <= 2016-06-01T00:00:00.000Z
When using relationship queries in the Data Loader, the fully specified field names are case-sensitive. For example, use Account.Name instead of ACCOUNT.NAME.
Data Loader doesn’t support nested queries or querying child objects. Queries similar to the following return an error: Error: Invalid soql: Nested queries are not supported:
SELECT Id, Name, (Select Id, IsDeleted, AccountId, CreatedById, CreatedDate, Field, OldValue, NewValue, Account.Name FROM AccountHistory) FROM Account
000383373

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.