<p><strong>Abstract.</strong> The Integrated Model to Assess the Global Environment–Global Nutrient Model (IMAGE–GNM) is a global distributed, spatially explicit model using hydrology as the basis for describing nitrogen (N) and phosphorus (P) delivery to surface water, transport and in-stream retention in rivers, lakes, wetlands and reservoirs. It is part of the integrated assessment model IMAGE, which studies the interaction between society and the environment over prolonged time periods. In the IMAGE–GNM model, grid cells receive water with dissolved and suspended N and P from upstream grid cells; inside grid cells, N and P are delivered to water bodies via diffuse sources (surface runoff, shallow and deep groundwater, riparian zones; litterfall in floodplains; atmospheric deposition) and point sources (wastewater); N and P retention in a water body is calculated on the basis of the residence time of the water and nutrient uptake velocity; subsequently, water and nutrients are transported to downstream grid cells. Differences between model results and observed concentrations for a range of global rivers are acceptable given the global scale of the uncalibrated model. Sensitivity analysis with data for the year 2000 showed that runoff is a major factor for N and P delivery, retention and river export. For both N and P, uptake velocity and all factors used to compute the subgrid in-stream retention are important for total in-stream retention and river export. Soil N budgets, wastewater and all factors determining litterfall in floodplains are important for N delivery to surface water. For P the factors that determine the P content of the soil (soil P content and bulk density) are important factors for delivery and river export.</p>