This research endeavors to scrutinize the microtextures of quartz grains obtained from two distinct regions in Algeria: the beaches of Ain Temouchent Province along the Mediterranean coast and the sand dunes of Adrar Province in the southern part of the country. The analysis focuses on examining the shape and size of the quartz grains, with particular attention to the smooth texture of the surfaces. Quartz grains from both coastal and desert regions exhibit an angular to sub-circular shape, indicating diverse and heterogeneous origins with short to medium transport processes. Notably, differences emerge in the mechanical features present on the surfaces of these quartz grains, allowing for the differentiation and partial prediction of their respective environments. Mechanical signs such as percussion marks (Pm), V-shaped marks (Vs), parallel striations (Ps), meandering ridges (Mr), bulged edges (ble), crystal overgrowths (Cro), and rough terrain are prevalent on grains from the beaches of Ain Temouchent Province, indicating a high-energy beach environment. Conversely, quartz grains from the Adrar region exhibit abundant features such as grain-to-grain impact (CK), meandering ridges (Mr), bulged edges (ble), and smooth surfaces, signifying exposure to strong air currents and facilitating the transportation of grains over considerable distances, contributing to erosion processes in the area. This comprehensive analysis provides valuable insights into the geological history and sedimentary processes of the coastal and sand dune environments in Algeria.