The invention relates to a YASI (bis(gamma-aminopropyl) polydimethyl siloxane) siliceous epoxy imide matrix resin and a preparation method thereof. The matrix resin is composed of YASI, an epoxy resin, 3-aminopropyl trialkoxysilane, an imide oligomer and a curing agent. The preparation method comprises the following steps: (1) preparing the imide oligomer; and (2) adding the YASI and epoxy resin into a reaction kettle, stirring and mixing to react, adding the imide oligomer, continuing stirring to react, adding the 3-aminopropyl trialkoxysilane, stirring to react, adding the curing agent, and uniformly stirring and mixing. The resin can be widely used for bonding metals (such as steel, copper, aluminum and the like) and substrates (ceramic, glass, resin-base composite materials and the like), and preparing glass fibers, aramid fibers and carbon-fiber-reinforced polymer composite materials, and thus, has favorable industrialization prospects.