Determining if you need a permit for a pergola depends on your location, the local bylaws, and the size of the pergola. It also may be dependent on the position of the pergola and if it is attached to the house.