Introduction

Gas adsorption isotherms have long served as essential tools for characterizing porous materials. Their shapes are traditionally interpreted based on the static structural features of rigid adsorbents, including pore size distribution, specific surface area, and surface chemistry. Microporous materials bearing rigid pores display a typical type I adsorption isotherm1 (Fig. 1a). However, this conventional understanding becomes inadequate when applied to dynamic sorbents that undergo structural transformations upon guest molecule uptake. In such systems, adsorption behavior reflects not only pre-existing porosity but is also significantly governed by kinetic processes driven by adsorption-induced structural changes. These processes frequently lead to distinctive isotherm features such as multi-step profiles, pronounced hysteresis, and unusual inflection points, which often indicate selective gas uptake mediated through framework flexibility or phase transitions. Adsorbents having flexible, adaptive, or dynamic pores/channels or discrete cavities exhibit stepped or S-shaped adsorption isotherms (Fig. 1b), providing significant advantages for practical adsorption and separation owing to the increased working capacity2,3. The abrupt change in gas uptake reflected by a steep profile in the isotherm is a signature of a gating effect, which involves a structural transition of the adsorbent driven by guest adsorption. A counter-intuitive phenomenon of negative gas adsorption in a stepped isotherm on DUT-49 (Dresden University of Technology No. 49) has been identified4. The process involves pressure-induced structural deformation and pore contraction with gas desorption during pressure increase, resulting in pressure amplification in a microsystem (Fig. 1c). In contrast to Negative Gas Adsorption (NGA), we identify and define a distinct phenomenon, which we term Negative Pressure Intrusion (NPI), observed in a dynamic porous framework (Fig. 1d). The NPI event is initiated by a guest-induced structural transition that triggers a substantial and abrupt increase in the material’s gas adsorption capacity. Within a constant-volume system, this surge in uptake causes a net depletion of gas molecules from the free gas phase, resulting in a characteristic pressure decrease. Consequently, although both NGA and NPI produce anomalous steps in adsorption isotherms driven by structural transitions, they represent fundamentally opposite mechanisms. While the dynamic sorption properties of flexible metal–organic frameworks (MOFs) and covalent organic frameworks (COFs) have been extensively studied, hydrogen-bonded frameworks (HOFs) are emerging as a promising alternative5,6,7. Certain HOFs exhibit permanent porosity, enabling applications in gas adsorption and separation8,9,10. However, the construction of robust HOFs remains challenging due to the weak nature of hydrogen bonds5,11. A key strategy to overcome this limitation involves incorporating electrostatic interactions through charge-assisted hydrogen bonds, leading to a subclass known as hydrogen–bonded ionic frameworks (HIFs). Comprising ionic building units, HIFs benefit from enhanced structural stability imparted by these stronger interactions, without compromising the intrinsic flexibility derived from the versatile geometry of hydrogen bonds12. This flexibility allows HIFs to undergo reversible structural reorganization in response to external stimuli such as pressure, heat, or solvent13,14,15,16. The dynamic behavior of HIFs has been demonstrated in several systems. For example, one HIF constructed from guanidinium cations and methyl borate anions undergoes a reversible collapse and reconstruction process to capture and release methanol molecules17. Similarly, another HIF based on [Co(NH3)6]3+ and SO42 ions shows reversible framework disassembly and reassembly, facilitating low-energy CO2 capture and release15.

Fig. 1: The relationship between the adsorption isotherm and the adsorbent structure.
Fig. 1: The relationship between the adsorption isotherm and the adsorbent structure.The alternative text for this image may have been generated using AI.
Full size image

a Type I adsorption isotherm and rigid microporous materials. b S-shaped adsorption isotherm and flexible porous materials. c Negative gas adsorption isotherm associated with structural deformation and pore contraction of adsorbents. d, e Negative pressure inflexion adsorption isotherm and structural changes of the adsorbent with increasing gas pressure.

Here, we report three phases of guanidinium sulfate (GS) as a model HIF system, designated α-, β-, and γ-GS based on their thermodynamic stability as revealed by the complete energy landscape from crystal structure prediction (CSP). Under mild conditions, GS shows great potential for CO2 capture, storage and transport, with an uptake capability of up to 4.2 mmol g−1 at 273 K and 100 kPa, an uptake that is competitive with leading MOFs and HOFs and other leading porous materials. Impressively, we observed that this exceptional performance is attributed to a multi-stepped CO2 adsorption process exhibited by β-GS, which displays an abnormal negative pressure inflection (NPI) phenomenon under near-ambient conditions. As demonstrated in Fig. 1d, β-GS is inactive toward CO2 adsorption at low pressures. With increasing CO2 pressure, the gas overcomes an energy barrier and infiltrates the isolated cavities of the GS structure until a critical pressure is reached. Subsequent CO2 dosing leads to continuous gas uptake accompanied by a pressure decrease in the test tube, resulting in a negative pressure inflection in the adsorption isotherm, followed by complete saturation and a phase transformation from β-GS to γ-GS (Fig. 1e). We note that apparent pressure inflections in the adsorption isotherms of some MOFs have been reported and mechanistically investigated. Building upon these fundamental insights, the present study provides a more comprehensive mechanistic interpretation6,18,19,20,21,22,23. The NPI adsorption in H-bonded salt and HOF materials has not been reported, to the best of our knowledge. Note that the CO2-induced crystallization of CO2@GS clathrate from GS aqueous solution in our previous work is a typical supramolecular assembly process that is similar to the formation of natural gas hydrates and hence inherently distinct from CO2 adsorption and diffusion in the solid salt24.

Results

Structure and porosity of α-GS

α-GS is directly prepared by neutralization reaction between commercially available guanidinium carboxylate and sulfuric acid and recrystallized from aqueous solution24. As the parent compound of guanidinium organosulfonate compounds25, α-GS is assembled through N–H···O H-bonds between Gua+ ions and SO42 ions26 (Supplementary Fig. 1a–c). Detailed structural analyses disclose that α-GS contains isolated cavities, which are situated in the ionic cages composed of SO42 ions and Gua+ ions connected by H-bonds (Supplementary Fig. 1d). With a probe radius of 1.4 Å, the cavity volume within a single unit cell was found to be 750.22 Å3, accounting for 13.4% of the unit cell volume. Thermogravimetric analysis (TGA) of α-GS manifests that there is no weight loss before its decomposition temperature at 545 K, indicating there is no crystalline water in α-GS (Supplementary Fig. 2). α-GS activated at 353 K displays negligible N2 adsorption at 77 K (Supplementary Fig. 3), but a reasonable CO2 adsorption of 0.58 mmol g−1 at 100 kPa and 273 K (Fig. 2a, equilibration time of 600 s), suggesting that α-GS can selectively adsorb carbon dioxide. The scanning electron microscope (SEM) image shows that the sizes of GS particles used for adsorption measurement are on the micrometer scale (Supplementary Fig. 4), ensuring that surface adsorption effects are excluded.

Fig. 2: CO2 adsorption isotherms of GS and corresponding structural changes.
Fig. 2: CO2 adsorption isotherms of GS and corresponding structural changes.The alternative text for this image may have been generated using AI.
Full size image

a CO2 adsorption and desorption isotherms of α-GS activated at 353 K and 453 K under vacuum, respectively, at 273 K with an equilibrium time of 600 s. b CO2 sorption isotherms of α-GS activated at 453 K with various equilibration conditions at 273 K. c The CO2 adsorption isotherms of α-GS activated at 453 K at various temperatures with equilibration time of 1800 s. d Variable-temperature powder X-ray diffraction (VT-PXRD) patterns of α-GS recorded from 373 to 473 K. The red dashed lines highlight the shift and disappearance of characteristic peaks corresponding to the α phase, while the blue dashed lines indicate the β phase. e Powder X-ray diffraction (PXRD) patterns of α-GS were collected for three distinct states: simulated patterns based on single-crystal X-ray diffraction (SCXRD) data of methanol (MeOH)-recrystallized samples, thermally transformed phases at 393 K, and experimentally obtained MeOH-recrystallized samples. f In situ PXRD patterns monitoring the phase transition from β-GS to CO2@γ-GS under 100 kPa CO2 at varying exposure times of 278 K (The red dashed lines indicate the emerging diffraction peaks corresponding to CO2-GS).

Abnormal CO2 adsorption isotherm of GS

Abnormal CO2 adsorption behavior with a pronounced hysteresis phenomenon was observed when α-GS is activated at 453 K under vacuum (Fig. 2a–c). For typical isotherm measurements of porous materials, equilibration conditions for each data point are set as pressure fluctuation lower than ±1% within 150 s. Upon extending the equilibrium time to 600 s, the CO2 adsorption amount is increased to 3.8 mmol g−1 (Fig. 2a). Unexpectedly, the amount of adsorbed CO2 continues to rise during the desorption stage, which suggests that equilibrium had not been reached by the end of adsorption at 100 kPa and the CO2 adsorption continues even at the lowering pressure during the desorption process. Specifically, during the initial desorption stage in the pressure range of 70–100 kPa, the adsorbed amount exceeds the value recorded at the end of the adsorption branch at the same pressure. This phenomenon was not observed in α-GS activated at 353 K under identical measurement conditions with a 600 s equilibrium time (Fig. 2a). We attribute this behavior to the sluggish kinetics of the structural transformation in the 453 K-activated sample. Subsequently, we further prolonged the equilibrium time to 1800–3600 s to ensure adsorption equilibrium (Fig. 2b, see experimental details in “Methods”). Then an odd multi-stepped adsorption isotherm with a negative pressure inflexion (NPI) was observed (Fig. 2b). We repeated measurements to exclude the experimental errors, and the phenomenon was reproducible (Supplementary Figs. 5, 6). After carefully analyzing the adsorption isotherm in the low-pressure range, we found that CO2 adsorption below 1 kPa was negligible, indicating a gating effect (gating point) (Supplementary Fig. 8b). Subsequently, CO2 uptake displayed an approximately linear relationship with pressure increasing up to 63 kPa at 273 K (critical point). Below the critical pressure, the adsorption data obtained with 600 s and 1800 s equilibration times were coincident (Supplementary Fig. 7). With continuous pressure increase, the NPI phenomenon emerged, accompanied by a sudden increase in CO2 uptake but a sharp pressure decrease inside the sample cell, showing an anomalous pressure drop to 45 kPa (NPI point), until final adsorption saturation is reached. The isotherm shows an obvious hysteresis loop, where desorption starts when the pressure drops below 50 kPa at 273 K (Supplementary Fig. 8a).

The CO2 adsorption isotherms for the sample of α-GS activated at 453 K at various temperatures were collected with an equilibrium time of 1800 s (Fig. 2c, Supplementary Figs. 812). Multi-stepped adsorption isotherms with NPI phenomena are observed at temperature ranging from 268 to 278 K (Fig. 2c). Once the temperature exceeds 278 K, prolonged equilibrium time setting does not change the sorption behavior of GS in the pressure range of 0 to 100 kPa and the desorption closely overlap the adsorption process, without hysteresis loop (Supplementary Fig. 13). We note that the shape of the adsorption isotherm before critical point at 273 K is similar to that at 298 K (Supplementary Fig. 14). To exclude the influence of adsorption equilibrium time, we further performed adsorption measurements on α-GS activated under 353 K with an extended equilibration period (Supplementary Fig. 15), which displayed a normal adsorption isotherm without gating effect and NPI phenomenon at pressures below 100 kPa at 273 K.

To elucidate the unconventional CO2 adsorption behavior, we conducted PXRD analyses for α-GS sample activated at 453 K and found a different crystalline phase (Supplementary Fig. 16). The in situ PXRD patterns during heating α-GS sample from 373 to 473 K also disclosed the phase transition starting from 393 K (Fig. 2d). The results are consistent with differential scanning calorimetry (DSC) data, which indicate a structural transformation initiating at 393 K and reverting at 261 K (Supplementary Fig. 17). Fortunately, the single crystals were obtained by dissolving α-GS powder in methanol and allowing the solution to stand undisturbed at room temperature for 7 days. The crystal structure was subsequently determined by single-crystal X-ray diffraction (Supplementary Table 2). The simulated PXRD patterns exactly overlap with the patterns obtained from thermal transformation of α-GS (Fig. 2e, Supplementary Fig. 18). This confirms that the same β-GS structure is produced via both solid-state thermal transformation and solution-phase recrystallization. Herein, we denote the new structure as the β-GS phase. In the β-GS structure, the SO42− anions are disordered over two equivalent positions, forming charge-assisted hydrogen bonds (Supplementary Fig. 19a, b) with surrounding Gua+ cations. The connectivity pattern generates a three-dimensional framework as illustrated in Supplementary Fig. 19c, d. Similar to α-GS, isolated cavities are also present in β-GS. The cavity volume within a single unit cell was determined to be 433.90 Å3 using a probe radius of 1.4 Å, accounting for 18.7% of the unit cell volume.

To further understand the adsorption and the associated structural transition mechanism, we collected the PXRD patterns before and after critical pressure (Supplementary Fig. 20) and identified another phase after the critical pressure, while the β-GS structure persisted below this threshold. We further performed in situ PXRD measurements over β-GS sample under CO2 pressure of 100 kPa at 278 K and observed the same new phase (Fig. 2f). Notably, the PXRD patterns of the new phase exhibited complete consistency with the one simulated from CO2@GS structure that was reported in our previous work24 (Supplementary Fig. 21). Thereafter, we named the new phase as γ-GS. However, efforts to grow CO2-free γ-GS single crystals were unsuccessful, both through optimizing crystallization conditions and activating CO2-GS. Though we obtained the structural information of GS under different conditions, it is still challenging to understand the phase transition events among the GS phases, especially during the CO2 adsorption process; therefore, we resort to computational calculations to disclose the transition mechanism, as discussed as follows.

Exploration of the crystal structure energy landscape of GS

Multistep adsorption isotherms may arise from guest-induced polymorphic transitions27,28 (although other mechanisms, such as stepwise site filling, can produce similar features). Accordingly, we performed crystal structure prediction (CSP) to systematically map the high-dimensional potential energy surface and establish the relative stabilities of polymorphs, thereby providing mechanistic insight into the system. During the CSP process, hundreds of thousands of trial structures were generated and subsequently optimized geometrically using a force field (Supplementary Fig. 22). Duplicates were then removed, and the low-energy structures were selected for further optimization at the DFT level, alongside the single crystal structures obtained from experiments (Fig. 3, see details in “Methods”).

Fig. 3: Exploring the energy landscape of GS polymorphs.
Fig. 3: Exploring the energy landscape of GS polymorphs.The alternative text for this image may have been generated using AI.
Full size image

a Energy–structure–function map for GS plotted against crystal density and color-coded by total volume. b Energy–structure–function map for GS plotted against total surface area and color-coded by density. c Crystal structures of the α-GS, β-GS, and γ-GS phases, with their corresponding void volumes. The probe radius used here is set to 1.65 Å, and the contact surface is used for visualization. d Crystal structures of CO2@γ-GS, with the corresponding CO2 positions highlighted using the space-filled display method. The CO2 positions are consistent with the pores in the γ-GS. e Overlay of the predicted γ-GS (theoretical) and the CO2-adopted CO2@γ-GS (experimental). The smallest molecules (CO2) are ignored during packing similarity testing.

The CSP landscape for GS is markedly different from typical organic systems, because the global minimum (α-GS) is a porous crystal (Fig. 3a–c), even though the GS building unit itself does not possess an inherent intramolecular cavity, unlike classic cage-like or macrocyclic porous molecules. This landscape indicates that the α-GS crystal is the most thermodynamically stable polymorph. β-GS, which is 6.76 kJ mol−1 higher in energy than the global minimum, falls within the typical energy window for the appearance of polymorphs in experiments29. In the lower-density region of the energy landscape, γ-GS was identified with a relative energy of 18.82 kJ mol−1, and its backbone perfectly matched that of CO2@γ-GS (Fig. 3d, e). The high relative energy for such a small molecule system suggests that this crystal structure may be challenging to be accessed under normal experimental conditions. This may explain why pure γ-GS crystals have not yet been obtained in experiments. The high-dimensional energy surface, projected onto the structural parameter of surface area, is also shown in Fig. 3b. In this plot, it is clear that α-GS, β-GS, and γ-GS are all situated on the leading edge and appear on separate spikes, indicating that they reside in distinct energy basins30,31. All of them exhibit porous properties, as illustrated in Fig. 3c. Moreover, a densely packed structure with a density of 1.55 g cm−3 and a relative energy of 3.19 kJ mol−1 was also identified in the landscape, suggesting that this system may possess additional potential structures yet to be observed experimentally (Supplementary Fig. 23). CSP results reveal three GS phases with stability of α > β > γ and the inverse order of porosity, agreeing with our experimental data. However, CO2 adsorption can alter the relative energy ranking and induce a structural transition, which is associated with the abnormal NPI phenomenon observed in this system.

GS structural transformation

We further performed the density functional theory calculations to investigate the phase transition during the CO2 adsorption process. To eliminate the structural disorder in β-GS, several non-disordered crystal models were manually constructed, and the one with the lowest lattice energy after structural relaxation was selected for further analysis. For a meaningful comparison, the symmetry of γ-GS was constrained to the C41221, giving it the same pore count and the same number of molecules per unit cell as β-GS (Supplementary Table 3). Models of both polymorphs were then constructed at a series of CO2 loadings, and their relaxed lattice energies were compared (Fig. 4a). In the guest-free state, β-GS is more stable than γ-GS, in agreement with the CSP result. However, the energy difference between CO2@β-GS and CO2@γ-GS diminishes rapidly with increasing CO2 uptake and inverts. The energy difference rises to 1.44 eV per unit cell when the pores of both polymorphs are fully saturated, providing the thermodynamic driving force for the observed phase transition during the CO2 adsorption process. These computational results support that γ-GS is a distinct thermodynamic phase, not merely a configurational variant of β-GS. γ-GS is more porous than β-GS as illustrated by CSP (cf. Specific surface area: 787.6 versus 585.4 m2 g−1, and void volume: 0.02145 versus 0.01595 mm3 g−1), therefore, the transition from β- to γ-GS at critical pressure point gives rise to the sharp CO2 adsorption and sudden pressure drop in the test tube, namely NPI (negative pressure inflexion) event in adsorption isotherm as observed in Fig. 2b, c.

Fig. 4: Structural transformation and phase transition among α-GS, β-GS and γ-GS.
Fig. 4: Structural transformation and phase transition among α-GS, β-GS and γ-GS.The alternative text for this image may have been generated using AI.
Full size image

a DFT calculation results of the potential energy difference between the beta and gamma phase polymorphs with different CO2 adsorption ratios. b Pore breathing events during MD simulations. The initially separated pockets gradually open and either connect to each other or become closed over time. Connected pockets are indicated by green arrows in the figure. A probe radius of 1.2 Å was used in this analysis. c Structural transformation and phase transition of GS under different conditions.

As shown in Fig. 3c, void space analysis indicates that β-GS contains isolated, unconnected pores. While CO2 adsorption appears limited from a static perspective due to restricted guest diffusion, a dynamic view is required to capture the full behavior. Modeling diffusion-driven polymorphic transitions remains challenging, as such rare events occur on timescales beyond those accessible to conventional Molecular dynamics (MD) simulations. To explore potential pore-breathing behavior, MD simulations were performed on pure β-GS. Although no continuous channels were observed using a probe radius of 1.65 Å, transient channels appeared between occluded sites when a smaller probe radius of 1.2 Å was used, temporarily connecting adjacent voids (Fig. 4b). These pore-breathing events are attributed to the flexibility of the hydrogen-bond network32 (Supplementary Fig. 24). The complete CO2-induced phase transformation from β-GS to γ-GS was experimentally observed to require over 5 h (Supplementary Fig. 25)—a time scale notably longer than the 1800 s equilibration criterion employed in our adsorption measurements. Importantly, this extended transformation time does not conflict with the established equilibrium setting, where the system was considered to reach equilibrium only when the adsorbed amount varied within ±1% over 1800 s. The observed slow kinetics originates from the coupled effects of restricted diffusion through transient channels and the rate-limiting solid-state structural rearrangement, with the phase transformation representing the primary kinetic bottleneck.

According to the above experimental data, we could delineate the phase transformation map of guanidinium sulfate under external stimuli. As shown in Fig. 4c, α-GS is considered to be the thermostable phase, as revealed from the theocratical energy landscape. β-GS can be prepared via dissolving α-GS powder in methanol or obtained by heating α-GS to a temperature higher than 393 K, and β-GS is reversibly converted into α-GS via cooling at a temperature lower than 263 K. γ-GS, as a high-energy phase, can’t be produced in its pure phase under ambient conditions. Instead, γ-GS could exist as CO2 clathrate (CO2-GS), via CO2 adsorption in β-GS beyond a critical pressure or directly CO2-induced crystallization from GS aqueous solution, because the specific supramolecular interaction between CO2 and guanidinium ions stabilizes the γ-GS phase24.

GS for CO2 capture and storage

Although CO2@γ-GS readily releases CO2 at ambient conditions, the decomposition process is retarded by the presence of decomposed GS on the surface. The TG analysis of CO2@γ-GS showed a 17% weight loss prior to 353 K, ascribed to CO2 release (Supplementary Fig. 26). This aligns with the theoretical weight densities of CO2 in CO2@γ-GS (17 wt%), and agrees with the saturated CO2 adsorption amount (4.2 mmol g−1). In contrast to desorbing CO2 from a 5–10 wt% organic-amine aqueous solution—a process plagued by the high thermal energy demand of heating water (due to its high heat capacity)—direct heating of the GS solid proves a significantly more energy-efficient way for the adsorbent’s regeneration33. When a sealed reactor containing β-GS solid is charged with CO2 to 100 kPa at 273 K, a pressure decrease from CO2 adsorption is observed immediately, with an approximate equilibrium time of 60 min. Upon heating the reactor at 373 K, CO2 is released, and the pressure recovers. The pressure exceeds the initial value owing to the heating effect (Supplementary Fig. 27a). In the control experiment using NaCl replacing the β-GS solid, there is no observed pressure drop and heating at 373 K results in a pressure increase at the same scale raised from the heating effect. The results reveal that CO2 uptake and release are highly reversible over multiple cycles. Ten cycles of uptake/release display no performance decay (Supplementary Fig. 27b) and PXRD patterns of the β-GS adsorbent after the cycling tests align with those of the pristine β-GS (Supplementary Fig. 27c), confirming the stability of the β-GS.

A challenge associated with conventional gatingeffect in porous materials is the difficulty in preventing other gas species to enter the pores following the pore-opening triggered by the target molecule33,34. β-GS exhibits a unique selectivity for CO2 even in the presence of high-concentration N2. When  we subjected GS to a mixture gas of 70% N2 and 30% CO2 at 330 kPa (CO2 partial pressure of 100 kPa) and 273 K, there was negligible N2 adsorption under the experimental conditions detected by gas chromatography (GC) (See details in “Methods”). It is worth noting that CO2 adsorption by GS differs from physisorption in porous materials, including flexible MOFs, as physisorption typically doesn’t change the connections between the frameworks35,36. And the adsorption is clearly not a chemisorption process, because there is no formation of new chemical bonds. Instead, it follows a supramolecular adsorption mechanism via the formation of clathrate compounds. In the process, CO2 uptake needs to overcome the energy barrier driven by pressure stimuli for lattice rearrangement of the GS crystal.

Discussion

Guanidinium sulfate, as a hydrogen-bonded salt, exhibits multiple phase transformations owing to the dynamic and flexible attributes of H-bonds. We reveal three phases of guanidium sulfate and further illustrate their transformation mechanism. Specifically, we discover a counter-intuitive phenomenon of negative adsorption inflexion (NPI) in the CO2 sorption isotherm of β-GS, and disclose the mechanism of β-GS transformation to γ-GS driven by CO2 uptake. Distinct from negative gas adsorption (NGA), which amplifies pressure, the NPI phenomenon enables active pressure reduction, suggesting promising applications in microscale gas regulation, such as in integrated micro-gas separators or self-regulating microfluidic components. Owing to its high CO2 uptake (Supplementary Fig. 29, Table 4), facile regeneration under mild conditions, combined with the intrinsic advantages of a solid salt, such as abundance, low cost, and high stability, GS endows it with great potential for practical CO2 capture, storage, and transport.

Methods

Materials

All chemicals and reagents were purchased from commercial suppliers and used without further purification. Guanidinium carbonate (Gua2CO3) was purchased from Shanghai Adamas Reagent Co., Ltd. Ethanol and sulfuric acid were purchased from Sinopharm Chemical Reagent Co., Ltd. Nitrogen gas (99.999%), carbon dioxide (99.9%) and carbon dioxide-nitrogen mixture gas (30 mol% CO2 + 70 mol% N2) were purchased from Nanjing Special Gas Plant Co., Ltd.

Characterizations

Thermogravimetric analyses (TGA) were performed in N2 atmosphere on a TGA Q500 integration thermal analyzer. Powder X-ray diffraction (PXRD) measurement was carried out on a Rigaku MiniFlex 600 X-ray diffractometer using Cu Kα radiation (λ = 1.54178 Å). Differential Scanning Calorimetry (DSC) tests were conducted with DSC Q2000 V24.10 (Module: DSC Standard Cell RC). The gas chromatography (GC) was conducted on a Shimadzu GC-2014 gas chromatograph equipped with a CBP-PSN column and a TCD detector. Ar gas (99.999%) was used as the carrier gas. Scanning electron microscopy was carried out with a field emission scanning electron microanalyzer (Gemini SEM 500).

Synthesis of α-guanidinium sulfate (α-GS)

α-GS was synthesized according to the procedures as reported in previous work24. 18.0 g Gua2CO3 (0.1 mol) was dissolved in 25 mL deionized water, and then dropwise added 5.4 mL concentrated H2SO4 (98%, 0.1 mol) under stirring. The pH of the resulting solution was then adjusted to 7 with dilute H2SO4. In order to precipitate the product, absolute ethanol was added as an anti-solvent under constant stirring. Then the colorless powder was collected by vacuum filtration, washed with absolute ethanol, and dried at 373 K in air. Yield was calculated to be 99% based on Gua2CO3.

Synthesis of β-GS single crystals (high-temperature stable phase of guanidine sulfate)

Colorless crystals were obtained through methanol diffusion (5 mL) into α-GS powder (0.18 g, 1 mmol) with subsequent static crystallization for 7 days at room temperature.

CO2 sorption measurements

Prior to adsorption measurements, the bulk powder was thoroughly ground and ball-milled to achieve a sub micron particle size, thereby minimizing the impact of intracrystalline diffusion limitations on the adsorption kinetics. An activation procedure was then conducted, wherein α-GS was activated at 353 K for 8 h, while β-GS was treated at 453 K for 8 h. To avoid exposure to air during sample treatment, an additional in situ vacuum activation at a set temperature for another 2 h was performed at the site of the sample port in the adsorption instrument. Gas sorption isotherms were measured on a BEL Sorp-max instrument (BEL, Japan; detailed apparatus and mechanism illustrated in Supplementary Fig. 28). N2 sorption isotherm was measured at 77 K, the equilibration conditions for each data point were set at 1% pressure fluctuance within 150 s. It was observed that the conventional equilibrium conditions did not reach equilibrium for CO2 adsorption. Hence, the equilibrium time was extended for 600–3600 s. CO2 sorption isotherms were measured at 298 K, with the equilibration conditions for each point set at 1% pressure fluctuance within 1800 s. Furthermore, our experiments indicate that for adsorption behavior prior to the inflection point, variations in equilibrium time have a negligible effect. Therefore, different equilibrium conditions can be applied across distinct pressure ranges to optimize data collection time, as adsorption-induced structural transitions require longer equilibration time. A preliminary study was conducted to approximate the inflection pressure range before the final experiments.

For CO2 sorption isotherms at 268 K, the equilibration conditions in the range of 0.001–40 kPa were set at 1% pressure change within 600 s, while in the range of 40–100 kPa the equilibration time was set for 1800 s. For CO2 sorption isotherms at 270 K, the equilibration conditions in the range of 0.001–40 kPa were set at 1% pressure change within 600 s, while in the range of 40–100 kPa the equilibration time was set for 1800 s. For CO2 sorption isotherms at 273 K, the equilibration conditions in the range of 0.001–55 kPa were set at 1% pressure change within 600 s, while in the range of 55–100 kPa the equilibration time was set for 1800 s. For CO2 sorption isotherms at 275 K, the equilibration conditions in the range of 0.001-60 kPa were set at 1% pressure change within 600 s, while in the range of 60–100 kPa the equilibration time was set for 1800 s. For CO2 sorption isotherms at 278 K, the equilibration conditions in the range of 0.001–75 kPa were set at 1% pressure change within 600 s, while in the range of 75–100 kPa the equilibration time was set for 1800 s.

Single-crystal X-ray diffraction (SCXRD) measurements

Single-crystal X-ray diffraction data were collected by a Rigaku Oxford Diffraction Super Nova diffractometer using Cu-Kα radiation (λ = 1.54178 Å) at 298 K. The data collection and processing were carried out with CrysAlisPro software. The crystal structure was solved by direct methods and refined by full-matrix least squares based on F2 using a SHELXTL 14XL program package. Hydrogen atoms were fixed geometrically at their positions and allowed to ride on parent atoms. Quantification of electron count within pores was accomplished through the SQUEEZE method37 on the refinement model of the vacant framework. Details of structural analyses were summarized in Table S2. The cavity size of GS was determined using the Mercury software with a probe radius of 1.4 Å.

Variable-temperature powder X-ray diffraction measurement on α-GS

Variable-temperature powder X-ray diffraction (VT-PXRD) measurements were performed on finely ground and dried α-GS samples using a Rigaku MiniFlex 600 X-ray diffractometer equipped with an in-situ temperature control stage. The temperature protocol was set as follows: heating from 298 K to 473 K through incremental steps (373, 383, 403, 423, 448 and 473 K) at 10 °C min−1, with 3 min isothermal holds before data collection at each temperature.

In situ powder X-ray diffraction (PXRD) patterns monitoring the phase transition from β-GS to CO2@γ-GS under 100 kPa CO2 at varying exposure times

The α-GS powder was heated at 453 K under dynamic vacuum for 1 h to induce a complete phase transition to β-GS, as confirmed by PXRD. The sample was then cooled to 278 K. Under a static CO2 pressure of 100 kPa at 278 K, time-dependent PXRD patterns were collected at 0, 5, 10, 20, 30, 60, 110, 140 min to monitor the structure transformation, using a Rigaku MiniFlex 600 X-ray diffractometer equipped with a pressure control system.

PXRD of β-GS before and after the inflection point of the adsorption isotherm at 273 K

When the adsorption pressure reaches 40 kPa (or 70 kPa), encapsulate the adsorption tube under the protection of an inert atmosphere. Then, prepare the test samples in a glove box. After that, encapsulate the silicon wafer with a transparent plastic bag that does not affect the diffraction intensity and conduct the test immediately.

Isochoric adsorption-desorption experiments

An autoclave (30 mL) was charged with β-GS powder (1.0 g). The autoclave temperature was kept at 273 K using a cooling jacket. After the temperature was steady, the gas within the autoclave is evacuated using a vacuum pump and filled with 100 kPa CO2. The pressure inside the autoclave was monitored using a digital pressure meter (5 s per data point). After the adsorption was finished, as indicated by the inner pressure getting steady. The autoclave was placed in a 373 K oil bath for CO2 release. To illustrate that CO2 was successfully adsorbed and released, the same experiment was carried out with the same volume of NaCl instead of β-GS powder as a control experiment. Ten runs were conducted to evaluate the cyclic performance of CO2 adsorption. After the final cycle, β-GS powder was heated at 373 K for 10 min, and the PXRD patterns were collected to confirm the phase stability.

Selective adsorption of CO2 in mixture gas

The selective adsorption measurement was conducted in a 250 mL autoclave charged with 0.50 g of pre-activated β-GS powder and maintained at 273 K using a cooling jacket. Prior to measurements, the system dead volume was calibrated using helium expansion. After temperature stabilization, the autoclave was evacuated and pressurized to 330.0 kPa with a certified gas mixture containing 70.0 mol% N2 and 30.0 mol% CO2, corresponding to a CO2 partial pressure of 99.0 kPa. The adsorption process continued for 24 h, with blank experiments confirming negligible background adsorption or system leakage.

Following adsorption, the solid adsorbent was transferred under argon atmosphere to a quartz bottle, where the atmosphere was replaced through five argon flush-purge cycles. The adsorbed gases were liberated by adding 5.0 mL deionized water to the solid sample under argon flow. Gas analysis was performed using a Shimadzu GC-2014 chromatograph equipped with a 5 Å molecular sieve column (2 m × 1/8 inch) and a thermal conductivity detector, using argon as carrier gas. The system calibration established a detection limit of 200 ppm for N2. Analysis of the released gas from β-GS samples showed N2 concentrations below this detection limit, confirming the highly selective adsorption of CO2 over N2.

Validation of TGA mass loss

The theoretical mass loss is calculated as:

$${{{{\rm{\omega }}}}{{{\rm{CO}}}}}_{2}=\frac{{{{\rm{n}}}}\times {{{{\rm{MCO}}}}}_{2}}{{{{{\rm{M}}}}}_{{{{\rm{host}}}}}+{{{\rm{n}}}}\times {{{{\rm{MCO}}}}}_{2}}$$

host = γ-GS, n = the number of CO2 molecules per structural unit (formula unit) (here, n = 4).

Computational method

Force field level CSP

The CSP process based on the force field was performed using the open source code mol-CSPY38. All geometries were optimized using Gaussian16 software at B3LYP/6-31 G (d,p) level of theory39, followed by frequency calculations to ensure the true local minima of the optimized structure. These molecular geometries were held rigid throughout force field level crystal structure generation and lattice energy minimization. Trial crystal structures were generated with one guanidinium sulfate salt (CN3H6+·CN3H6+·SO42) in the asymmetric unit for the following space group and generation number of trial structure: P1 (10000), P-1 (10000), P21 (20000), C2 (20000), Cc (20000), P21/c (50000), C2/c (50000), P212121 (10000), Pna21 (20000). In the mol-CSPY CSP, a quasi-random sampling method was used that all structural variables within each space group were generated from a Sobol vector: unit cell lengths and angles, and molecular positions and orientations within the asymmetric unit. Space-group symmetry was then applied, and a geometric test was performed for overlap between molecules, which was removed by lattice expansion. DMACRYS40 software was used to calculate the lattice energy with an anisotropic atom–atom potential. The atomic multipole of the molecular charge distribution41 based on B3LYP/6-31 G(d,p) level charge density was used to model the electrostatic interactions. Atom–atom repulsion and dispersion interactions were modeled using a revised Williams42 intermolecular potential. Charge–charge, charge–dipole and dipole–dipole interactions were calculated using Ewald summation. Removal of duplicate structures was performed with the following method: all structures within a lattice energy window of 1.0 kJ mol−1 and within a density window of ±0.05 g cm−3 were compared using PXRD patterns generated by Platon43 using a constrained dynamic time-warping method as implemented in the mol-CSPY.

DFT level calculations

After the force-field-level geometry optimization, structures within an energy window of 100 kJ mol−1 above the global minimum were taken out. Duplicate structures were removed again when a 15/15 packing similarity was found within a 0.2 Å distance tolerance and a 20° angle tolerance using the CCDC API. Finally, the 2055 crystal structures, together with the two known polymorphs α-GS and β-GS, were recalculated with the DFT method in VASP44. Projector augmented-wave (PAW) method45 was applied to describe the electron–ion interactions. Generalized gradient approximation (GGA) with the Perdew–Burke–Ernzerhof (PBE) exchange correlation functional was adopted to treat electron interaction energy46. Grimme’s semi-empirical DFT-D3 scheme with Becke–Johnson damping functions was used here to give a better description of interactions47. A kinetic-energy cut-off of 600 eV was used to define the plane-wave basis set. Electronic Brillouin zone was integrated with the smallest allowed spacing between k-points (KSPACING) being 0.3/Å, and the generated grid is centered at the Gamma-point. Convergence threshold of self-consistency was set to 10−6 eV during total energy and force calculation, and the Hellmann–Feynman force convergence criterion on each atom was set to smaller than 0.01 eV Å−1 when geometry optimizations are needed.

Pore-geometry analysis

Topological analysis of the pore space within a crystal structure was performed using the void analysis tool zeo++48. The pore volume as well as pore dimension were used in this research. Probe radius of both 1.2 Å as well as 1.65 Å was used in calculations as described in the manuscript.

Molecular dynamic method

MD simulations were performed using the Atomic Simulation Environment (ASE) package49. The machine learning force field SevenNet-050 was used to evaluate the energy and force during the MD process. An NPT MD simulation at 273 K with a 1 fs timestep was applied, using a Nosé–Hoover thermostat51 with a damping parameter of 50 timesteps and a Parrinello–Rahman barostat with a damping parameter of 75 timesteps.

Disorder structure treat

During the theoretical calculation, the disordered crystal structure β-GS was treated to remove the disordered part by the following method. Several different initial structures, each removing a different disordered part, were constructed and kept at the highest symmetry possible. Then a DFT-level geometry optimization was performed on these structures. The crystal structure with the lowest relative lattice energy was selected to represent the non-disordered β-GS for the remaining calculations.