The invention discloses a preparation method and application of an enzyme electrode sensor for SAM detection. The preparation method is characterized by comprising the steps that 1, a glassy carbon electrode is polished with Al2O3 powder and cleaned by ethyl alcohol and water ultrasonic successively in an ultrasonic cleaner to obtain an activated glassy carbon electrode; 2, an electrochemical polymerization method is adopted on the activated glassy carbon electrode to obtain a poly-3,7-diamido-phenothiazine-5-onium modified electrode; 3, transmethylase is fixed to the poly-3,7-diamido-phenothiazine-5-onium modified electrode in a crosslinking mode to obtain a fixed transmethylase electrode sensor. SAM in a sample can be rapidly detected through the electrode, the method is high in sensitivity, good in selectivity, short in response time, low in interference and better than other detection methods, and is an SAM determination method which is simple, rapid, convenient and easy to implement. The obtained fixed transmethylase electrode sensor is low in cost, simple in preparation technology and good in specificity and has the potential for achieving automatic in-situ measurement.