Introduction

Ion-selective transport processes play a pivotal role in diverse fields, including desalination, chemical separation, environmental protection, energy storage and conversion, and life sciences1,2,3,4. For instance, desalination relies on the selective removal of salt ions, while chemical separation processed, such as lithium and rare-earth metal extraction, require precise transport of target ions. In energy systems (e.g., osmotic energy harvesting, flow batteries), efficient and selective ion transport is critical for device performance. Biological systems, notably cell membranes, achieve ion-specific transport through channel proteins to sustain life activities. Thus, understanding and controlling selective ion transport holds profound implications across energy, environment, and life science domains.

Ion-selective membranes, serving as efficient media for regulating ion transport and separation, have undergone rapid development owing to their high separation efficiency, low energy consumption, ease of system integration, and environmental friendliness4,5,6. In recent years, the accelerated advancement of new energy technologies has boosted surging demand for high-performance ion-selective membranes in critical applications such as lithium extraction from salt lakes, rare-earth metal ions recovery, and electrochemistry systems7,8,9,10. Concurrently, these emerging applications impose enhanced requirements on new-generation ion-selective membranes, particularly in terms of high transport efficiency, precise separation capability, chemical stability, and scalable manufacturing. Conventional polymer materials have been widely used to prepared ion-selective membrane across all scales in practical applications, benefiting from their low cost and scalability. The representative membranes are perfluorocarbon Nafion and hydrocarbon-based polyelectrolytes, which are prepared by self-assembly to form ion conductive regions via microphase separation (Fig. 1a)11,12,13. However, these regions are ill-defined and exhibit poor dimensional stability in solvents due to swelling, which ruins the ion selectivity, resulting in a well-known trade-off between ion permeability and selectivity and constraining the advancement of ion-selective membranes in high-efficient precise ion separation.

Fig. 1: Ion-selective channels in various membranes.
Fig. 1: Ion-selective channels in various membranes.
Full size image

a Conventional polymer membranes form ion-conductive regions through microphase separation self-assembly between hydrophobic and hydrophilic domains. Reproduced with permission from ref. 13. (copyright Wiley-VCH, 2021). b Microporous membranes represented by polymers of intrinsic microporosity (PIMs) with irregular subnanochannels through non-planar polymer chain packing. Reproduced with permission from ref. 16. (copyright Springer Nature, 2020). c 2D membranes exemplified by GO with tortuous interlayer nanochannels via nanosheets assembly. Reproduced with permission from ref. 20. (copyright American Association for the Advancement of Science, 2012). d 2D COF membranes with intrinsic 1D regular nanochannels of permanent porosity and precisely tunable functionalities. Reproduced with permission from ref. 25. (copyright Royal Society of Chemistry, 2018).

In recent years, advanced porous membranes featuring nano-/subnanochannels have become the focus in ion separation due to their high porosity, continuous transport pathways, low resistance, and tunable channel surface properties2,14. These characteristics enable such membranes to overcome the permeability-selectivity trade-off typical of conventional polymer membranes. For instance, porous polymer membranes create pores by modulating polymer chain packing or branched chain crosslinking, including hypercrosslinked polymers (HCPs)15, polymers of intrinsic microporosity (PIMs)16,17, and conjugated microporous polymers (CMPs)18. Taking PIMs as an example, the introduction of moderately rigid monomers and their atomic non-planar distortion inhibits chain packing and create inherent micropores (Fig. 1b). Nevertheless, their disordered subnanochannels, ill-defined structural parameters, and presence of dead-end pores increase ion transport resistance and complicate mechanistic studies under confined space. Moreover, non-network PIMs also suffer from aging and swelling-induced loss of selectivity under high charge density conditions. Two-dimensional (2D) materials, including graphene, graphene oxide (GO), molybdenum disulfide (MoS₂), hexagonal boronnitride (hBN), transition-metal carbides and nitrides (MXene), and layered double hydroxides (LDHs), enable the construction of channels with atomic precision via nanosheet assembly14,19. However, their in-plane nonproductive pathways elongate ion transport routes20. For example, a 1 μm-thick GO membrane assembled by 500 nm nanosheets can exhibit an ion transport path of ~1 mm—1000 times of its thickness (Fig. 1c). In comparison, crystalline porous framework materials, such as metal-organic frameworks (MOFs) and covalent organic frameworks (COFs), offer inherent advantages for constructing high-efficiency ion-selective channels due to their predesignable crystalline frameworks, ordered pore structures, and high porosity21. Among them, COFs exhibit superior chemical stability, rendering them more viable for precision ion separation applications21,22,23,24. In particular, 2D COFs with vertically aligned one-dimensional (1D) channels enable the minimal pathways and stable ion flow, promising to achieve unprecedented ion transport efficiency and break the permeability-selectivity trade-off (Fig. 1d)25.

COFs represent a novel class of crystalline organic porous materials comprising of periodically extended and covalently bounded network structures. They exhibit well-defined pore structures with atomic precision, permanent porosity, facile functionalization, and exceptional hydrolytic stability, making them highly attractive for membrane separation applications24,25,26,27,28,29,30. Recently, COF membranes have garnered increasing interest for molecular and ionic separations, especially in Ångstrom-scale precision separations22,23,24. This review systematically summarizes recent advances in COF membranes, covering structural design, fabrication strategies, and ion separation applications, while also addressing current challenges and future directions. Special emphasis is placed on crystallization-controlled membrane formation mechanism, green fabrication and evaluation of large-area COF membranes, bioinspired ion transport mechanisms, and AI-assisted computational screening and structural design.

Structural design of COFs

Skeleton structure

In 2005, Yaghi et al. pioneered COFs synthesis via boroxine (COF-1) and boronate ester (COF-5) linkages27, marking the first construction of crystalline porous organic frameworks. Since then, various reversible reactions have been employed to synthesize COFs, which can be classified into non-conjugated, partially conjugated, and fully conjugated skeletons based on their linkage chemistry (Table 1)29,31. Non-conjugated COFs typically incorporate linkages such as boroxine27, boronate ester27,32, imide33,34, amide35, dioxin36, borazine37, spiroborate38, and borosilicate39. Partially conjugated COFs have been designed using imine40,41,42, azine43,44, hydrozone45, triazine46,47, benzoxazole48, squaraine49, azodioxy50, and viologen51 linkages. Fully conjugated COFs include β-ketoenamine52,53,54,55, phenazine56, and C=C linkages57,58. These diverse linkages endow COFs with exceptional potential for adsorption, separation, catalysis, and energy storage. Although a considerable number of COF linked skeleton structures developed, only a few of these structures have been prepared into membranes, given considerations such as their stability and synthesis conditions. Currently, the most widely reported COF skeletons for ion separation are based on imine linkages formed via Schiff-base reactions, owing to their favorable crystallization under mild conditions and robust framework stability. For example, Dey et al.59 developed an interfacial crystallization strategy to prepare a series of imine-linked COF membranes under ambient conditions. Owing to the abundant electronegative C=N bonds in imine-linked COF skeletons, they exhibit a distinct responsiveness to environmental pH. For instance, Cao et al.60 further introduced phenolic hydroxyl groups into the monomers, synthesizing an oriented COF-DT membrane with high ion flux and stimuli-responsive behavior, enabling precise modulation of ion transport through pH-triggered changes in both imine and phenolic moieties (Fig. 2a). Beyond conventional imine linkages, azine-linked COFs can be synthesized using hydrazine hydrate and aldehyde monomers. The small molecular size of hydrazine hydrate (HZ) enables the construction of COF membranes with sub-nanometer pores. Yin et al.61 prepared a hydrazone-linked TbHZ membrane with vertically aligned sub-nanometer channels, exhibiting high precision ion separation for ions differing in size at 2 Å (Fig. 2b). In addition, the reaction between hydrazide monomers and aldehyde monomers was utilized to synthesize COFs with hydrazone linkages. Meng et al.62 reported a series of hydrazone-linked COF membranes with different lengths of the oligoether segments, systematically regulating pore solvation environments and elucidating how solvating segments influence ion partitioning, diffusion, and selectivity (Fig. 2c). To enhance the chemical stability of COFs under harsh acidic or basic conditions, Kandambeth et al.52 introduced the 1,3,5-triformylphloroglucinol (Tp) monomer, which first forms an imine-linked framework via a reversible Schiff-base reaction, followed by an irreversible enol–keto tautomerization to yield a more stable β-ketoenamine-linked structure while maintaining a crystallinity. This advancement significantly broadened the application scope of COFs. In our group, we constructed a 20 nm ultrathin β-ketoenamine-linked COF membrane on an anodic aluminum oxide (AAO) substrate and demonstrated that abundant hydrogen bonding sites in the channels can form hydrogen bonding interaction with water (Fig. 2d)63. We reveal that the hydrogen bonding interaction between hydrated cations and channel walls govern the ion selectivity, with divalent cations experiencing higher energy barriers for transport compared to monovalent ions. We also developed freestanding β-ketoenamine-linked COF membranes and demonstrated their utility in acid and alkali recovery64. In addition, Zhu et al.65 prepared a dioxin linkage oxygen-rich COF and showed its potential in efficient removal of Cd(II) and Pb(II) from water (Fig. 2e). Since the direct synthesis of triazine-linked COFs typically requires harsh conditions, Meng et al.66 developed an alternative strategy by reacting a triazine-functionalized amine monomer with Tp under mild conditions (Fig. 2f). This approach yielded a triazine-linked COF membrane capable of high-resolution Li+/Mg2+ separation. The hydrophilic channel environment promotes Li+ dissociation from sulfonate groups, facilitating hopping transport along sulfonate-functionalized side chains and shortening the Li+ diffusion path.

Fig. 2: Different types of linkages of COF skeletons for ion separation.
Fig. 2: Different types of linkages of COF skeletons for ion separation.
Full size image

(a) Imine linkage COF skeleton and the representative COF-DT for ion separation60. (b) Hydrazine hydrate was applied to construct azine linkage COF skeleton and the representative TbHZ with subnanochannels for ion separation61. (c) The hydrazide monomers were utilized to synthesize hydrazone linkage COF skeleton and the representative COF-EOx for ion separation62. (d) Tp monomer was used to synthesize β-ketoenamine linkage COF skeleton and the representative TpBDMe2 for ion separation63. (e) Dioxin linkage COF skeleton and the representative JUC-505-COOH for ion separation65. (f) Triazine linkage COF skeleton and the representative TAT-TP for ion separation66.

Table 1 COFs with different skeletons constructed via various organic reactions

Pore engineering

The regular pore structure is one of the most fascinating features of COFs, especially for membrane separation. Atomic-level pore engineering is achievable through four main strategies including topology control, monomer design, synthetic condition, and post-synthetic functionalization29,30,31. Firstly, monomer geometry and topology dictate COF pore shapes (hexagonal/quadrilateral/triangular)46,67,68,69,70,71, while the chemical structure of monomer enable dual-pore systems with co-existing geometries or dimensionally varied hexagons (Fig. 3a). For example, Meng et al.72 utilized benzene-1,3,5-tricarbohydrazide as the core building block to react with aldehydes owing different reaction sites and synthesized 0.78 nm and 1.58 nm COF membranes with similar chemistry by [2 + 3] and [3 + 3] topology configuration. Li et al.73 adjusted the chemical structure of aldehyde monomer to regulate the pore size of COF membranes from >1 nm to sub-1-nm scale by changing the stacking mode of COF layers from AA to AB stacking. Chen et al.71 introduced PyTTA (4,4’,4”,4”’-(pyrene-1,3,6,8-tetrayl) tetraaniline) monomer to synthesize quadrilateral single-pore COF, while Pang et al.74 used the similar symmetric amine monomer but different chemical structure and synthesized a dual-pore COF, which possesses both micropores and mesopore. Furthermore, Zhao et al.75,76 designed asymmetric monomer to create COFs with tri- and tetra-pore systems.

Fig. 3: Pore engineering of COFs.
Fig. 3: Pore engineering of COFs.
Full size image

(a) Pore geometric engineering of COFs through modulating monomer geometries and topological connectivity. Reproduced with permission from refs. 30,74,75,76. (copyright American Chemical Society, 2016, 2017 and 2019; Springer Nature, 2019). (b) Pore size engineering by designing COF linkers with different length52,68,78,79,94. (c) Pore chemical engineering by introducing different functional groups into the monomers. Reproduced with permission from refs. 68,81,82,83,84. (copyright American Chemical Society, 2016; Springer Nature, 2021).

Apart from topology control, monomer design offers precise control over pore dimensions. While most COFs exhibit pore sizes in the range of 1 ~ 3 nm77, judicious monomer elongation allows tuning from the sub-nanometer scale to expanded mesopores. As illustrated in Fig. 3b, monomer elongation can precisely modulate the pore size of COF. Sun et al.78 utilized HZ monomer and synthesized COF membrane with pore size of 0.73 nm, while Mu et al.79 employed elongated linear linkers to synthesize mesoporous COFs with pores up to 10 nm. In addition, the channel chemistry of COFs is programmable through functional monomers, yielding positive (cationic/quaternary ammonium salts)68,80,81, negative (sulfonic/carboxylic acids)82,83, hydrophobic (fluorine-containing)84, and other functionalized channels (Fig. 3c)67. Synthetic condition is another important factor defining COF pore structure. Yin et al.61 introduced a solvent vapor annealing approach that weakens π-π interactions between COF layers, promoting reorientation from random stacking to a face-on configuration with vertically aligned pores. Similarly, Sun et al.78 achieved partial regulation of the pore orientation of COF membranes by using different organic solvent in interfacial polymerization. Post-synthetic functionalization strategy is also widely used to modulate the pore structure of COFs. Meng et al.7 incorporated olefin units into COF frameworks and conducted post-functionalization to manipulate the pore charge density by the thiol-ene click reaction. Ren et al.85 constructed biomimetic smart COF membranes with charged and switchable sub-nanochannels through grafting photo-responsive azobenzene derivatives onto channel wall via the sulfur(VI) fluoride exchange (SuFEx) click reaction. Our group has also reported negatively and positively charged COF membranes through post-modification with propanesulfonate and iodomethane, respectively64. Finally, hybridization with other materials provides an additional route to tailor pore structure of COF membranes. Yang et al.86 adapted the sheltering effect of 1D cellulose nanofibers (CNFs) to regulate the pore size of COF membrane (0.45-1.0 nm) through a mixed-dimensional assembly of 2D COF nanosheets and 1D CNFs. Wang et al.87 reported a 2D COF membrane with narrowed channels (0.7 nm × 0.4 nm) and excellent mechanical performance constructed by the staggered stacking of cationic and anionic 2D COF nanosheets.

Preparation of COF membranes

Although Yaghi et al.27 pioneered the synthesis of 2D COFs (i.e., COF-1 and COF-5) in 2005 and developed 3D COFs two years later88, the poor solution processability of COFs delayed their membrane applications. It was not until 2011 that the first COF-5 membrane supported on single-layer graphene was prepared via an in situ growth method32, marking the beginning of COF membrane research (Fig. 4). Subsequently, advances in COF nanosheet exfoliation enabled membrane fabrication through nanosheet assembly89,90,91,92. Furthermore, polymer blending with COFs emerged as an effective approach for producing COF-based mixed matrix membranes (MMMs)93. A notable acceleration occurred in 2017 through two studies by Banerjee et al., which prepared pure-phase COF membranes via interfacial polymerization59 and casting dough94 methods, respectively. Meanwhile, more advanced methods such as electrophoretic deposition (EPD)95,96, chemical vapor deposition (CVD)97, Langmuir-Blodgett (LB) assembly98, compression99, and phase switching100 have been successfully implemented, significantly expanding their potential applications.

Fig. 4: The evolution history of COF membranes.
Fig. 4: The evolution history of COF membranes.
Full size image

Three milestones throughout the development of COF membranes27,32,54,59,88,89,90,91,93,94,95,97,98,99,100.

Conventional preparation methods

In the early stages, due to the poor solution processability of COF materials and the harsh synthesis conditions, in situ growth was employed for the fabrication of COF membranes. In 2011, Colson et al.32 demonstrated this approach by synthesizing COF-5 membrane on single-layer graphene substrates. This methodology was subsequently adapted to diverse substrates: Yang et al.101. (2012) and Hao et al.102 (2014) extended the synthesis of COF-5 membrane on alumina disks and APTES-modified α-Al2O3 substrates, respectively. In addition, Fu et al.103 prepared a [COF-300]-[ZIF-8] composite membrane on polyaniline coated SiO2 disk via in situ growth in 2016. Further developments were achieved in 2018 by Fan et al.104, who synthesized imine-based COF-LZU1 membranes on Al2O3 tubes. The same year, they prepared COF-LZU1 − ACOF-1 bilayer membranes on APTES-Al2O3 substrate44. Recent advancements include Wu et al.105 (2025) using in situ growth to prepared imine-based 3D COF membranes with highly charged sub-nanochannels on APTES-modified DPAN substrates and achieving remarkable lithium-ion sieving capabilities. Although in situ growth represents a pioneering and important methods for synthesizing COF membranes—enabling precise modulation of crystallinity and orientation through substrate surface engineering—this method faces several critical limitations. Firstly, the method typically requires harsh synthesis conditions, including prolonged reaction time at elevated temperatures under sealed environments, high material consumption, and low membrane-yield efficiency, which inevitably increase the challenge of scalability. Furthermore, the abundant consumption of organic solvents and rigorous selection of substrate in terms of chemical stability and surface properties restricts the development of this method to some extent, especially for large-scale membrane production. Meanwhile, the advancement of exfoliation techniques for 2D COFs has stimulated substantial research efforts in COF nanosheet fabrication54,89,90,92. Inspired by GO membrane, layer-by-layer (LBL) assembly has evolved as a robust method for COF membrane preparation. In 2016, Ying et al.91 reported the first fabrication of a 2D covalent triazine-based framework-1 (CTF-1) membrane on a cellulose acetate support with GO assistance via the LBL strategy. In 2020, the author further prepared TpEBr@TpPa-SO3Na hybrid membranes on porous α-Al2O3 support by LBL assembly of oppositely charged ionic COF nanosheets with distinct pore sizes106. Li et al.107 prepared boroxine linkage COF-1 membrane by assembling COF-1 nanosheets on ceramic substrates. Jiang et al.86 developed mixed-dimensional TpTGCl@CNFs membranes by assembling 1D CNFs and 2D TpTGCl nanosheets on PAN substrates, enabling precise molecular sieving and desalination. Subsequently, they synthesized ionic COF nanosheets via oil–water–oil triphase synthesis and assembled DhaTGCl/PAN membranes108. Then, they further utilized adhesion-engineering to assemble TpPa-SO3H@TpTTPA membranes via electrostatic and π-π interactions, achieving exceptional NaCl rejection (99.91%) and high salinity (7.5 wt%) tolerance109. The LBL assembly has emerged as a versatile platform for preparing 2D material membranes, offering atomic-level precision in regulating membrane thickness, interlayer spacing, and channel properties. In addition, the assembly procedure is very easy and high efficiency. However, the synthesis of COF nanosheets is time-consuming and the membrane performance remains fundamentally constrained by the structural uniformity of 2D nanosheets (particularly mono-dispersity and defect density), while the dispersion of nanosheets also require abundant consumption of organic solvents. In addition, the long-term structural integrity of assembled membranes persists as a critical limitation, which confronts inherent scalability barriers in industrial implementation, particularly for roll-to-roll or continuous manufacturing paradigms. Blending COF bulk powders or nanosheets with polymers represents a straightforward methodology for preparing COF-based MMMs. For instance, Biswal et al.93 combined COF powders with polybenzimidazole (PBI) at varied mass ratios to prepare freestanding COF@PBI-BuI-based MMMs. Mitra et al.68 synthesized self-exfoliated guanidinium-based ionic COF nanosheets and blended them with polysulfone (PSF) to fabricate TpTGCl@PSF MMMs. Similarly, Peng et al.82 incorporated negatively charged COF powders (NUS-9 and NUS-10) into nonconductive polyvinylidene fluoride (PVDF), achieving COF@PVDF MMMs with high proton conductivity. COF-based MMMs prepared through polymer blending exhibit exceptional simplicity, high efficiency, and scalability. However, such membranes frequently suffer from interfacial gaps between COF fillers, poor polymer-COF compatibility, and non-uniform spatial distribution of COF particles coupled with stochastic orientation of COF nanochannels within the polymer matrix–critical limitations that fundamentally constrain their inherent separation capabilities.

Emerging preparation methods

A significant acceleration in COF membrane occurred in 2017, marked by the introduction of interfacial polymerization as a representative strategy. Banerjee et al.59 pioneered the synthesis of freestanding imine-linked COF membranes via interfacial polymerization at water/organic interfaces. Shortly after, Valentino et al.110 prepared polyimine COF TFC nanofiltration membrane on polyethersulfone (PES) substrates through interfacial polymerization. Since then, the preparation of COF membranes through interface polymerization has attracted extensive research interest. In recent years, advancements in interfacial polymerization have enabled the development of diverse reaction systems across liquid-liquid59,111, aqueous-aqueous112, solid-vapor113, liquid-vapor114, and liquid-solid115 interfaces. Matsumoto et al.111 prepared freestanding TAPB-PDA COF membranes by layering a dioxane/mesitylene organic phase (dissolving aldehyde and amine monomers) over an aqueous phase containing Sc(OTf)3 Lewis acid catalyst. Li et al.73 engineered DCM/DMF organic-organic interfaces to construct AA- and AB-stacked COF membranes, where AB-stacked membranes with ordered nanosheets exhibited sub-nanometer pores (~0.6 nm). Wang et al.112 established a dextran/poly(ethylene glycol) aqueous two-phase system (ATPS) to construct freestanding COF membranes, revealing that interfacial tension has pronounced effect on membrane structures. Innovative strategies have further expanded fabrication precision. Sheng et al.63 synthesized ultrathin COF membranes (~20 nm) on AAO via a counter-diffusion strategy. Khan et al.113 achieved solid-vapor interfacial polymerization by vaporizing p-phenylenediamine (PDA) and octanoic acid (OA) onto APTES-modified Si/SiO2 disk loading with 1,3,5-Triformylphloroglucinol (TFP) monomer, forming TFP-PDA membrane. Zhang et al.114 designed a sandwich-structured liquid-vapor system using hot ethanol solution containing hydrazine hydrate and mesitylene solution dissolving aldehyde and Sc(OTf)₃ to prepare COF membrane on PAN/AAO substrates. Furthermore, Sahabudeen et al.116 developed a surfactant-monolayer-assisted interfacial synthesis (SMAIS) to prepared large-area, highly crystalline COF membranes at water-air interface. Yang et al.117 utilized diethylenetriamine as a sacrificial go-between to prepare a highly strong, tough, and elastic single-crystal 2D COF membrane at water-air interface via the sacrificial go-between guided synthesis method. In addition, Zhao et al.115 exploited liquid-solid interface to prepare freestanding COF membrane on the wall of glass bottle by layering an aqueous solution of Sc(CF₃SO₃)₃ catalyst with a ethyl acetate solution dissolving aldehyde and amine monomers. Interfacial polymerization has emerged as a pivotal strategy for the precision engineering of COF membranes, with significant progress achieved in developing diverse interfacial reaction systems and optimized polymerization protocols. It exhibits several advantages, such as operational simplicity, high versatility, and the prepared membranes with excellent crystallinity and uniformity. However, COF crystallization necessitates meticulous interfacial stabilization and extended reaction periods (typically several days) to balance reaction-diffusion kinetics and thermodynamic equilibrium at constrained interfaces. Moreover, most interfacial polymerization systems predominantly rely on organic solvents for monomer dissolution, incurring substantial environmental risks and cost inefficiencies. These inherent requirements pose significant challenges for large-scale production and practical implementation of COF membranes. Also in 2017, Banerjee et al.94 developed a simple “casting dough” method as an alternative to prepare freestanding COF membranes. Subsequently, they further utilized this method to prepared ultrastable imine-based freestanding COF membranes for sulfuric acid recovery118, highly flexible p-toluene sulfonic acid loaded freestanding COF membranes with superprotonic conductivity (7.8 × 10⁻2 S cm⁻1)119, and a redox active freestanding COF membranes as high-performance supercapacitors120. Though the casting dough method offers operational simplicity, high efficiency, and scalability, which have potential for scale-up manufacturing and application. However, the current process suffers from lengthy reaction time and poor controllability, especially the mechanism of membrane formation is unclear. Additionally, the heterogeneous reaction system inherently compromises membrane microstructural densification.

Apart from the aforementioned methods, there are also some other methods used to prepare COF membranes. For instance, Shinde et al.98 employed the Langmuir-Blodgett (LB) method to prepare ultrathin COF membrane with four-unit cells thick, achieving precise thickness control via multilayer coating. In 2019, Wang et al.95 prepared thickness-tunable cationic COF membranes on electrode surfaces using electrophoretic deposition (EPD). Moreover, Wang et al.96 further advanced this technique by rapidly depositing TpPa-SO3H nanosheets onto AAO substrates via two-cell EPD to create ultrathin anionic COF membranes. In 2021, Hao et al.97 utilized chemical vapor deposition (CVD) to synthesize COF-TpPa1 membranes on modified PVDF substrates. In 2022, Martín-Illán et al.99 developed freestanding imine-linked COF membranes with superior mechanical properties through compression method. The same year, Khan et al.100 introduced a phase switching strategy to prepare freestanding COF membranes. As shown in Table 2, an analysis based on five criteria (i.e., procedure, efficiency, quality, scalability, sustainability) highlights the respective advantages and disadvantages of these major methods. With the development of these methods for COF membranes preparation, COFs have demonstrated exceptional performance in membrane separation applications, highlighting their substantial potential for practical implementation.

Table 2 Comparison of methods for COF membranes synthesis based on procedure, efficiency, quality, scalability, sustainability characteristics

Potential strategies for scale-up preparation

Though significant advances in the fabrication of COF membranes and their impressive performance in separation, several critical challenges remain before their widespread practical implementation can be realized. Firstly, most current synthesis methods yield COF membranes with poor crystallinity and orientation, which hinders the full exploitation of their intrinsic pore channels for separation—particularly in terms of oriented structures. Despite a few studies have reported oriented COF membranes, these successes remain difficult to generalize, primarily due to an insufficient understanding of the crystallization and orientation mechanisms underlying membrane formation, particularly for charged COF systems. Secondly, while several fabrication strategies show potential for scaling up, only a limited number of large-area COF membranes have been successfully demonstrated, and performance evaluations are still limited to small membrane areas. Finally, achieving cost-effective and environmentally sustainable manufacturing—by minimizing both production costs and the use of organic solvents—remains a major hurdle.

In recent years, with deepening research and continuous refinement of COF membrane fabrication techniques, the realization of large-area COF membranes for practical applications appears promising. For example, Sahabudeen et al.116 developed the SMAIS method, which employs surfactants as templates to direct the reaction of COF monomers and guide membrane formation, enabling the preparation of highly crystalline COF membranes. Yang et al.117 further utilized polyacrylic acid as a template and diethylenetriamine as a sacrificial go-between to direct the growth and crystallization of COF membranes, producing highly strong, tough, and elastic single-crystal 2D COF membranes (Fig. 5a, b). These studies not only provide strategic insights into the controlled synthesis of COF membranes but also help elucidate crystallization mechanisms during interfacial polymerization, paving the way for high-quality membrane fabrication. Furthermore, interfacial polymerization—a cornerstone technique for fabricating polymer membranes (e.g., polyamide/polyester-based thin-film composite (TFC) membranes), dominates industrial separations—has been extensively adapted for the preparation of large-area COF membranes. For instance, Chen et al.121 proposed a facile interfacial method that leverages synergistic interfacial diffusion and in-phase Brownian motion to synthesize large-area COF membranes. This approach enables the formation of continuous 111 nm-thick COF films within 3 h, as well as the fabrication of TFC-structured COF membranes with areas up to 120 cm2 (Fig. 5c). Similarly, Du et al.122 employed a spray-coating process combined with electrostatic-assisted interfacial monomer aggregation to enhance diffusion, reactivity, and competitive coordination regulation, fulfilling suitable reaction-diffusion conditions for Turing architecture. This method allowed the preparation of TFC-structured COF membranes with areas of ~1 m2 (Fig. 5d). As process control, mechanistic understanding, and fabrication protocols for interfacial polymerization continue to mature, the scalable production of high-quality, large-area COF membranes appears increasingly attainable.

Fig. 5: Interfacial polymerization for COF membrane preparation.
Fig. 5: Interfacial polymerization for COF membrane preparation.
Full size image

a, b Schematic view of the polymerization and crystallization process of node and linker, and the prepared highly strong, tough, and elastic single-crystal 2D COF membranes. Polyacrylic acid as a template and diethylenetriamine as a sacrificial go-between to direct the growth and crystallization of COF membranes. Reproduced with permission from ref. 117 (copyright Springer Nature, 2024). c Synthesis scheme and macroscopic appearance of the TFC-COF membrane, as well as the experimental procedures adopted to assess its mechanical robustness via rubber roller rolling and sandpaper scrubbing. The corresponding SEM images of the membrane before and after abrasion are also provided121 (copyright Elsevier, 2022). d Schematic of the TFC-COF membrane fabrication process, digital photos of the resulting ~1 m2 membrane and different folding shapes, and a corresponding SEM image of the membrane. Reproduced with permission from ref. 122 (copyright Springer Nature, 2025).

Casting methods have also evolved rapidly for fabricating freestanding COF membranes recently. In 2017, Banerjee et al.94 demonstrated a simple “casting dough” technique to produce freestanding COF membranes (Fig. 6a). However, the heterogeneous reaction system inherently compromises membrane microstructural densification. In 2021, Hou et al.123 refined this approach by dissolving COF monomers in a mixed solvents of NMP and DMSO to form a homogeneous precursor solution, followed by casting on a glass plate in the oven at 60 °C for 6 days to yield freestanding TpPa-SO3H membrane (Fig. 6b). Nevertheless, this modified methodology remains nascent, retaining challenges such as prolonged reaction durations, insufficient process control, and unresolved membrane formation mechanisms. In 2025, Cusin et al.124 utilized the casting method, combined with solvent evaporation and annealing processes, achieving the fabrication of a micrometre-thick oriented 2D COF membranes by leveraging a kinetically trapped amorphous 3D covalent adaptable network (CAN) intermediate (Fig. 6c). This versatile kinetic trapping strategy is applicable to a range of building blocks and network topologies, enabling the production of 2D COF membranes with highly aligned polycrystalline structures. However, the current fabrication process is relatively complex, involves the use of large amounts of organic solvents, and has not been demonstrated for charged COF membranes, indicating a need for further optimization and in-depth investigation. It is believed that with continued refinement of this method, there are promising prospects for the production of high-quality, large-area COF membranes and their practical applications.

Fig. 6: Casting method for the preparation of freestanding COF membranes.
Fig. 6: Casting method for the preparation of freestanding COF membranes.
Full size image

a Schematic representation of the freestanding COF membranes fabrication and the digital photo of the prepared M-TpBD COF membrane. Reproduced with permission from ref. 94 (copyright Wiley-VCH, 2017). b Schematic illustration of the process of the fabrication of freestanding COF membrane and the prepared freestanding COF membrane with flexible and high strength. The two monomers were dissolved in NMP and DMSO, respectively, to form uniform solutions. Reproduced with permission from ref. 123 (copyright Wiley-VCH, 2021). c The proposed method for the preparation of oriented 2D COF films by spontaneous alignment of a CAN followed by amorphous-to-crystalline transformation. Cross-sectional SEM images, 2D GIWAXS pattern, the corresponding In-plane (near 2θz = 0) and out-of-plane (near 2θxy = 0) projections. Inset: camera picture of the membrane. Reproduced with permission from ref. 124 (copyright Springer Nature, 2025).

Ion separation

Conventional polymer membranes face a long-standing trade-off between ion permeability and selectivity. This limitation arises from their ill-defined ion-conduction pathways and poor dimensional stability, which leads to significant swelling in solvents and consequent degradation of selectivity. In contrast, COF-based membranes have emerged as promising candidates for high-efficiency ion separation, owing to their well-defined pore structures and tailored functionalities22. The ordered channels promote fast ion transport and thus the increase of permeance, and the enhanced interactions between the ions and functionalized channel wall contribute to selective ion transport and the rising of selectivity. Consequently, a growing number of COF membranes have been reported for ion separations, breaking the trade-off limitations, including cation/anion, mono-/multivalent ion, and mono-/monovalent ion separation.

Cation/anion separation

Cations and anions can be effectively separated by traditional ion-exchange membranes (IEMs), which leverage differences in electrostatic interactions between the fixed charges in the membrane matrix and co-ions/counter-ions5. However, conventional IEMs typically form hydrophilic ion-selective channels through hydrophilic-hydrophobic phase separation. These channels are prone to significant swelling in aqueous environment, which is markedly exacerbated with increasing ion-exchange capacity (IEC) and consequently compromises cation/anion selectivity. Previous studies have indicated that enhancing the rigidity of the ion-selective channels can effectively suppress membrane swelling and thus improve separation performance, as demonstrated in polymers of intrinsic microporosity (PIMs) and triazine-based framework membranes4,17. Nevertheless, the IEC values of most reported polymeric membranes, including amorphous porous polymers such as PIMs, remain generally low. In contrast, the highly rigid and ordered frameworks of COF membranes are theoretically capable of maintaining minimal swelling even at high IEC levels, positioning them as promising materials for highly efficient cation/anion separation.

In 2021, Chen et al.125 developed a strategy integrating ionic elements into angstrom-sized channels via in situ encapsulation of charged dyes during 3D COF interfacial polymerization. This method enabled precise guest control, yielding JGx@COF/PAN membranes with anion selectivity. Cl⁻/Mⁿ⁺ permeability ratios reached 1357 (MgCl₂), 452 (LiCl), 296 (NaCl), and 189 (KCl) under 0.1 M/1 mM gradients. Notably, the optimized JG80.1@COF/PAN membrane achieved exclusive Cl⁻ transport (transport number: t−≈1) below 0.1 M/0.1 mM gradients. Subsequently, Zuo et al.126 introduced PaSO3Na monomer to prepare negatively charged COF membranes and modulate the charge density in the pore channels to enhance the permselectivity and ion conductance, leading to a larger osmotic voltage and current. Moreover, the prepared negative COF membranes exhibited a t+ value of 0.8 even at a concentration difference of 104 (Fig. 7a). Cao et al.127 further employed PaSO3H monomer to prepare in-plane-oriented COF nanosheets and assembled them into a proton-conducting membrane. The resulting membrane exhibited a high IEC of 3.2 mmol g−1 and a remarkably low area swelling ratio of ~1% at both 25 °C and 80 °C. In addition, the membrane showed high proton conductivity of 0.38 S cm−1 at 80 °C, with 1–2 orders of magnitude higher than that of benchmark PEMs and a weakly humidity-dependent conductivity over a wide range of humidity (30–98 %). In 2023, Zhu et al.128 synthesized 3D sulfonated COF (3D SCOF) membranes via dual acid-mediated interfacial polymerization (Fig. 7b), achieving a cation transport number of 0.976 and a proton conductivity of 843 mS cm−1 at 90 °C. Cao et al.129 developed two oriented COF membranes COF − SO3H − x and COF − QA−x, with cation and anion selectivity, respectively, via post-functionalization (Fig. 7c). Wang et al.130 reported an ionic COF membrane with superhigh IEC of 4.6 mmol g−1 by introducing 4,4’-diaminobiphenyl-3,3’-disulfonic acid, while maintaining a low swelling ratio of ~21% at 25 °C and a prominent proton conductivity of 0.66 S cm−1. Peng et al.82 synthesized NUS-10 COF with a higher theoretical IEC of ~5.4 mmol g−1 by utilizing highly charged 2,5-diaminobenzene1,4-disulfonic acid monomer, holding great promise in high-efficient cation/anion separation applications. Beyond conventional charged COF membranes, Lai et al.131 engineered COF membranes with aligned benzothiadiazole dipoles (Fig. 7d), enabling dynamic modulation of ion permselectivity across cation-selective, ambipolar, and anion-selective states by exploiting ion-dipolar interactions. When interacting with multivalent anions, the channels exhibited strong cation conductivity and permselectivity (t+ = 0.9) even under a 1000-fold concentration gradient. Yin et al.132 modulated ion-membrane interactions through linkage chemistry (Fig. 7e), showing that charge-neutral β-ketoenamine-linked COF membranes achieved record cation permselectivity under high-salinity conditions and maintained robust ion selectivity under thermal gradients (ΔT = 50 K).

Fig. 7: COF membranes with cations/anions selectivity for osmotic energy conversion.
Fig. 7: COF membranes with cations/anions selectivity for osmotic energy conversion.
Full size image

a Negative charged COF membrane with modulated charge density in the pore channels to enhance the permselectivity and ion conductance, leading to a larger osmotic voltage and current. Reproduced with permission from ref. 126 (copyright Wiley-VCH, 2022) b The sulfonic acid-functionalized 3D SCOF membrane deployed in osmotic energy conversion. Reproduced with permission from ref. 128 (copyright Springer Nature, 2023). c A pair of 100-nm-thick oriented COF membranes COF − SO3H − x and COF − QA−x for osmotic energy conversion. Reproduced with permission from ref. 129 (copyright American Chemical Society, 2022). d The COF-TAPB-BDTA membrane with aligned benzothiadiazole dipole moieties for salinity gradients energy extraction. Reproduced with permission from ref. 131 (copyright Wiley-VCH, 2024). e The β-ketoenamine linkage COF membrane with record permselectivity in high salinity environments employed in low-grade waste heat conversion. Reproduced with permission from ref. 132 (copyright Springer Nature, 2024).

Despite substantial progress in developing architecturally diverse COF membranes with exceptional cation/anion permselectivity by electrostatic, ion-dipolar, and ion-membrane interactions, critical challenges still remain. Firstly, most reported COF membranes show low crystalline and orientation, which hinders the full exploitation of their intrinsic pore channels, resulting in significant differences in the ion transport rates for similar COF membrane and noteworthy lower than the theoretical values. In addition, the performance of COF membranes was evaluated with limited area, such as the reported COF membrane with cation/anion selectivity for osmotic energy conversion only measured in 1 mm2 membrane area. Finally, unlike traditional IEMs where electrostatic interactions dominate, ion permeation in COF nanochannels is influenced by multiple factors, including pore size, wall chemistry, and nanoconfinement effects. However, a unified theoretical framework to elucidate how these factors collectively dictate ion transport mechanisms under nanoconfinement in COFs remains absent. Therefore, it is imperative to develop scalable fabrication methods for large-area COF membranes, establishing standardized protocols for performance assessment under realistic conditions, and designing modular multi-membrane cascade systems. Furthermore, advanced characterization techniques combined with theoretical modeling are critically to gain deeper insights into the ion transport processes and underlying mechanisms within the confined nanochannels of COF membranes.

Mono-/multivalent ion separation

Compared with cation/anion separation, the separation of mono-/multivalent ions with identical charge polarity poses a substantially greater challenge. In recent years, the rapid expansion of the electric vehicle industry has drastically increased the demand for lithium resources2. It is noteworthy that approximately 60% of global lithium reserves exist in Salt Lake brines, which contain high concentrations of Mg2⁺. The similar physicochemical properties of Li⁺ and Mg2⁺ make their separation a major bottleneck in lithium extraction.

Monovalent and multivalent ions carry the same charge polarity but differ in charge number, leading to marked differences in hydrated ion size and hydration energy. For instance, the hydrated diameters of Li+ and Mg2+ are approximately 7.64 Å and 8.56 Å, respectively63, while their hydration energies are about −475 kJ mol⁻1 and −1830 kJ mol⁻1. These differences provide a basis for efficient separation through precise design of pore size and channel-wall chemistry. For example, Yin et al.61 employed solvent vapor annealing to reorient COF channels from anisotropic to perpendicular alignment. The resultant TbHZ membrane with 9.8 Å perpendicular-aligned subnanochannels achieved 2 Å-level ion differentiation and a SO42−/PTS4− selectivity of 16.8 (Fig. 8a). In 2021, our group prepared an ultrathin (~20 nm) TpBDMe₂ COF membrane with sub-2 nm channels and abundant hydrogen-bonding sites via a counter-diffusion approach63. The membrane exhibited high monovalent cation permeation rates (K+: ~0.2 mol m⁻2 h⁻1) and outstanding mono-/multivalent cation selectivity through channel-cation hydrogen bonding interactions (K+/Mg2+: 765, Na+/Mg2+: 680, Li+/Mg2+: 217), breaking the permeability-selectivity trade-off for conventional ion-separation membranes (Fig. 8b)63. Furthermore, the difference in charge number between mono- and multivalent ions also enables their separation by introducing electrostatic interactions in charged nanochannels. In 2024, Liu et al.8 introduced positively charged aldehyde monomer and synthesized an asymmetric-structured HBAB-TAPA-COF membrane on HPAN via counter-diffusion. The membrane consisted of vertically aligned nanorods that enhanced water/ion contact and an ultrathin dense layer that enabled both high permeability (Cs⁺: 0.33 mol m⁻2 h⁻1) and selectivity (Cs⁺/La³⁺: 75.9) (Fig. 8c). Shi et al.133 engineered 3D-OH-COF membranes on cross-linked polyimide substrate through in situ growth, showing free ion permeation but effective dye rejection. Subsequent post synthesis yielded 3D-COOH-COF membranes with selective Cu2⁺ capture via chemical adsorption and electrostatic interactions, achieving K⁺/Cu2⁺, Na⁺/Cu2⁺, and Li⁺/Cu2⁺ selectivity of ~766, ~634, and ~490, respectively. In 2025, Meng et al.7 prepared COF-300-V membranes using counter-diffusion, followed undergoing a post-modification by a click reaction to obtain COF-300-CH0.6 membrane. The prepared membrane exhibited a Li+/Mg2+ selectivity of 321 and a Li+ flux of 0.53 mol m−2 h−1 in electrodialysis surpassing the reported PIM, COF, MOF GO, and MXene membranes, with electric-field-assisted decoupling revealing membrane charge density-cation transport correlations (Fig. 8d). In addition, Meng et al.134 improved ion­π interactions with multivalent ions through optimizing the face-to-face orientation of building blocks during the assembly of COF membranes to achieve both mono-/multivalent cations and anions separation (Fig. 8e). The prepared COF-170/PAN membrane show high selectivity of 214 for K+/Al3+, 62 for Cl/SO42−, and 451 for NO3/PO43−, which is superior to most reported polymer, GO, COF, and MOF membranes. Additionally, Afzal et al.135 developed an SCOF-based hybrid membrane by incorporating SCOF into an SPEEK matrix for vanadium redox flow batteries. The SCOF creates a pore structure that facilitates selective proton conduction, achieving a peak H+/VO2+ selectivity of ~6 × 105 S min cm3—4.5 times higher than that of Nafion 212.

Fig. 8: COF membranes for mono-/multivalent ion separation.
Fig. 8: COF membranes for mono-/multivalent ion separation.
Full size image

a The preparation of perpendicular aligned TbHZ membrane for SO42−/PTS4− separation. Reproduced with permission from ref. 61 (copyright American Chemical Society, 2023). b Ultra-thin sub-2-nanochannel COF (TpBDMe₂) membranes used for mono-/multivalent cation separation through hydrogen bonding interactions. Reproduced with permission from ref. 63 (copyright Wiley-VCH, 2021). c The asymmetric structure HBAB-TAPA-COF membrane employed to separate mono-/multivalent cations. Reproduced with permission from ref. 8 (copyright Springer Nature, 2024). d The cationic COF-300-CH0.6 membrane deployed in Li+/Mg2+ separation by electrodialysis. Reproduced with permission from ref. 7 (copyright Springer Nature, 2025). e The COF-170/PAN membrane with improved ion­π interactions for both mono-/multivalent cation and anion separation. Reproduced with permission from ref. 134 (copyright American Association for the Advancement of Science.

Over the past five years, COF membranes have shown rapid progress in high-efficient mono-/multivalent ion separation, achieving simultaneously enhanced in monovalent ion permeability and mono-/multivalent ion selectivity. However, a deep mechanistic understanding of ion discrimination remains challenging, particularly regarding ion transport dynamics under nanoconfinement and the microscopic origin of selectivity differences. Therefore, advanced characterization techniques such as in situ spectroscopy, synchrotron radiation methods, and quasielastic neutron scattering have garnered significant attention and are being applied to the study of ion transport and separation mechanisms. For instance, Wang et al.136 demonstrated the modulation of hydrated micropore size (less than two nanometres) enables direct control over water and ion transport across broad length scales, which quantified by quasielastic neutron scattering spectroscopic and computational methods. Zuo et al.4 measured the self-diffusion coefficient of Na+ in the channel of triazine framework membranes by using 23Na Pulsed-field Gradient (PFG)-NMR experiment at a Larmor frequency of 158.75 MHz, demonstrating near-frictionless ion transport within triazine framework membranes.

Monovalent ion separation

The separation of monovalent ions from each other presents a far greater challenge than mono-/multivalent ion separation, owing to their identical charge polarity and quantities. Research on mono-/monovalent ion separation remains limited, and the underlying mechanisms are still in the early stages of exploration. In 2022, Wang et al.137 engineered negatively charged COF membranes via LBL assembly and demonstrated the precise separation for mono-/monovalent cations (Fig. 9a). By tailoring acidic groups on COF nanochannels, the optimized TpPa-PO3H2 membrane achieved a K⁺/Li⁺ ideal selectivity of 13.7 and actual selectivity of 4.2–4.7 for K+/Li+ binary mixtures. Moreover, Sun et al.78 constructed well-oriented TpHZ-D COF membranes by interfacial polymerization with organic solvent modulation (Fig. 9b). The prepared membrane demonstrates rapid and selective transport of Li+ ions over Na+ and K+ ions due to the pore-entrance sieving effect and ion−channel wall interactions, achieving Li+/K+ and Li+/Na+ selectivity ratios of 38.7 and 7.2, respectively. In 2025, Wu et al.83 synthesized TpPa-COOH nanosheets via oil-water-oil triphase strategy, subsequently assembling them on porous nylon substrates using dopamine-mediated LBL method. The pH-responsive dopamine spacers enabled dynamic tuning of COF pore sizes (from 1.25 to 0.71 nm), achieving a K⁺/Li⁺ selectivity of 18.7 (Fig. 9c). Separately, Niu et al.138 embedded COF-300 particles into polystyrene (PS) to fabricate COF-300/PS MMMs. The well-ordered pore architecture and surface functional groups enabled selective mono/monovalent cation separation, achieving a K⁺/Li⁺ selectivity of 31.5 (Fig. 9d).

Fig. 9: COF membrane for mono-/monovalent cations separation.
Fig. 9: COF membrane for mono-/monovalent cations separation.
Full size image

a The modulation of acidic groups on COF nanochannels for precise separation between monovalent cations. Reproduced with permission from ref. 137 (copyright Springer Nature, 2022). b The construction of well-oriented TpHZ-D COF membranes through interfacial polymerization with organic solvent modulation for mono-/monovalent cation separation. Reproduced with permission from ref. 78 (copyright American Chemical Society, 2024). c Acid treatment induced monomolecular dopamine to partition 1D in-plane pores of COF membrane, enabling precise separation of mono-/monovalent cation. Reproduced with permission from ref. 83 (copyright Wiley-VCH, 2025). d The COF-300/PS MMMs embedded COF-300 particles within polystyrene (PS) for mono/monovalent cation separation. Reproduced with permission from ref. 138 (copyright Royal Society of Chemistry, 2022).

Though the ordered pore architectures and atomically precise tunability of channel wall chemistry in COFs endow them with immense potential for precise ion discrimination, the development of COF membranes for precise mono/monovalent ion separation is still in its infancy. Both separation performance and mechanistic understanding require further in-depth investigation. First, the precision in fabricating COF membranes needs to be optimized. Combining advanced microscopic characterization and in situ analysis can provide deeper insights into crystallization and growth mechanisms, enabling the synthesis of highly crystalline and oriented COF membranes. This will lay a solid foundation for investigating ion transport mechanisms. Second, systematic exploration of membrane microstructure is essential. Although numerous gCOF architectures—including varied pore geometries, dual- and multi-pore systems, and tunable pore sizes and microenvironments—have been developed, only a limited subset have been realized as membranes. Future efforts should focus on designing COF membranes with more precisely engineered pore structures, quantitatively correlating key microstructural parameters with ion transport and selectivity, and evaluating the contribution of each structural factor to ion permeation rates. Finally, beyond mono-/monovalent cation separation, the precise separation of mono-/monovalent anions and other isovalent ions—such as rare-earth ions or isotopic ions—holds substantial scientific value and practical promise, opening new frontiers for COF-based separation technologies.

Comparison between COF and other membrane materials

COF membranes have garnered considerable research attention for ion separation due to their well-ordered pore structures, high porosity, and atomic-scale precision in pore wall engineering, establishing them as highly competitive candidates for next-generation ion-selective membranes. As illustrated in Fig. 10a, the Li+ flux and Li+/Mg2+ selectivity of various membrane materials—including conventional polymer membranes, commercial ion-exchange membranes, emerging 2D material membranes, MOF membranes, and COF membranes—are compared under both diffusion and electro-driven processes7,62,63,72,81,105,139,140,141,142. Among these, COF membranes demonstrate superior performance in both Li+ flux and Li+/Mg2+ selectivity. Continued advances in fabrication techniques and enhanced control over crystallinity and orientation are expected to further improve their separation performance. In addition, significant progress has also been made in the precise construction of bioinspired COF membranes and the realization of smart, selective ion transport. For instance, Ren et al.85 developed azobenzene-functionalized COF-Azo membranes via a biomimetic nanochannel modulation (BNM) strategy, forming charged and photo-switchable sub-nanochannels (Fig. 10b). Under specific light irradiation, these membranes exhibited high selectivity for both mono/monovalent (K+/Li+: 17.9) and mono/divalent (Li+/Mg2+: 24.9) ion pairs, achieved through reversible angstrom-level pore size modulation via photoisomerization. In 2025, Wang et al.141reported an artificial nanochannel system based on a phase-reversed mixed-matrix COF (PRCOF) membrane incorporating localized ion-trapping sites (Fig. 10c). These sites provide moderate binding affinity and supplementary repulsive interactions, enabling precise recognition and facilitated transport of Li+ ions. By fine-tuning the micro-environment of these traps, a high Li+/Mg2+ selectivity of 190 and a Li+ permeation rate of 0.262 mol h−1 m−2 were attained in a binary mixture. In another study, Meng et al.66 designed a triazine-based COF membrane with a suitably hydrophilic channel environment that promotes Li+ dissociation from negatively charged functional groups, facilitating Li+ migration via a hopping mechanism along sulfonic acid chains and thus shortening the diffusion path. In contrast, partially dehydrated Mg2+, with its stronger effective charge, becomes trapped in energy wells. This mechanism mimics the selectivity of biological K+ channels, allowing rapid Li+ permeation while nearly completely blocking Mg2+ (Fig. 10d).

Fig. 10: COF membrane with precise and smart nanochannels for ion separation.
Fig. 10: COF membrane with precise and smart nanochannels for ion separation.
Full size image

a Comparison of Li+/Mg2+ separation performance between COF and other membrane materials7,62,63,72,81,105,139,140,141,142. b Biomimetic construction of smart nanochannels COF membranes functionalized with photoresponsive azobenzene derivatives (COF-Azo) for precise ion separation through reversible channel gating. Reproduced with permission from ref. 85 (copyright Elsevier, 2024). c Schematic illustration of phase-reversed mixed matrix covalent organic framework membrane and local-ion trap for ion separation. Reproduced with permission from ref. 141 (copyright Wiley-VCH, 2025). d Mechanism of ultrafast transport of K+ in K+ channels and biomimetic TAT-TP-P COF membrane for fast hopping transport of Li+, while Mg2+ is trapped in the energy well. Reproduced with permission from ref. 66 (copyright Wiley-VCH, 2025).

Long-term stability under chemical, thermal, and mechanical stresses is essential for the practical deployment of COF membranes. Although imine-linked COFs generally exhibit good hydrolytic stability, their inherent dynamic covalent chemistry often leads to degradation under strongly acidic conditions due to the reversible nature of the imine (C=N) bond22. Recent efforts have focused on designing COF structures resistant to harsh environments, particularly concentrated acids. For instance, Halder et al.118 introduced interlayer C-H···N hydrogen bonding and a hydrophobic microenvironment around the C=N bonds, providing steric protection that ensures exceptional stability even in strongly acidic (e.g., 18 M H2SO4, 12 M HCl) and alkaline (9 M NaOH), enabling effective sulfuric acid recovery. Ren et al.143 utilized an intramolecular Povarov reaction to postsynthetically convert imine bonds into more stable chromenoquinoline linkages, yielding COFs with outstanding chemical resistance toward strong acids, bases, and oxidizing agents. Yang et al.144 developed a cationic COF membrane with gradient charge distribution, which retained its structural integrity after soaking in 1 M HCl for 15 days and maintained consistent dialysis performance over ten consecutive tests. Meng et al.66 reported a triazine-based COF membrane capable of stable Li+/Mg2+ separation for nearly 100 hours. More recently, Yu et al.145 fabricated COF-based thin-film composite membranes within 10 min by coating COF oligomers onto poly(ether ether ketone) ultrafiltration supports. The resulting membranes exhibited stable operation for 150 h in cross-flow devices, along with excellent anti-fouling properties, showing negligible dye adsorption after 7 days of exposure to Direct Red 23. Despite these advances, most stability tests remain limited to laboratory-scale conditions and relatively short durations. Furthermore, studies on the mechanical properties of COF membranes are scarce. Although freestanding COF membranes have been prepared via methods such as interfacial polymerization, their mechanical strength remains insufficient and falls far short of industrial requirements. Therefore, further improvements in operational stability—particularly mechanical robustness under demanding conditions—are critically needed to enable real-world implementation.

Biological ion-selective channels exhibit exceptional efficiency, intelligence, and precision in ion transport. For example, K+ channels achieve specificity through funnel-shaped architectures and coordination with carbonyl oxygens, whereas Na+ channels utilize four carboxyl groups to confer Na+ selectivity3,146. Inspired by these natural paradigms, the construction of artificial nanochannels has emerged as a vibrant research frontier. COFs offer unique advantages in this regard, owing to their structural controllability and chemical tailorability, making them ideal platforms for developing bioinspired membranes for precision ion separation. Consequently, developing COF-based biomimetic membranes for precision ion separation represents a promising research direction with transformative implications. Moreover, through the precise construction of bioinspired COF membranes, it is possible to investigate the mechanisms underlying highly selective ion transport, establish clear structure-property relationships between the microscopic structural parameters of COF nanochannels and their ion separation performance, and build comprehensive databases correlating structure with ion transport behavior. Notably, with the rapid advancement of artificial intelligence (AI) and the Materials Genome Initiative (MGI) has accelerated the exploration of advanced materials. By developing computational tools that predict structure-property relationships and employing materials genomics strategies, we can analyze the COF structural database and perform computational screening to enable the high-efficiency design of high-performance COF structures.

Outlook

In summary, this review presents a comprehensive overview on the research advancements, challenges, and prospects of COFs as new-generation ion-selective membranes for precise ion separation from three aspects: (i) the structural design of COFs, (ii) the preparation methods of COF membranes, and (iii) the application of COF membranes in ion separation. Regarding structural design, the discussion is organized around two fundamental perspectives: skeletal architecture and pore engineering. For membrane fabrication, we trace three evolutionary stages: from the initial discovery of COF materials, through early exploratory studies in membrane separation, to the recent rapid advancement in membrane technologies. A systematic evaluation of prevailing fabrication methods is presented using the PEQSS framework (Procedure, Efficiency, Quality, Scalability, Sustainability), followed by an in-depth discussion of viable scale-up strategies. In terms of ion separation applications, we categorize current implementations into three groups: cation/anion separation, mono-/multivalent ion separation, and mono-/monovalent ion separation. We also present a performance comparison between COF membranes and other membrane materials for ion separation, as well as a discussion on recent advances and promising directions in bioinspired COF membranes for precise and smart ion separation. To accelerate the development of COF membranes in ion separation, several challenges are worth considering:

(1) Crystallization-controlled membrane formation mechanism of COFs

Despite significant advances having been made in developing structurally diverse COF membranes for ion separation—with their exceptional performance positioning them as highly competitive candidates for next-generation ion-selective membranes compared to conventional polymers, commercial ion-exchange membranes, emerging 2D materials, and MOFs—the current understanding of the crystallization-controlled membrane formation process and underlying mechanisms remains limited. The principles governing the modulation of COF crystallinity, orientation, and stacking modes are still poorly understood, leading to the widespread issue of low crystallinity and poor orientation in most reported COF membranes. This structural imperfection hinders the full utilization of their intrinsic pore channels, resulting in significant variability in ion transport rates even among structurally similar COF membranes, and is obviously lower than the theoretical values. Therefore, it is essential to systematically investigate the crystallization-controlled formation mechanism of COF membranes. Research in this direction should focus on understanding and regulating the crystallization process during membrane fabrication, investigating nucleation and crystal growth pathways to achieve highly ordered nanostructures, developing advanced synthesis techniques such as temperature-programmed synthesis and asymmetric monomer design, and establishing processing-structure-property relationships for separation performance optimization. A fundamental understanding of the crystallization-guided formation mechanism will significantly advance the preparation and practical implementation of highly crystalline and well-oriented COF membranes. Such structural control is expected to fully unlock their potential for efficient ion separation and further enhance their separation performance and precision.

(2) Green fabrication and evaluation of large-area COF membranes

Although various methods have been developed to fabricate COF membranes, they often involve complex procedures, prolonged reaction times, harsh synthesis conditions, and/or substantial organic solvent consumption. Coupled with the high cost of organic monomers, these limitations significantly hinder the scalable production of COF membranes. Furthermore, performance evaluations in current studies are typically conducted on small-area samples, which does not reflect the requirements for practical applications where adequate membrane area is essential for achieving high production efficiency. Moreover, insufficient long-term operational stability remains another critical barrier to real-world implementation, given that practical separation conditions often demand robustness under chemical, thermal, and mechanical stresses. Therefore, it is imperative to develop simpler and greener preparation methods for COF membranes, optimize fabrication protocols, reduce the costs associated with both monomers and processes, and systematically evaluate the performance and long-term stability of large-area membranes. Key strategies toward these goals include the development of solvent-minimized and energy-efficient synthesis routes, the establishment of standardized protocols for assessing permeability, selectivity, and long-term stability, and the implement of life cycle assessment and green chemistry metrics for process evaluation.

(3) Bioinspired ion transport mechanisms in COF membranes

Biological ion-selective channels exhibit remarkable efficiency, intelligence, and precision in regulating ion transport. COF membranes, with their well-defined and atomically tunable pore structures, offer an ideal platform for constructing bioinspired artificial nanochannels. Consequently, developing COF-based biomimetic membranes for precision ion separation represents a promising research direction with transformative potential. Key strategies in this field include: designing heterogeneous nanochannels inspired by biological protein structures (e.g., K+, Na+, Cl, and F channels); engineering stimuli-responsive COF membranes with gating functionality; investigating confined ion transport phenomena and selectivity mechanisms; and achieving exceptional ion selectivity through synergistic optimization of pore geometry and surface chemistry. Notably, bioinspired COF membranes are expected to substantially advance our understanding of ion transport mechanisms under nanoconfinement and guide the rational design of highly efficient membranes for precise ion separation. This is particularly critical for challenging separations involving ions with minimal physicochemical differences. For instance, hydrated K+ (6.62 Å) and Na+ (7.16 Å) exhibit a diameter difference of merely 0.54 Å, while hydrated Ce3+ and La3+ possess identical diameters of 9.04 Å. Similarly, isotopic 6Li+ and 7Li+ demonstrate nearly indistinguishable characteristics. Achieving high-precision separation between such ion pairs necessitates elucidation of their selective transport mechanisms at the atomic level. To this end, complementary approaches beyond nanochannel engineering are required. Advanced characterization techniques—such as in situ spectroscopy, synchrotron radiation analysis, and quasi-elastic neutron scattering—are essential for resolving dynamic ion transport behavior within confined spaces. The integration of bioinspired design with sophisticated experimental probes will establish a fundamental framework for the next generation of ion-selective membranes.

(4) AI-assisted computational screening and structural design

The rational design and development of high-performance COF membranes for ion separation fundamentally rely on clarifying the key microstructural parameters governing ion transport. These include pore size, channel geometry, surface hydrophilicity/hydrophobicity, and specific interactions between functional groups and ions—such as electrostatic, hydrogen bonding, coordination, and ion-dipole interactions—particularly the synergistic effects among these factors under nanoconfinement. However, a unified theoretical framework to elucidate how these parameters collectively dictate ion transport mechanisms in the confined nanochannels of COFs remains absent. A deep understanding of the structure-property relationships between the microscopic features of COF pores and their ion separation performance requires extensive material synthesis and accurate performance evaluation, which poses considerable experimental and theoretical challenges. In recent years, the rapid development of AI and the widespread adoption of the MGI have greatly accelerated the exploration of advanced functional materials. By building computational tools capable of predicting structure-property relationships and implementing materials genomics strategies, it becomes feasible to systematically analyze existing COF structural databases, perform high-throughput computational screening, and enable efficient design of high-performance COF membranes. Such approaches will help establish clear correlations between nanochannel microstructural parameters and ion separation behavior, while also constructing comprehensive databases that link COF architecture with ion transport performance.