Infective endocarditis, also called bacterial endocarditis, is an infection caused by bacteria that enter the bloodstream and settle in the heart lining, a heart valve or a blood vessel. IE is uncommon, but people with some heart conditions have a greater risk of developing it.