Skip to main content

Heart conditions

Endocarditis: symptoms, causes and treatment

Endocarditis is inflammation of the inner lining of the heart, usually caused by an infection when bacteria or fungus enter the blood and reach the heart. It is rare but can be life-threatening and needs urgent treatment with antibiotics for 4 to 6 weeks, and sometimes surgery. Symptoms include fever, tiredness, night sweats and breathlessness. Get help from NHS 111 if you have symptoms; call 999 for signs of stroke.

Last checked: 2026-10-11

Key facts

At a glance.

  • What it is

    The NHS says endocarditis is inflammation of the inner lining inside your heart, usually caused by an infection. It is rare but can be life-threatening.

  • How it happens

    Bacteria or fungus gets into your blood through your mouth or skin and travels to your heart, for example after a dental procedure or through a cut.

  • Who is at risk

    People with heart valve disease, an artificial valve, a pacemaker or ICD, some congenital heart disease, previous endocarditis, or who inject illegal drugs.

  • Symptoms

    High temperature, headaches, tiredness, joint or muscle pain, night sweats, breathlessness, loss of appetite or weight loss.

  • Onset

    Symptoms sometimes appear quickly over a few days but often come on slowly over weeks or months.

  • Treatment

    Antibiotic or antifungal medicine for 4 to 6 weeks; around half of people need surgery.

  • Stroke warning

    Face weakness, arm weakness or speech problems need 999, as stroke can be a complication.

What are the symptoms of endocarditis?

The NHS lists the symptoms below. They sometimes appear quickly over a few days but often come on slowly over weeks or months, and may resemble an everyday illness, which is why the BHF says it can be tricky to spot.

  • A high temperature, or feeling hot, cold or shivery.

  • Headaches and feeling very tired.

  • Joint or muscle pain.

  • Regularly sweating a lot during the night (night sweats).

  • Feeling breathless, loss of appetite or losing weight without trying.

  • Small dark-coloured spots on the skin, or red spots on the palms or soles.

  • Small dark spots or dark lines under the fingernails.

  • Small painful lumps on the fingers or toes.

  • Chest or back pain.

What is endocarditis?

The British Heart Foundation describes endocarditis as inflammation of the inner lining of the heart, often damaging the heart valves, sometimes called infective or bacterial endocarditis. It happens when bacteria or fungi enter the bloodstream and attach to heart tissue. It is rare but very serious.

The NHS says anyone can get it, but it is more common in men and people over 50.

What causes endocarditis and who is at risk?

Endocarditis usually happens when bacteria or fungus gets into the blood through the mouth or skin and travels to the heart, for example during a dental procedure or through a cut or graze. The BHF says that if your heart is already damaged there is a higher risk, because it is easier for germs to settle and grow in damaged areas.

Factors that raise the risk of endocarditis
GroupExamples (NHS and BHF)
Heart conditionsHeart valve disease; an artificial heart valve; a pacemaker or ICD; some congenital heart disease; hypertrophic cardiomyopathy.
Past historyHeart transplant; previous endocarditis.
ExposureWorking closely with farm animals; injecting illegal drugs; poor dental hygiene.

How is endocarditis diagnosed?

A doctor will examine you and listen to your chest and ask about recent dental treatment or other procedures. If they think you may have endocarditis you will usually be referred to a cardiologist. The NHS says tests check for bacteria or fungi, how your heart is working and any damage, and usually happen in hospital.

They may include blood and urine tests, a chest X-ray, an electrocardiogram and echocardiogram, and an MRI scan. The BHF says that because it is a serious infection, doctors might start treatment while confirming the diagnosis.

How is endocarditis treated?

The NHS says treatment usually involves medicine and sometimes surgery. You will be given antibiotic or antifungal medicine for 4 to 6 weeks, usually in hospital through a drip or injections into a vein at first. If you feel well enough and tests show the infection is under control, you may be able to finish the IV medicine at home, and some people continue tablets for a few more weeks.

Around half of people who have endocarditis will need surgery to remove or repair damaged heart tissue or valves. Depending on where the infection is, you may also need a pacemaker fitted, or yours removed and replaced.

Recovery and complications

The NHS says many people fully recover, particularly if the infection is found and treated early, but it can take several months to feel completely better, especially after surgery, and it is normal to feel very tired for several weeks. You will need regular check-ups and blood tests.

Endocarditis can damage the heart and lead to heart failure, and having it increases the chance of a stroke. You also have a higher chance of getting endocarditis again, so it is important to know the symptoms and get help quickly.

How to lower your risk

If you are at higher risk, the NHS suggests taking care of your teeth and gums and having regular dental check-ups, speaking to a doctor before dental procedures, cleaning and covering cuts and grazes, washing your hands regularly, and making sure family and carers know the symptoms. It also says not to get piercings or tattoos without speaking to a doctor first.

When to get urgent help

Get help from NHS 111 if you have symptoms of endocarditis. Speak to your GP as soon as possible if you have been told you are at high risk and have any of the symptoms, and watch for flu-like symptoms with a high temperature.

Call 999 if you or someone with you has face weakness, weakness or numbness in one arm or down one side, speech problems, or blurred vision or loss of sight in one or both eyes. These can be signs of a stroke, which can be a complication of endocarditis.

NHS and private pathways in general terms

Endocarditis is treated in hospital because of the IV antibiotics, scans and the need for cardiac assessment, so care is nearly always through NHS emergency or cardiology services. Private cardiologists can offer scans and follow-up; ask what is included.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • What is endocarditis?

    Inflammation of the inner lining of the heart, usually caused by infection. The NHS says it is rare but can be life-threatening and needs urgent treatment.

  • What causes endocarditis?

    Bacteria or fungus entering the blood through the mouth or skin and travelling to the heart, for example during dental procedures or through a cut. A damaged heart makes this more likely.

  • What are the symptoms of endocarditis?

    A high temperature, headaches, tiredness, joint or muscle pain, night sweats, breathlessness, loss of appetite and weight loss. Some people also get spots on the skin or lumps on fingers or toes.

  • Who is most at risk of endocarditis?

    People with heart valve disease, an artificial valve, a pacemaker, some congenital heart conditions, previous endocarditis, or who inject drugs. It is more common in men and over 50s.

  • How is endocarditis treated?

    With antibiotic or antifungal medicine for 4 to 6 weeks, usually starting in hospital via a drip. The NHS says around half of people need surgery.

  • How long does it take to recover from endocarditis?

    The NHS says it can take several months to feel completely better, especially if you had surgery, and you will feel very tired for several weeks. Regular check-ups follow.

  • Can endocarditis cause a stroke?

    Yes. The NHS says stroke can be a complication, and having endocarditis increases your chance of stroke. Call 999 for face drooping, arm weakness or speech problems.

  • Can dental treatment cause endocarditis?

    The NHS says bacteria can get into the blood during a dental procedure. If you are at higher risk, look after your teeth and gums and speak to a doctor before dental procedures.

  • Can endocarditis come back?

    Yes. The NHS says you have a higher chance of getting endocarditis again, so know the symptoms and get help quickly if you think you may have it.

  • Can endocarditis be prevented?

    You can lower your chance if at higher risk: good dental care and regular dental check-ups, cleaning and covering cuts, and checking with a doctor before piercings or tattoos, says the NHS.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-11, next review 2027-10-11.