The calculated distance (air line) between Pamplona and Irun is approximately 37 miles respectively 59 kilometers.
By car or train, the actual journey to Irun is certainly longer, as only the direct route (as the crow flies) between Pamplona and Irun has been calculated here.