The inclusion of spent hemp biomass (SHB), an extracted byproduct from industrial cannabidiol (CBD) production, in the diets of dairy cows and lambs appears to be safe with minor effects on the metabolism, including a decrease in circulating cholesterol and increase bilirubinemia, both associated with liver metabolism. Those effects could be consequence of the presence of cannabinoids, particularly Δ9-tetrahydrocannabinol (THC) and CBD in the SHB. This study aimed to study the transcriptional profile of the liver of dairy cows and lambs fed SHB. Dairy cows received SHB or alfalfa pellet for four weeks of intervention (IP) and four weeks of withdrawal periods (WP). Finishing lambs were fed a control diet (CON), 10% (LH2), or 20% (HH2) SHB for 2 months or 1 month followed by 1-month SHB withdrawal (LH1 and HH1, respectively). RNA sequencing was performed, and the mRNA was annotated using the latest reference genomes. The RNAseq data were filtered, normalized for library size and composition, and statistically analyzed by DESeq2. The bioinformatic analysis was performed by using DAVID, Gene Set Enrichment Analysis (GSEA), and the Dynamic Impact Approach. Using a 0.2 FDR cut-off, we identified only ≤24 differentially expressed genes (DEG) in the liver by feeding SHB in dairy cows and a larger number of DEGs in lambs (from 71 in HH1 vs. CON to 552 in LH1 vs. CON). The KEGG analysis demonstrated that feeding SHB in dairy cows and lambs had relatively minor to moderate metabolic alterations in dairy cows and lambs mainly associated with amino acids and lipid metabolism whereas cholesterol synthesis was overall activated in lambs. GSEA identified activation of the PPAR signaling pathway only in dairy cows. We found an opposite effect on activation of metabolism of drug and xenobiotics by cytochrome P450 enzymes in dairy cows and lambs receiving less SHB but an inhibition in HH2 lambs. Immune system-related pathways were inhibited by feeding SHB in lambs, but the impact was minor. Cumulatively, inclusion of SHB containing cannabinoids in dairy and lambs demonstrate very little effects on the alteration of transcriptomic profile of the liver.