This document discusses the in situ synthesis of titanium carbide (TiC) nanoparticles within an aluminum matrix during mechanical alloying using nanodiamond powders as carbon precursors. The study demonstrates that the optimal combination of materials for synthesis is aluminum (30 g) and TiC (40 g), resulting in nanoparticles averaging around 30 nm, which are uniformly distributed in the matrix. Differential scanning calorimetry shows that the developed composites maintain thermal stability, making them suitable for applications in casting technologies.