The long-term fertility of the ocean depends on the external supply and internal recycling of nutrients. We build geochemical models to study the mechanisms that maintain the availability of key limiting nutrients such as nitrogen, silicon and iron. This work includes simulating nutrient cycles and their isotopes in the modern ocean and their changes through geologic time.