This study systematically investigated the effects of acute temperature stress on transcriptional levels and gut microbiota in the narrow clawed crayfish (Pontastacus leptodactylus). GO enrichment analysis showed that upregulated genes were significantly enriched in biological process terms (chitin-based cuticle development, vacuolar acidification, and lysosomal lumen acidification), the cellular component term sarcomere, and molecular function terms (structural constituent of cuticle and proton channel activity). In contrast, downregulated genes were primarily associated with normal growth and development, exoskeleton mineralisation, and enzymatic degradation processes, such as molting cycle, chitin breakdown, and skeletal mineralisation, indicating suppression of routine physiological activities under stress conditions. KEGG pathway analysis further showed that upregulated genes were significantly enriched in apoptosis, gap junctions, mTOR signaling, and Toll like receptor pathways, reflecting activation of cellular defense and immune regulatory networks. In contrast, downregulated genes were mainly enriched in oxidative phosphorylation and thermogenesis, suggesting impaired mitochondrial energy metabolism. RT-qPCR validation of 14 representative DEGs strongly agreed with transcriptomic data, confirming the results' reliability. Meanwhile, alpha-diversity analysis of the gut microbiota revealed numerically higher Chao1 and observed species richness estimates but lower Simpson and Shannon diversity indices under acute temperature stress, although none of these differences reached statistical significance (all P > 0.05). At the genus level, acute temperature stress substantially increased the relative abundances of Hafnia-Obesumbacterium, Enterobacter, and Raoultella, while dominant genera such as Prevotella and Agathobacter declined significantly, as confirmed by LEfSe analysis. Functional prediction results indicated a significant increase in proportions of biofilm formation, stress tolerance, and potentially pathogenic bacterial phenotypes in the stressed group, along with notable reductions in the relative abundances of multiple KEGG orthologs and COG functional categories, suggesting a reduction in predicted gut microbial functional potential. Overall, acute temperature increased profoundly reshaped the transcriptional expression profile and intestinal microecological structure of the narrow-clawed crayfish, providing essential molecular and microbiological insights into its adaptive mechanisms to acute high temperature.