The invention relates to a medicament for preventing and treating viral hepatitis of ducklings and belongs to the technical field of medicine and medical engineering. The medicament consists of the following components in parts by weight: 5-15 parts of radix gentianae, 5-15 parts of flos lonicerae, 5-15 parts of cyrtomium rhizome, 5-15 parts of selfheal, 4-12 parts of uncaria, 4-12 parts of notopterygium, 4-12 parts of radix angelicae pubescentis, 4-12 parts of herba artemisiae scopariae, 3-10 parts of radix paeoniae alba, 3-10 parts of turtle shell, 3-10 parts of rhizoma dioscoreae colletii, 3-10 parts of pericarpium citri reticulatae viride, 2-6 parts of rhubarb, 2-6 parts of gardenia, 2-6 parts of jujube and 2-6 parts of liquorice. The Chinese herbal medicines are dried, weighed, ground, sieved by using a 60-80-mesh sieve, and mixed and stirred evenly. In clinical application, the medicament is soaked by using boiling water for 30-60 minutes to sufficiently dissolve and precipitate effective components of the medicament so as to be beneficial to the absorption in bodies of infected ducks, simultaneously a small amount of saccharides and Vc is added, and lysine, somatotropin and yeast powder are added into a feed for the ducklings according to the instructions, so that the medicament efficacy can be improved. The medicament is high in clinical cure rate without adverse reaction or drug resistance hidden trouble, easily available in raw materials, simple in preparation and convenient to use, and can be widely applied in the duck breeding industry.