--- title: "htmx.config.defaultTimeout" description: "Default timeout for requests in milliseconds" --- The `htmx.config.defaultTimeout` option sets the default timeout for all htmx requests. **Default:** `60000` (60 seconds) ## Example ```javascript htmx.config.defaultTimeout = 30000; // 30 seconds ``` ```html ``` Requests that exceed this timeout will be aborted.