# 4 types of Activity Timeouts for failure recovery | Temporal

DevFeed: [4 types of Activity Timeouts for failure recovery | Temporal](<https://devfeed.tech/articles/4-types-of-activity-timeouts-for-failure-recovery-temporal-35700.md>)

Original publisher: [Read original article](<https://temporal.io/blog/activity-timeouts>)

Author: Shawn Wang

Published: 2021-06-22T07:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [reliability](<https://devfeed.tech/topics/reliability.md>), [retry](<https://devfeed.tech/topics/retry.md>), [systems](<https://devfeed.tech/topics/systems.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Go](<https://devfeed.tech/topics/go.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [documentation](<https://devfeed.tech/tags/documentation.md>), [go](<https://devfeed.tech/tags/go.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [retries](<https://devfeed.tech/tags/retries.md>), [timeout](<https://devfeed.tech/tags/timeout.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

This Temporal tutorial explains the four Activity timeout types--Schedule-To-Close, Start-To-Close, Heartbeat, and Schedule-To-Start--and when to use them. It describes how timeouts help failed Activities be retried, handled, or reported instead of hanging indefinitely.

## Source excerpt

Temporal standardizes Activity timeouts and retries to build more resilient, reliable systems. Learn when to use each timeout to strengthen your Workflow.