---
id: "settimeout"
kind: "web-feature"
canonical: "https://timetostable.com/feature/settimeout"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# setTimeout() (`settimeout`)

The setTimeout() global function executes provided code after a given duration of time, and the accompanying clearTimeout() cancels the timer.

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
- **Constituent BCD keys**: 5

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 4 | 2009-06-08 |
| Firefox | 3.5 | 2009-06-30 |
| Chrome | 3 | 2009-09-15 |
| Firefox for Android | 4 | 2011-03-29 |
| Safari on iOS | 5 | 2011-10-12 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

