The method of preparation of epoxyaminopropionitrile of allyl and propargyl series by means of interaction of epichlorohydrin with corresponding (allyl- or propargyl) propionitriles and subsequent dehydrochlorination – forming epichlorhydrins which can be used as synthons in organic synthesis has been developed. It has been shown that synthesized nitrogen- and silicon containing epoxide compounds may be used as modifier of epoxydiane resin for improvement of their physical-mechanical properties.