Covalent organic frameworks (COFs) are crystalline porous polymers constructed from organic building blocks into ordered two- or three-dimensional networks through dynamic covalent bonds. Attributed to their high porosity, well-defined structure, tailored functionality and excellent chemical stability, COFs have been considered ideal sorbents for various separation applications. The synthesis of COFs mainly employs the solvothermal method, which usually requires organic solvents in sealed Pyrex tubes, resulting in unscalable powdery products and environmental pollution that seriously limits their practical applications. Herein, our protocol focuses on an emerging synthesis method for COFs based on organic flux synthesis without adding solvents. The generality of this synthesis protocol has been applied in preparing various types of COFs, including olefin-linked, imide-linked, Schiff-based COFs on both gram and kilogram scales. Furthermore, organic flux synthesis avoids the disadvantages of solvothermal synthesis and enhances the crystallization and porosity of COFs. Typically, COF synthesis takes 3-5 d to complete, and subsequent washing procedures leading to pure COFs need 1 d. The procedure for kilogram-scale production of COFs with commercially available monomers is also provided. The resulting COFs are suitable for separation applications, particularly as adsorbent materials for industrial gas separation and water treatment applications. The protocol is suited for users with prior expertise in the synthesis of inorganic materials and porous organic materials.