Goats are of special importance in the Mediterranean and tropical regions for producing a variety of dairy products. The scarcity of pastures during the dry season leads to seasonal weight loss (SWL), which affects milk production. In this work, we studied the effect of feed-restriction on two dairy goat breeds, with different tolerance levels to SWL: the Majorera breed (tolerant) and the Palmera breed (susceptible). Nuclear magnetic resonance (NMR) was used to compare the metabolome of an aqueous fraction of the mammary gland and milk serum from both breeds. Goats in mid-lactation were divided by breed, and each in two feed-regime groups: the control group and the restricted-fed group (to achieve 15-20% reduction of body weight at the end of the experiment). Milk and mammary gland samples were collected at the end of the experimental period (23rd day). 1H NMR spectra were collected from the aqueous extract of the mammary gland biopsies and the milk serum. Profiling analysis has led to the identification of 46 metabolites in the aqueous extract of the mammary gland. Lactose, glutamate, glycine and lactate were found to be the most abundant. Analysis of milk serum allowed the identification of 50 metabolites, the most abundant being lactose, citrate and creatine. Significant differences were observed, in mammary gland biopsies and milk serum, between control and restricted-fed groups in both breeds, albeit with no differences between the breeds. Variations seem to be related to metabolism adaptation to the low-energy diet and are indicative of breed-specific microflora. Milk serum showed more metabolites varying between control and restricted groups, than the mammary gland. The Majorera breed also showed more variations than the Palmera breed in milk samples, which could be an indication of a prompt adaptation to SWL by the Majorera breed.