The present invention relates to a pyrazine derivative, and preparation method and medical use thereof. The pyrazine derivative can remove free radicals and suppress calcium overload and has cytoprotective effects, and can be used for the prevention and treatment of cardiovascular and cerebrovascular diseases, neurodegenerative diseases and other related diseases.