The invention provides a traditional Chinese medicine preparation for treating pediatric viral myocarditis. The preparation comprises raw materials of Radix Ophiopogon, therootofred-rootedsalvia, cassia twig, alliummacrostemon, rootofcommonpeony, Schisandra chinensis, pseudo-ginseng, Astragalusmongholicus, Fructus Trichosanthis, Fructus Forsythiae, Semen Platycladi, Rhizoma Atractylodis, luffa vegetable sponge, angelica, Ligusticumwallichii, curcuma zedoary, ginger processed pinellia, the root of large-flowered skullcap, polygala root, earthworm, and Radix aucklandiae. The invention aims to prepare a medicine for treating myocarditis from selected traditional Chinese medicines. The prepared medicine not only can improve the metabolism of myocardium and myocardial nutrition, protect the heart cells and improve myocardial disease resistance, but also can directly kill virus, reduce the damage of virus on myocardium, and realize combination of antivirus and overall regulation; and the medicine can reduce deputy effects caused by long-term application of Western medicine on the human body, and is an ideal medicine for treating myocarditis. In addition, the medicine prepared by the invention contains a large amount of active ingredients, employs cheap raw materials and simple preparation method, and can be widely used in clinical practice.