The answer to this question depends on your local building codes and regulations. Generally, a permit may be required if the pergola is attached to a structure, or is larger than a certain size. It’s important to check with your local building department to verify what types of permits may be needed.