---
title: req.restarts
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/server/req-restarts
---

**Type:** INTEGER  
**Access:** read-only

**Available in:** all subroutines

Counts the number of times the VCL has been restarted.  For more information, check out the `restart` statement.
