The detoxification of ammonia occurs mainly through conversion of ammonia to urea in the liver via the urea cycle and glutamine synthesis. Congenital portosystemic shunts (CPSS) in dogs cause hyperammonemia eventually leading to hepatic encephalopathy. In this study, the gene expression of urea cycle enzymes (carbamoylphosphate synthetase (CPS1), ornithine carbamoyltransferase (OTC), argininosuccinate synthetase (ASS1), argininosuccinate lyase (ASL), and arginase (ARG1)), N-acetylglutamate synthase (NAGS), Glutamate dehydrogenase (GLUD1), and glutamate-ammonia ligase (GLUL) was evaluated in dogs with CPSS before and after surgical closure of the shunt. Additionally, immunohistochemistry was performed on urea cycle enzymes and GLUL on liver samples of healthy dogs and dogs with CPSS to investigate a possible zonal distribution of these enzymes within the liver lobule and to investigate possible differences in distribution in dogs with CPSS compared to healthy dogs. Furthermore, the effect of increasing ammonia concentrations on the expression of the urea cycle enzymes was investigated in primary hepatocytes in vitro. Gene-expression of CPS1, OTC, ASL, GLUD1 and NAGS was down regulated in dogs with CPSS and did not normalize after surgical closure of the shunt. In all dogs GLUL distribution was localized pericentrally. CPS1, OTC and ASS1 were localized periportally in healthy dogs, whereas in CPSS dogs, these enzymes lacked a clear zonal distribution. In primary hepatocytes higher ammonia concentrations induced mRNA levels of CPS1. We hypothesize that the reduction in expression of urea cycle enzymes, NAGS and GLUD1 as well as the alterations in zonal distribution in dogs with CPSS may be caused by a developmental arrest of these enzymes during the embryonic or early postnatal phase.