According to the electrocardiogram artifact analysis method based on the optimal scoring strategy, electrocardiogram artifacts with short duration caused by poor electrode contact, muscle vibration and movement interference introduced in activities can be automatically recognized, and the working efficiency of technicians is greatly improved. According to the technical scheme, the feature inflection points are found in the heart beat sample to be analyzed, the feature inflection points with the features of the Q point, the S point, the T starting point and the T ending point are found in all the feature inflection points, and the feature inflection points which do not conform to the QST combination position features are deleted. All feature inflection point combinations strictly conforming to the features between the Q point and the S point, the features between the S point and the T point and the features between the T starting point and the T ending point at the same time are found, and finally based on feature parameters such as the sharp incisura number of each combination, scoring is conducted through a scoring function, and the electrocardiograph artifacts are found.