DNA and DNA superstructures were transcribed into pore-structure-tunable mesoporous silicas via the electrostatic interaction between the negatively charged phosphate groups of DNA backbones and the positively charged quaternary ammonium groups of a co-structure directing agent (CSDA).