Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


The timeout event is fired when Progression is terminated due to preset time expiring.

Bubbles No
Cancelable No
Target objects XMLHttpRequest
Interface ProgressEvent


var client = new XMLHttpRequest()"GET", "")
  client.ontimeout = function(e) {


The timeout event implements the ProgressEvent interface, which inherits from Event — it has available the properties and methods defined on this interface.


Specification Status Comment
XMLHttpRequest Living Standard  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 3.5 (1.9.1) 10.0 (Yes) (Yes)
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support (Yes) (Yes) 1.0 (1.9.1) 10.0 (Yes) (Yes) (Yes)

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, MashKao
 Last updated by: chrisdavidmills,