contact@itechcloudsolution.com +91 997 9933 595 +91 972 6015 295
209-210-211, Western Plaza, Simada Naka, Surat, Gujarat, India 395006.
iTechCloud Solution
Book a call→
Development

How to check sandbox refresh date in salesforce

Salesforce Sandboxes play a crucial role in development, testing, and deployment processes. Whether you’re a developer, administrator, or release manager, it’s important to keep track of sandbox activities, especially refresh dates, as they determine how up-to-date your sandbox is with production data.

Subhash Panchani headshot
Subhash Panchani
Founder & CEO · iTechCloud Solution
·5 min read
How to check sandbox refresh date in salesforce cover image

We’ll explore various ways to check your sandbox refresh date, understand its significance, and leverage that information for better environment management.

Table of Contents

1. What is a sandbox in Salesforce?2. Types of Sandboxes3. What is a sandbox refresh?4. Why Checking the Sandbox Refresh Date Is Important5. Methods to Check Sandbox Refresh Date6. Best Practices After a Sandbox Refresh7. Common Issues with Refresh Dates8. Tips for Sandbox Management9. FAQs10. Conclusion:

1. What is a sandbox in Salesforce?

A Salesforce sandbox is a replica of your production environment used for testing, training, and development. It allows you to build and validate configurations, customisations, and integrations without affecting live data or users.

Sandboxes come in different types, each catering to specific use cases, like development, testing, or full replication of production environments.

2. Types of Sandboxes

Salesforce offers four types of sandboxes:

1. Developer Sandbox

Limited data (configuration only)

Ideal for individual dev tasks

2. Developer Pro Sandbox

More storage than Developer

Suitable for testing with larger data sets

3. Partial Copy Sandbox

Includes a sample of production data

Ideal for QA and training

4. Full Sandbox

Complete replica of production

Best for staging, performance, and load testing

Each sandbox type has its refresh interval:

Developer/Developer Pro: 1-day refresh interval

Partial Copy: 5-day refresh interval

Full Sandbox: 29-day refresh interval

3. What is a sandbox refresh?

A sandbox refresh is the process of updating the sandbox environment with metadata and (optionally) data from the production org. This resets the sandbox environment, wiping any changes made in the sandbox after its last refresh.

Key points:

The sandbox name remains the same.

The sandbox is re-linked to the production org.

The previous sandbox state is lost.

Knowing the sandbox refresh date helps you:

Determine the age of the data.

Validate if the latest configuration is in sync with production.

Plan deployments and regression testing.

Track environment life cycles

Comply with governance and audit requirements.

✅ Method 1: Using Salesforce Setup (UI)

The easiest way to find the sandbox refresh date is through the Salesforce setup menu:

1. Log in to the production org.

2. Go to Setup → Search for Sandboxes in the Quick Find box.

3. The sandbox list appears with columns such as

Name

Sandbox Type

Last Refresh Date

Status

✅ Method 2: Using Workbench

Salesforce Workbench is a powerful tool to inspect org metadata and data.

1. Go to Workbench.

2. Log in to your production org.

3. Navigate to Info → Organization

4. Here you will see:

Instance details

Sandbox status

Organization information

Last Modified Date

You can also query SandboxInfo if using Workbench with tool access.

✅ Method 3: Using SOQL Query

You can use SOQL to fetch sandbox-related information. Although you can’t directly query sandbox metadata in production, when logged into the sandbox itself, use the Organization object:

SELECT Name, CreatedDate, LastModifiedDate, IsSandbox, TrialExpirationDate FROM Organization

LastModifiedDate often reflects the last refresh.

CreatedDate Shows when the sandbox was first created.

⚠️ Note: For full sandboxes, you might see it LastRefreshDate in debug logs or history tracking.

✅ Method 4: Using Developer Console

If you’re already inside the sandbox, do this:

Open Developer Console from the user menu.

Run this SOQL query:

SELECT Name, CreatedDate, LastModifiedDate FROM Organization

Use the Log tab to confirm if any related Refresh events have been logged recently.

✅ Method 5: Using Salesforce CLI (SFDX)

If you’re using Salesforce DX, run the following:

sfdx force:org:display -u sandbox_alias

This will display org details, including:

Org ID

Access Token

Instance URL

Created Date

This won’t explicitly show the refresh date but helps validate the environment status.

✅ Method 6: Using REST API

Use the REST API to get org information. The Organization resource can give you some info:

GET /services/data/vXX.X/sobjects/Organization/

You’ll need:

Access Token (OAuth)

Sandbox instance URL

It returns JSON, including which indirectly shows refresh info.

Once the refresh is done:

Reassign users: Profile and permission sets may reset.

Reconnect integrations: Webhooks or connected apps may need reauthorisation.

Verify data sample (for partial copy): Ensure templates pulled expected data.

Review workflows & triggers: Ensure test classes, batch jobs, etc., work as expected.

Reset sandbox-specific settings: email deliverability, debug logs, etc.

Not syncing metadata: If developers push to sandbox after refresh, their changes are lost.

Data mismatch: Partial sandboxes may not reflect current production data.

Refresh confusion: Users may not know when the last refresh was or who performed it.

Refresh delay: Full sandboxes can take hours or days to refresh due to size.

Name sandboxes with purpose/date (e.g., QA_2025_04)

Maintain a sandbox refresh calendar.

Use change sets or source control to track sandbox state.

Communicate refresh plans with the team.

Always test before using a refreshed sandbox for deployment.

Q1: Can I schedule automatic sandbox refreshes?

No, Salesforce doesn’t support automatic refreshes. They must be manually initiated from production.

Q2: How long does a sandbox refresh take?

It depends:

Developer: Minutes

Partial Copy: A few hours

Full Sandbox: Several hours to days (based on org size)

Q3: Can I cancel a sandbox refresh?

No, once initiated, it cannot be cancelled.

Q4: What happens to sandbox licences after a refresh?

Licences are reused. Your active user licenses reset during the refresh.

Knowing how and when your sandbox was refreshed is key to efficient Salesforce development and deployment. Whether you’re preparing a release, troubleshooting a bug, or planning a test cycle, understanding the sandbox refresh date ensures you’re working with the most relevant environment.

With tools like Setup UI, Workbench, SOQL, and CLI, tracking sandbox refresh history becomes easier. By incorporating sandbox governance and communication into your workflow, you can dramatically reduce missteps and increase team productivity.

Key takeaways
Subhash Panchani headshot
Written by
Subhash Panchani
Founder & CEO · iTechCloud Solution

Founder and CEO of iTechCloud Solution, a Salesforce consulting and product partner since 2017. He sets engagement strategy and stays the commercial owner of every account, working with clients across Salesforce, AI and data from the first call through to go-live.

Connect on LinkedIn
Put it to work

Want this applied to your org?

Book a free discovery call and we'll map the highest-ROI next step for your team.

Book a call →

Related insights

All articles →
15 Common Implementation Mistakes That Cost Companies Time & Money
News & Insights
Jun 30, 2026 · 15 min read

15 Common Implementation Mistakes That Cost Companies Time & Money

Read article →
8 Ways to Ensure Salesforce Adoption Rate Stays Above 80%
News & Insights
Jun 30, 2026 · 8 min read

8 Ways to Ensure Salesforce Adoption Rate Stays Above 80%

Read article →
The 5 Biggest Salesforce Risks You Can't Ignore in 2026
News & Insights
Jun 29, 2026 · 4 min read

The 5 Biggest Salesforce Risks You Can't Ignore in 2026

Read article →

Have a similar problem?

Send us the shape of it. We will tell you honestly whether we are the right team.

  • Response within one business day
  • Salesforce-certified architects on the call
  • Delivery across US, UK, EU, Middle East and APAC