You may not know you have atrial fibrillation (AFib). The condition may be found when a health checkup is done for another reason.

To diagnose AFib, the health care provider examines you and asks questions about your medical history and symptoms. Tests may be done to look for conditions that can cause irregular heartbeats, such as heart disease or thyroid disease.


Tests to diagnose atrial fibrillation (AFib) may include:

  • Blood tests. Blood tests are done to look for health conditions or substances that may affect the heart or heartbeat.
  • Electrocardiogram (ECG or EKG). This quick and painless test measures the electrical activity of the heart. Sticky patches called electrodes are placed on the chest and sometimes the arms and legs. Wires connect the electrodes to a computer, which prints or displays the test results. An ECG can show the heart rhythm and how slow or fast the heart is beating. It's the main test for diagnosing atrial fibrillation.
  • Holter monitor. This small, portable ECG device records the heart's activity. It's worn for a day or two while you do your regular activities.
  • Event recorder. This device is like a Holter monitor, but it records only at certain times for a few minutes at a time. It's typically worn for about 30 days. You usually push a button when you feel symptoms. Some devices automatically record when an irregular heart rhythm is detected.
  • Implantable loop recorder. This device records the heartbeat continuously for up to three years. It's also called a cardiac event recorder. The device shows how the heart is beating while you do your daily activities. It may be used to see how often you have an AFib episode. Sometimes it's used to find rare episodes of AFib in those at high risk of the heart problem. For example, you may need one if you've had an unexplained stroke.
  • Echocardiogram. Sound waves are used to create images of the beating heart. This test can show how blood flows through the heart and heart valves.
  • Exercise stress tests. These tests often involve walking on a treadmill or pedaling a stationary bike while the heart is monitored. The tests show how the heart reacts to exercise. If you can't exercise, you may be given medicine that increases the heart rate like exercise does. Sometimes echocardiogram is done during a stress test.
  • Chest X-ray. A chest X-ray shows the condition of the lungs and heart.


The goals of atrial fibrillation treatment are to reset and control the heartbeat and prevent blood clots.

Treatment depends on:

  • How long you've had AFib.
  • Your symptoms.
  • The cause of the irregular heartbeat.

Atrial fibrillation treatment may involve:

  • Medicine.
  • Therapy to reset the heart rhythm, called cardioversion.
  • Surgery or catheter procedures.

Together, you and your health care team discuss the best treatment option for you. It's important to follow your atrial fibrillation treatment plan. If AFib isn't well controlled, it may lead to other complications, including stroke and heart failure.


Treatment for atrial fibrillation may include medicines to do the following:

  • Control the speed of the heartbeat.
  • Restore the heart rhythm.
  • Prevent blood clots, a dangerous complication of AFib.

Medicines that may be used include:

  • Beta blockers. These medicines help slow the heart rate.
  • Calcium channel blockers. These medicines control the heart rate but may need to be avoided by those who have heart failure or low blood pressure.
  • Digoxin. This medicine may control the heart rate at rest, but not as well during activity. Most people need additional or alternative medicines, such as calcium channel blockers or beta blockers.
  • Medicines to control the heart rate and rhythm. Also called anti-arrhythmics, this type of medicine is used sparingly. They tend to have more side effects than other medicines to control the heart rate.
  • Blood thinners. Also called anticoagulants, these medicines help prevent blood clots and reduce the risk of stroke. Blood thinners include warfarin (Jantoven), apixaban (Eliquis), dabigatran (Pradaxa), edoxaban (Savaysa) and rivaroxaban (Xarelto). If you take warfarin, you'll need to have regular blood tests to monitor the medicine's effects.

Cardioversion therapy

If atrial fibrillation symptoms are bothersome or if this is the first AFib episode, a doctor may try to reset the heart rhythm using a procedure called cardioversion.

Cardioversion can be done in two ways:

  • Electrical cardioversion. This method to reset the heart rhythm is done by sending electric shocks to the heart through paddles or patches placed on the chest.
  • Drug cardioversion. Medicines given through an IV or by mouth are used to reset the heart rhythm.

Cardioversion is usually done in a hospital as a scheduled procedure. However, it may be done in emergency situations. If it's scheduled, a blood thinner such as warfarin (Jantoven) may need to be taken for a few weeks before the procedure. The medicine reduces the risk of blood clots and strokes.

After electrical cardioversion, medicines to control the heart rhythm may be needed for life to prevent future episodes of atrial fibrillation. Even with medicine, AFib could return.

Surgery or catheter procedures

If AFib doesn't get better with medicine or other treatments, a procedure called cardiac ablation may be necessary. Sometimes ablation is the first treatment.

Cardiac ablation often uses heat or cold energy to create tiny scars in the heart. The scars disrupt irregular heart signals and restore a typical heartbeat. A doctor inserts a flexible tube called a catheter through a blood vessel, usually in your groin, and into your heart. More than one catheter may be used. Sensors on the tip of the catheter apply the cold or heat energy.

Less commonly, ablation is done using a scalpel during open-heart surgery.

There are several types of cardiac ablation. The type used to treat atrial fibrillation depends on your specific symptoms, overall health and whether you're having another heart surgery.

  • Atrioventricular (AV) node ablation. Heat energy is usually applied to the heart tissue at the AV node to destroy the electrical signaling connection. After this treatment, a pacemaker is needed for life.
  • Maze procedure. A doctor uses heat or cold energy or a scalpel to create a pattern — or maze – of scar tissue in the upper chambers of the heart. Scar tissue doesn't send electrical signals. So the maze interferes with the stray heart signals that cause atrial fibrillation.

    If a scalpel is used to create the maze pattern, open-heart surgery is necessary. This is called the surgical maze procedure. It's the preferred AFib treatment in those who need another heart surgery, such as coronary artery bypass surgery or heart valve repair.

  • Hybrid atrial fibrillation ablation. This therapy combines ablation with surgery. It is used to treat long-standing persistent atrial fibrillation.
  • Pulsed field ablation. This is a treatment for some types of continued atrial fibrillation. It does not use heat or cold energy. Instead, it uses high energy electric pulses to create areas of scar tissue in the heart. The scar tissue blocks faulty electrical signals that cause AFib.

Atrial fibrillation may return after cardiac ablation. If this happens, another ablation or heart treatment may be recommended. After cardiac ablation, lifelong blood thinners may be needed to prevent strokes.

If you have AFib but can't take blood thinners, you may need a procedure to seal a small sac in the left upper heart chamber. This sac, called an appendage, is where most AFib related clots form. This procedure is called left atrial appendage closure. A closure device is gently guided through a catheter to the sac. Once the device is in place, the catheter is removed. The device stays in permanently. Surgery to close the left atrial appendage also is an option for some people with AFib who are having another heart surgery.

From Mayo Clinic to your inbox

Sign up for free and stay up to date on research advancements, health tips, current health topics, and expertise on managing health. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Clinical trials

Explore Mayo Clinic studies testing new treatments, interventions and tests as a means to prevent, detect, treat or manage this condition.

Lifestyle and home remedies

Following a heart-healthy lifestyle can help prevent or treat conditions that can lead to atrial fibrillation (AFib). The following changes are recommended to improve heart health:

  • Eat healthy foods. Choose plenty of fruits, vegetables and whole grains. Limit sugar, salt and saturated fats.
  • Exercise and stay active. Regular physical activity helps control diabetes, high cholesterol and high blood pressure — all risk factors for heart disease. Try to get 30 to 60 minutes of physical activity most days of the week. Talk to your health care team about the amount and type of exercise that's best for you.
  • Don't smoke. Smoking is a major risk factor for heart disease. If you need help quitting, talk to your health care team.
  • Maintain a healthy weight. Being overweight increases the risk of heart disease. Talk with your care provider to set realistic goals for weight.
  • Control blood pressure. Get your blood pressure checked at least every two years if you're 18 and older. If you have risk factors for heart disease or are over age 40, you may need more-frequent checks. If you have high blood pressure, follow your treatment plan as directed.
  • Get your cholesterol checked. Ask your health care team how often you need a cholesterol test. Lifestyle changes and medicines may be recommended to control high cholesterol.
  • Limit alcohol. Binge drinking (having five drinks in two hours for men or four drinks for women) can increase the risk of atrial fibrillation. In some people, even lower amounts of alcohol can trigger AFib.
  • Practice good sleep habits. Poor sleep may increase the risk of heart disease and other chronic conditions. Adults should aim to get 7 to 9 hours of sleep daily.

It's also important to have regular health checkups. Tell your health care team if your AFib symptoms get worse.

Preparing for your appointment

If you have an irregular or pounding heartbeat, make an appointment for a health checkup. If AFib is found early, treatment may be easier, and it may work better. You may be referred to a doctor trained in heart diseases. This type of provider is called a cardiologist.

Here's some information to help you prepare for your appointment.

What you can do

  • Be aware of any pre-appointment restrictions. When you make the appointment, ask if there's anything you need to do in advance, such as restrict your diet. For example, you may be told not to eat or drink for a few hours before a cholesterol test.
  • Write down any symptoms you're having, including any that may seem unrelated to atrial fibrillation. Note when they started, and what you were doing when they started.
  • Write down important personal information, including any family history of heart disease, stroke, high blood pressure or diabetes, and any major stresses or recent life changes.
  • Make a list of all medicines, vitamins or supplements that you're taking — even those bought without a prescription. Include the dosages.
  • Take someone along, if possible. Someone who goes with you can help you remember information you're given.
  • Write down questions to ask your health care team.

For atrial fibrillation, some basic questions to ask your doctor include:

  • What is likely causing my symptoms or condition?
  • What are other possible causes for my symptoms or condition?
  • What kinds of tests will I need?
  • What's the most appropriate treatment?
  • Is there a generic alternative to the medicine you're prescribing?
  • What are other treatment options?
  • What foods should I eat or avoid?
  • What's an appropriate level of physical activity?
  • Are there any other restrictions that I need to follow?
  • How often should I be screened for heart disease or complications of AFib?
  • I have other health conditions. How can I best manage them together?
  • Should I see a specialist?
  • Are there any brochures or other printed material that I can take home with me? What websites do you recommend visiting?

Don't hesitate to ask any other questions during your appointment.

What to expect from your doctor

During a health checkup, you are usually asked many questions. Being ready to answer them may save time to go over any details you want to spend more time on. You may be asked:

  • When did your symptoms start?
  • Do you always have symptoms, or do they come and go?
  • How severe are your symptoms?
  • What, if anything, seems to improve your symptoms?
  • What, if anything, appears to worsen your symptoms?

What you can do in the meantime

It's never too early to make heart-healthy lifestyle changes, such as quitting smoking, eating healthy foods and getting more exercise. A healthy lifestyle is the main protection against heart problems and heart-related complications.

March 08, 2024

Living with atrial fibrillation?

Connect with others like you for support and answers to your questions in the Heart Rhythm Conditions support group on Mayo Clinic Connect, a patient community.

Heart Rhythm Conditions Discussions

Kanaaz Pereira, Connect Moderator
Heart Rhythm Conditions – Welcome to the group

891 Replies Wed, Jul 10, 2024

Pacemaker recipients: Looking for support from others

419 Replies Sat, Jul 06, 2024

Eliquis and AFIB

32 Replies Wed, Jun 26, 2024

See more discussions
  1. Atrial fibrillation. National Heart, Lung, and Blood Institute. https://www.nhlbi.nih.gov/health/atrial-fibrillation. Accessed March 23, 2023.
  2. Jalife J, et al., eds. Ablation for atrial fibrillation. In: Zipes and Jalife's Cardiac Electrophysiology: From Cell to Bedside. 8th ed. Elsevier; 2022. https://www.clinicalkey.com. Accessed March 23, 2023.
  3. Ferri FF. Atrial fibrillation. In: Ferri's Clinical Advisor 2023. Elsevier; 2023. https://www.clinicalkey.com. Accessed March 23, 2023.
  4. Petryszyn P, et al. Effectiveness of screening for atrial fibrillation and its determinants. A meta-analysis. PLoS One. 2019; doi:10.1371/journal.pone.0213198.
  5. Atrial fibrillation. Centers for Disease Control and Prevention. https://www.cdc.gov/heartdisease/atrial_fibrillation.htm. Accessed March 23, 2023.
  6. Kumar K. Overview of atrial fibrillation. https://www.uptodate.com/contents/search. Accessed March 23, 2023.
  7. Bonow RO, et al., eds. Atrial fibrillation: Clinical features, mechanisms and management. In: Braunwald's Heart Disease: A Textbook of Cardiovascular Medicine. 12th ed. Elsevier; 2022. https://www.clinicalkey.com. Accessed March 23, 2023.
  8. January CT, et al. 2019 AHA/ACC/HRS focused update of the 2014 AHA/ACC/HRS guideline for the management of patients with atrial fibrillation: A report of the American College of Cardiology/American Heart Association Task Force on Clinical Practice Guidelines and the Heart Rhythm Society in collaboration with the Society of Thoracic Surgeons. Circulation. 2019; doi:10.1161/CIR.0000000000000665.
  9. Chung MK, et al. Atrial fibrillation: JACC Council perspectives. Journal of the American College of Cardiology. 2020; doi:10.1016/j.jacc.2020.02.025.
  10. Ponamgi SP, et al. Screening and management of atrial fibrillation in primary care. BMJ. 2021; doi:10.1136/bmj.n379.
  11. Facts about AFib. American Heart Association. https://www.heart.org/en/health-topics/atrial-fibrillation. Accessed March 23, 2023.
  12. Kumar K. Antiarrhythmic drugs to maintain sinus rhythm in patients with atrial fibrillation: Recommendations. https://www.uptodate.com/contents/search. Accessed March 23, 2023.
  13. Kaplan R. Control of ventricular rate in patients with atrial fibrillation who do not have heart failure: Pharmacologic therapy. https://www.uptodate.com/contents/search. Accessed March 23, 2023.
  14. Reddy VY, et al. 5-year outcomes after left atrial appendage closure: From the PREVAIL and PROTECT AF trials. Journal of the American College of Cardiology. 2017; doi:10.1016/j.jacc.2017.10.021.
  15. Ami TR. Allscripts EPSi. Mayo Clinic. March 23, 2023.
  16. Noseworthy PA (expert opinion). Mayo Clinic. April 18, 2023.
  17. Guide to atrial fibrillation. Heart Rhythm Society. https://www.hrsonline.org/guide-atrial-fibrillation. Accessed March 23, 2023.
  18. DeLurgio DB, et al. Hybrid convergent procedure for the treatment of persistent and long-standing persistent atrial fibrillation. Circulation: Arrhythmia and Electrophysiology. 2020; doi:10.1161/CIRCEP.120.009288.
  19. Kaba RA, et al. A chronicle of hybrid atrial fibrillation ablation therapy: From Cox maze to convergent. Arrhythmia and Electrophysiology Review. 2022; doi:10.15420/aer.2022.05.
  20. Verma A, et al. Pulsed field ablation for the treatment of atrial fibrillation: PULSED AF pivotal trial. Circulation. 2023; doi:10.1161/CIRCULATIONAHA.123.063988.
  21. Rowse PG (expert opinion). Mayo Clinic. Feb. 22, 2024.