This study examines the effect of slag and dune sand replacement (binary and ternary) in cement production, focusing on key mechanical properties and chemical behavior, especially on fire loss and residual an insoluble examined at different curing times ranging from 2 to 210 days. The findings show that the addition of slag and dune sand powder significantly influences the mechanical and thermal properties of mortar mixtures replaced by slag the compressive strength increases up to 30% and a slight decrease up to 40 is observed %. Ternary mixes show improved long-term compressive strength, especially after 120, 210 days, although generally young strength is lower than control When binary and ternary are combined with high flexural strength, ternary mixes exhibit good long-term performance, especially in mixtures of 20-30% slag and 10% dune sand lime (ACHOURA, D and al. 2008). From a thermal perspective, the replacement of slag with dune sand lime reduces losses during combustion, indicating excellent thermal stability. The addition of dune sand lime increases the proportion of impervious residue, indicating stability and durability of the cement. Overall, the study concludes that the proper use of slag and dune sand lime especially in ternary mixes can significantly improve the long-term mechanical and thermal performance of cement mortars Thus these findings provide valuable insights for designing building materials with higher durability and strength to suit specific construction application applications.