The regulation of food intake occurs at multiple levels, and two of the components of this process are orexigenic and anorexigenic peptides, which stimulate or inhibit appetite, respectively. The study of the function of these compounds in domestic cattle is essential for production efficiency, animal welfare, and health, as well as for economic benefits, environmental protection, and the contribution to a better understanding of physiological aspects that can be applied to other species. In this study, the real-time PCR method was utilized to determine the expression levels of GHRL, GHSR, SMIM20, GPR173, LEP, LEPR, and NUCB2 (which encode ghrelin, its receptor, phoenixin-14, its receptor, leptin, its receptor, and nesfatin-1, respectively) in the gastrointestinal tract (GIT) of Polish Holstein–Friesian breed cattle. In all analyzed GIT segments, mRNA for all the genes was present in both age groups, confirming their significance in these tissues. Gene expression levels varied distinctly across different GIT segments and between young and mature subjects. The differences between calves and adults were particularly pronounced in areas such as the forestomachs, ileum, and jejunum, indicating potential changes in peptides regulating food intake based on the developmental phase. In mature individuals, the forestomachs predominantly displayed an increase in GHRL expression, while the intestines had elevated levels of GHSR, GPR173, LEP, and NUCB2. In contrast, the forestomachs in calves showed upregulated expressions of LEP, LEPR, and NUCB2, highlighting the potential importance of peptides from these genes in bovine forestomach development.