Myocarditis is an inflammation of the heart muscle that decreases the ability of the heart to pump blood normally. It can be caused by: An infection —Many infections have been associated with myocarditis. Some of the more likely germs include: Viral infections — A common cause of myocarditis.