The activities of beta-glucuronidases from Helix pomatia, Escherichia coli and rat towards the N-glucuronides of amitriptyline and diphenhydramine were considerably lower than those towards standard substrates. The two N-glucuronides were analysed in urine samples by the following procedures: HPLC of the intact conjugate after solid-phase extraction on a cation exchanger cartridge or after direct injection of urine; HPLC of the aglycone after hydrolysis with beta-glucuronidase from H. pomatia or E. coli or after alkaline hydrolysis. Solid-phase extraction led to the highest recovery and precision, and sensitivity can be improved by extracting a larger volume of urine. On application to samples from patients under treatment with amitriptyline, the results of all procedures except alkaline hydrolysis were in good agreement. When diphenhydramine N-glucuronide was analysed in urine samples of volunteers, solid-phase extraction, hydrolysis by E. coli glucuronidase and alkaline hydrolysis resulted in similar values.