This work utilized surface functionalized silica as hard template to tune the porous structure of germanium species based on a facile electrostatic self-assembly strategy between MXene and silane coupling agent modified silica, followed by the reduction of Germanium oxide with the assistance of reduction agent. Moreover, 3D framework germanium/MXene could be a promising candidate for lithium ion batteries. Noticeably, 2.4NFGe/MXene displays superior electrochemical performance of 1240 m Ag-1 at 0.2 A g-1 compared with pure germanium powder. The addition of MXene material can effectively improve the electronic conductivity of Ge-based composites electrodes and electrochemical performance of batteries. Additionally, the impact of amount of SiO2 template on the electrochemical performance was also investigated and it is of great significance to precisely tune the structure of Ge-based material to optimize the electrochemical performance of the electrodes.