Vitamin B(12) is an essential nutrient for more than half of surveyed marine algae species, but methods for directly measuring this important cofactor in seawater are limited. Current mass spectrometry methods do not quantify all forms of B(12), potentially missing a significant portion of the B(12) pool. We present a method to measure vitamins B(1), B(2), B(6), B(7) and four forms of B(12) dissolved in seawater. The method entails solid-phase extraction, separation by ultra-performance liquid chromatography, and detection by triple-quadrupole tandem mass spectrometry using stable-isotope-labeled internal standards. We demonstrated the use of this method in the environment by analyzing B(12) concentrations at different depths in the Hood Canal, part of the Puget Sound estuarine system in Washington State. Recovery of vitamin B(12) forms during the preconcentration steps was >71% and the limits of detection were <0.275 pM in seawater. Standard addition calibration curves in three different seawater matrices were used to determine analytical response and to quantify samples from the environment. Hydroxocobalamin was the main form of B(12) in seawater at our field site. We developed a method for quantifying four forms of B(12) in seawater by liquid chromatography/mass spectrometry with the option of simultaneous analysis of vitamins B(1), B(2), B(6), and B(7). We validated the method and demonstrated its application in the field.