An analytical method for the determination of glyphosate, its principal degradation compound, aminomethylphosphonic acid (AMPA), and glufosinate in water with varying matrices has been developed. Four different sample matrices fortified at 0.2 and 2.0 μg/L (micrograms per liter) were analyzed using precolumn derivatization with 9-fluorenylmethylchloroformate (FMOC). After derivatization, cleanup and concentration were accomplished using automated online solid-phase extraction followed by elution with the mobile phase allowing for direct injection into a liquid chromatograph/mass spectrometer (LC/MS). Analytical conditions for MS detection were optimized, and quantitation was carried out using the following representative ions: 390 and 168 for glyphosate; 332, 110, and 136 for AMPA; and 402, 180, and 206 for glufosinate. Matrix effects were minimized by utilizing standard addition for quantification and an isotope-labeled glyphosate (2-13C,15N) as the internal standard. Method detection limits (MDLs) were 0.084 μg/L for glyphosate, 0.078 μg/L for AMPA, and 0.057 μg/L for glufosinate. The method reporting limits (MRLs) were set at 0.1 μg/L for all three compounds. The mean recovery values ranged from 88.0 to 128.7 percent, and relative standard deviation values ranged from 5.6 to 32.6 percent.