Heat consumption is a serious energy waste, especially in an extremely cold environment. In view of their excellent advantages, several kinds of aerogels with different functions were emerged successively and served as critical materials in various areas. In this contribution, a simple strategy was developed to fabricate a high-fidelity and high-performance organic/inorganic composite aerogel by integrating dianhydrid-end capped polyamide acid (PAA) precursor and multi-amino functionalized hydroxyapatite (m-AmHA; used as the inorganic cross-linkers) in different feed ratios. Followed by the freeze-drying and thermal imidization treatments, the chemical cross-linked polyimide (PI) and HA based aerogels (HAx@PI, in which x represents the percentage of HA content) were obtained. The synergistic effect of inorganic filler and microporous structure of aerogel led to a great improvement of mechanical and thermal properties. Most importantly, the resultant HAx@PI aerogels could maintain their excellent physicochemical properties in several extreme environments such as ultra hot (300 °C), extreme cold (-196 °C; liquid nitrogen), water soaking (2 h, 40 °C), acid (pH 2.0; 1 h, 40 °C) and alkali (pH 12.0; 1 h, 40 °C) conditions. Based on these outstanding properties, we believe that such HAx@PI composite aerogels with low cost and high performances endowed them to be an ideal candidate to be employed in several harsh environments in addition to the conventional insulation and flame-retardant materials.