NMFs are primarily derived from the breakdown of filaggrin, a protein that aggregates keratin fibers in the stratum corneum. Enzymes within the skin break down filaggrin into its constituent amino acids and other derivatives, which then contribute to the pool of NMFs. This process is regulated by various factors, including the skin's hydration levels and environmental conditions.