Egg yolks contain abundant lipids, proteins, and minerals that provide not only essential nutrients for embryonic development but also cheap sources of nutrients for consumers worldwide. Previous composition analyses of egg yolks primarily focused on nutrients such as lipids and minerals. However, few studies have reported the effects of domestication and heating on yolk composition and characteristics. The objective of this study was to investigate the impact of domestication and boiling on the metabolite contents of egg yolks via untargeted metabolomics using GC-MS and LC-MS. In this study, eggs were collected from Fenghua teals, captive mallards, and Shaoxing ducks. Twelve duck eggs (half raw and half cooked) were randomly selected from each variety, and the egg yolks were separated for metabolic profiling. The analysis identified 1205 compounds in the egg yolks. Domestication generated more differential metabolites than boiling, which indicated that the changes in the metabolome of duck egg yolk caused by domestication were greater than those caused by boiling. In a comparative analysis of domestic and mallard ducks, 48 overlapping differential metabolites were discovered. Among them, nine metabolites were upregulated in domesticated ducks, including monoolein, emodin, daidzein, genistein, and glycitein, which may be involved in lipid metabolism; some of them may also act as phytoestrogens (flavonoids). Another 39 metabolites, including imethylethanolamine, harmalan, mannitol, nornicotine, linoleic acid, diphenylamine, proline betaine, alloxanthin, and resolvin d1, were downregulated by domestication and were linked to immunity, anti-inflammatory, antibacterial, and antioxidant properties. Furthermore, four overlapping differential metabolites that included amino acids and dipeptides were discovered in paired comparisons of the raw and boiled samples. Our findings provided new insights into the molecular response of duck domestication and supported the use of metabolomics to examine the impact of boiling on the composition of egg yolks.