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

# matchMedia (`matchmedia`)

The window.matchMedia() method checks whether a media query applies to the document.

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://drafts.csswg.org/cssom-view-1/#dom-window-matchmedia
- **Constituent BCD keys**: 10

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 9 | 2011-02-03 |
| Safari | 5.1 | 2011-07-20 |
| Firefox | 6 | 2011-08-16 |
| Firefox for Android | 6 | 2011-08-16 |
| Safari on iOS | 5 | 2011-10-12 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

