The set-up, application and validation of a generic ecological model (GEM) for estuaries and coastal waters is presented. This model is a comprehensive ecological model of the bottom of the foodweb, consisting of a set of modules, representing specific water quality processes and primary production that can be combined with any transport model to create a dedicated model for a specific ecosystem. GEM links different physical, chemical and ecological model components into one generic and flexible modelling tool that allows for variable sized, curvilinear grids to accomodate both the requirements for local accuracy while maintaining a relatively short model run-time. The GEM model describes the behaviour of nutrients, organic matter and primary producers in estuaries and coastal waters, incorporating dynamic process modules for dissolved oxygen, nutrients and phytoplankton. GEM integrates the best aspects of existing Dutch estuarine models that were mostly dedicated to only one type of ecosystem, geographic area or subset of processes. Particular strengths of GEM include its generic applicability and the integration and interaction of biological, chemical and physical processes into one predictive tool. The model offers flexibility in choosing which processes to include, and the ability to integrate results from different processes modelled simultaneously with different temporal resolutions. The generic applicability of the model is illustrated using a number of representative examples from case studies in which the GEM model was successfully applied. Validation of these examples was carried out using the 'cost function' to compare model results with field observations. The validation results demonstrated consistent accuracy of the GEM model for various key parameters in both spatial dimensions (horizontally and vertically) as well as temporal dimensions (seasonally and across years) for a variety of water systems without the need for major reparameterisation.