Bile duct ligation (BDL) in developing rats causes cholestasis, impaired liver function and cognition. Because both nitric oxide (NO) and ammonia are implicated in hepatic encephalopathy (HE), we hypothesized that asymmetric dimethylarginine (ADMA), an endogenous NO synthase inhibitor, and ammonia affect cognition in young rats with BDL. Four groups of young male Sprague-Dawley rats ages 17 days were used: rat underwent laparotomy (SC group), rat underwent laparotomy plus a 30% ammonium acetate diet (SC+HA group), rat underwent BDL (BDL group), rats underwent BDL plus high ammonia diet (BDL+HA group). Spatial memory was assessed by Morris water maze task. Plasma was collected for biochemical and ADMA analyses. Liver and brain cortex were collected for determination of protein arginine methyltransferase-1 (PRMT1, ADMA-synthesizing enzyme) and dimethylarginine dimethylaminohydrolase (DDAH, ADMA-metabolizing enzyme). We found BDL group had significantly higher plasma direct/total bilirubin, aspartate aminotransferase, alanine aminotransferase, ADMA, liver p22(phox), and worse spatial performance as compared with SC group. High ammonia diet increased plasma ammonia and ADMA concentration, and aggravated spatial deficit in the presence of BDL-induced cholestasis. We conclude plasma ADMA plays a role in BDL-induced spatial deficit. High ammonia aggravated the spatial deficits encountered in cholestatic young rats.