The introduction of nanoparticles into fluids have been used in various sciences such as; heat transfer, drilling mud, hydraulic fracturing, EOR, and widely in biotechnology science. The dispersion of nanoparticles in the fluid can affect significantly the viscosity of the system. In this study, a self-organizing polynomial neural network based on a group method of data handling (GMDH) is developed to investigate the viscosity of water-based nanofluids regarding temperature and especially pressure changes. The influence of high pressure has not been previously considered in any correlation. The results were estimated using the GMDH model and have higher accuracy than various theoretical models and empirical equations and show the coefficient of determination of 0.999.