The nitrogen cycle is an important process in the ocean as well. While the overall cycle is similar, there are different players and modes of transfer for nitrogen in the ocean. Nitrogen enters the water through the precipitation, runoff, or as  from the atmosphere. Nitrogen cannot be utilized by phytoplankton as  so it must undergo nitrogen fixation which is performed predominately by cyanobacteria. Without supplies of fixed nitrogen entering the marine cycle, the fixed nitrogen would be used up in about 2000 years. Phytoplankton need nitrogen in biologically available forms for the initial synthesis of organic matter.  Ammonia and urea are released into the water by excretion from plankton. Nitrogen sources are removed from the euphotic zone by the downward movement of the organic matter. This can occur from sinking of phytoplankton, vertical mixing, or sinking of waste of vertical migrators. The sinking results in ammonia being introduced at lower depths below the euphotic zone. Bacteria are able to convert ammonia to nitrite and nitrate but they are inhibited by light so this must occur below the euphotic zone. Ammonification or Mineralization is performed by bacteria to convert organic nitrogen to ammonia. Nitrification can then occur to convert the ammonium to nitrite and nitrate. Nitrate can be returned to the euphotic zone by vertical mixing and upwelling where it can be taken up by phytoplankton to continue the cycle.  can be returned to the atmosphere through denitrification.
Ammonium is thought to be the preferred source of fixed nitrogen for phytoplankton because its assimilation does not involve a redox reaction and therefore requires little energy. Nitrate requires a redox reaction for assimilation but is more abundant so most phytoplankton have adapted to have the enzymes necessary to undertake this reduction (nitrate reductase). There are a few notable and well-known exceptions that include most Prochlorococcus and some Synechococcus that can only take up nitrogen as ammonium.
The nutrients in the ocean are not uniformly distributed. Areas of upwelling provide supplies of nitrogen from below the euphotic zone. Coastal zones provide nitrogen from runoff and upwelling occurs readily along the coast. However, the rate at which nitrogen can be taken up by phytoplankton is decreased in oligotrophic waters year-round and temperate water in the summer resulting in lower primary production. The distribution of the different forms of nitrogen varies throughout the oceans as well.
Nitrate is depleted in near-surface water except in upwelling regions. Coastal upwelling regions usually have high nitrate and chlorophyll levels as a result of the increased production. However, there are regions of high surface nitrate but low chlorophyll that are referred to as HNLC (high nitrogen, low chlorophyll) regions. The best explanation for HNLC regions relates to iron scarcity in the ocean, which may play an important part in ocean dynamics and nutrient cycles. The input of iron varies by region and is delivered to the ocean by dust (from dust storms) and leached out of rocks. Iron is under consideration as the true limiting element to ecosystem productivity in the ocean.
Ammonium and nitrite show a maximum concentration at 50–80 m (lower end of the euphotic zone) with decreasing concentration below that depth. This distribution can be accounted for by the fact that nitrite and ammonium are intermediate species. They are both rapidly produced and consumed through the water column. The amount of ammonium in the ocean is about 3 orders of magnitude less than nitrate. Between ammonium, nitrite, and nitrate, nitrite has the fastest turnover rate. It can be produced during nitrate assimilation, nitrification, and denitrification; however, it is immediately consumed again.