Understanding the thermomechanical response of rock at high temperatures is crucial for various energy applications such as underground coal gasification and geothermal systems. The study investigated the effects of temperature, mineral composition, and grain size on crack initiation (CI) and crack damage (CD) thresholds in Jodhpur sandstones using uniaxial compressive strength with acoustic emission, Brazilian tensile strength, and thermogravimetric analysis subjected to elevated temperatures. The study revealed distinct patterns in crack initiation stress threshold ratios (CISTR) and crack damage stress threshold ratios (CDSTR) influenced by mineral composition and grain size under temperature treatments. Ferruginous quartz arenite exhibited an inverse relationship between quartz content and crack initiation/damage stress thresholds, while siliceous quartz arenite and subarkose showed a positive correlation. The established variation is attributed to the differing grain boundary strengths among the minerals. Comparative analysis of crack thresholds with the minerals, excluding quartz and feldspar, revealed complex relationships with clay and other minerals. Finer-grained sandstones showed direct proportionality in CI and CISTR with clay content, while coarser sandstones exhibited an inverse relationship. Additionally, the study highlighted differential trends in toughness parameters and CISTR, emphasizing the role of grain size and heat-treatment conditions in governing stress thresholds. Significant chemical changes, including quartz phase shifts and kaolinite/muscovite dehydroxylation, occurred in sandstones at 500–600°C. The presence of kaolinite/hematite in ferruginous quartz arenite caused the increased mass loss in pure O2 due to kaolinite breakdown, while siliceous quartz arenite exhibited a greater mass loss in standard conditions. The findings suggest that quartz content does not consistently enhance rock strength under heat treatment, particularly in the presence of significant clay minerals, leading to an inverse quartz-rock strength relationship in ferruginous quartz arenites. The study provides valuable insights into the thermomechanical behavior of sandstones, which is crucial for assessing rock stability and durability in energy applications.