The need for a permit to build a pergola with a roof will vary depending on your location and local regulations. It's best to check with your local building department for specific requirements.