# Maintenance Mode for Nextcloud

Find where your Nextcloud config file is and edit it. Mine is stored here  
`/data/config/config.php`

In the last block of commands, add this somewhere in there.

```php
'maintenance' => true,
```

Save and quit. You should now be in Maintenance mode.

You don't always have to restart. It might just enter it right after saving.