This work describes a robust and straightforward method to detect and quantify the endocannabinoid 2-arachidonoylglycerol (2-AG) in C. elegans. An analytical deuterated standard us prepared and used for the quantification of 2-AG by isotopic dilution and liquid chromatography-electrospray ionization-tandem mass spectrometry (LC-ESI-MS/MS).