Superwettable materials have been attracting attention due to their unique properties, showing great application prospects in a variety of fields including oil−water separation. Herein, a kind of covalent organic framework (COF)-encapsulated melamine sponge (MS) capable of internal superwettability inversion is prepared by a one-step synthesis at room temperature. COF is produced in situ on the skeleton of MS, which is favorable for practical application, and the prepared COF-encapsulated sponge (MS@COF) exhibits superhydrophobicity (water contact angle of about 157.0°) due to the rough surface provided by the micro/ nanostructure of COF. More importantly, MS@COF displays reversibly superhydrophilicity by simple prewetting, achieving superwettability inversion conveniently, unlike the previous switchable materials that rely on external conditions. This facile intrinsic superwettability inversion greatly enriches the application prospects of this kind of smart sponge.