The invention relates to two-component epoxy glue and a preparation method thereof. The two-component epoxy glue comprises a component A and a component B, and the component A comprises epoxy resin, a toughening agent, a liquid flame retardant, a powder flame retardant, a diluent, an antifoaming agent and reinforcing fillers; the component B comprises an aliphatic amine curing agent, polyether amine, polyamide 650 and a curing accelerator. According to the two-component epoxy glue and the preparation method thereof, screening is conducted on the components of the epoxy glue, performance complementation of the components is achieved, a two-component epoxy glue with excellent comprehensive performance is formed through synergetic cooperation, the toughness, the anti-stripping strength and the anti-impact performance of the epoxy glue are significantly improved, the flame-retardant performance can reach the grade UL94-V0, the operable time is more appropriate, the curing time is short, and the continuous production can be achieved.