The copolymer of N-vinylpyrrolidinone with a branched topology was proposed as a promising blowing agent to produce mesoporous network copolymers.