A novel method based on a physics informed data driven model is developed to design an origami composite crash tube. The structure consists of two axially stacked basic components, called modules. Each module presents lower and upper square sections with an octagonal section in the middle. The parameters of the octagonal cross-section and the height of each module are optimized to maximize the energy absorption of the tube when subjected to an axial impact. In contrast to standard surrogate modelling techniques, whose accuracy only depends on the amount of available data, a Physics-informed Neural Network (PINN) scheme is adopted to correlate the crushing response of the single modules to that of the whole origami tube, constraining the data driven method to physically consistent predictions. The PINN is first trained on the results obtained with an experimentally validated Finite Element model and then used to optimize the structure. Results show that the PINN can accurately predict the crushing response of the origami tube, while consistently reducing the computational effort required to explore the whole design domain. Also, the comparison with a standard Feed Forward Neural Network (FFNN) shows that the PINN scheme leads to more accurate results.