The invention relates to a two-component epoxy glue and a preparation method thereof. The two-component epoxy adhesive includes A component and B component, and the A component includes: epoxy resin, toughener, liquid flame retardant, powder flame retardant, diluent, defoamer, Reinforcing filler; the B component includes aliphatic amine curing agent, polyether amine, polyamide 650, and curing accelerator. The present invention screens the components of the epoxy adhesive so that the components can complement each other in performance and form a two-component epoxy adhesive system with superior comprehensive performance through synergistic cooperation, which significantly improves the toughness, anti-peel strength, The impact resistance and flame retardancy have also reached the UL94-V0 level, and the operating time is relatively suitable, and the curing time is short, which can realize continuous production.