Some people are unaware that they have atrial fibrillation (A-fib). A-fib may be detected when a doctor is listening to the heart with a stethoscope during a physical exam for other reasons.

A doctor may order several tests to diagnose A-fib or exclude other conditions that can cause similar symptoms. Tests may include:

  • Electrocardiogram (ECG or EKG). This quick and painless test measures the electrical activity of the heart. Sticky patches (electrodes) are placed on the chest and sometimes the arms and legs. Wires connect the electrodes to a computer, which displays the test results. An ECG can show if the heart is beating too fast, too slow or not at all. An ECG is the main test for diagnosing atrial fibrillation.
  • Blood tests. These help a doctor rule out thyroid problems or detect other substances in the blood that may lead to A-fib.
  • Holter monitor. This small, portable ECG device is carried in a pocket or worn on a belt or shoulder strap during regular daily activities. It records the heart's activity continuously for 24 hours or longer.
  • Event recorder. This device is similar to a Holter monitor, but it records only at certain times for a few minutes at a time. It's worn longer than a Holter monitor, typically 30 days. You generally push a button when you feel symptoms. Some devices automatically record when an irregular heart rhythm is detected.
  • Echocardiogram. This noninvasive test uses sound waves to create images of the heart's size, structure and motion.
  • Stress test. Also called exercise testing, stress testing involves running tests on the heart while exercising on a treadmill or stationary bike.
  • Chest X-ray. X-ray images help a doctor see the condition of the lungs and heart.


Treatment for atrial fibrillation depends on how long you've had A-fib, your symptoms and the underlying cause of the heartbeat problem. The goals of treatment are to:

  • Reset the heart rhythm
  • Control the heart rate
  • Prevent blood clots that can lead to stroke

Atrial fibrillation treatment may involve:

  • Medications
  • Therapy to reset the heart rhythm (cardioversion)
  • Surgery or catheter procedures

Together, you and your doctors will discuss the best treatment option for you. It's important to follow your atrial fibrillation treatment plan. If A-fib isn't well controlled, it may lead to other complications, including strokes and heart failure.


You may be prescribed medications to control how fast your heart beats and restore it to a normal rate. Medications are also prescribed to prevent blood clots, a dangerous complication of A-fib.

Medications used to treat atrial fibrillation include:

  • Beta blockers. These medications can help slow the heart rate at rest and during activity.
  • 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 medication may control the heart rate at rest, but not as well during activity. Most people need additional or alternative medications, such as calcium channel blockers or beta blockers.
  • Anti-arrhythmic medications. These drugs are used to maintain a normal heart rhythm, not just to control the heart rate. Because they tend to have more side effects than drugs that control the heart rate, anti-arrhythmics tend to be used more sparingly.
  • Blood thinners. To reduce the risk of stroke or damage to other organs caused by blood clots, a doctor may prescribe a blood-thinning medication (anticoagulant). 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 drug's effects.

Cardioversion therapy

If A-fib symptoms are bothersome or if this is the first episode of atrial fibrillation, a doctor may attempt to reset the heart rhythm (sinus 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 (electrodes) placed on the chest.
  • Drug cardioversion. Medications 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, but it may be done in emergency situations. If it's scheduled, warfarin (Jantoven) or another blood thinner may be given a few weeks before it's done to reduce the risk of blood clots and strokes.

After electrical cardioversion, anti-arrhythmic medications may be prescribed indefinitely to help prevent future episodes of atrial fibrillation. Even with medications, there is a chance of another episode of atrial fibrillation.

Surgery or catheter procedures

If A-fib doesn't get better with medications or other therapies, a doctor might recommend a procedure called cardiac ablation. Sometimes ablation is the first treatment for certain patients.

Cardiac ablation uses heat (radiofrequency energy) or extreme cold (cryoablation) to create scars in your heart to block abnormal electrical signals and restore a normal heartbeat. A doctor inserts a flexible tube (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 performed using a scalpel during open-heart surgery.

There are different 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.

For example, some of the types of cardiac ablation that may be used to treat atrial fibrillation are:

  • Atrioventricular (AV) node ablation. Heat or cold energy is applied to the heart tissue at the AV node to destroy the electrical signaling connection. After AV node ablation, a pacemaker is needed for life.
  • Maze procedure. A doctor uses heat or cold energy or a scalpel to create a pattern of scar tissue (the maze) in the upper chambers of the heart. Because scar tissue doesn't send electrical signals, 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 method of atrial fibrillation treatment in those who need another heart surgery, such as coronary artery bypass surgery or heart valve repair.

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

If a person with A-fib can't take blood-thinning medications, a doctor may recommend a catheter procedure to seal a small sac (appendage) in the left upper heart chamber, where most A-fib 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 is left permanently in place. Surgery to close the left atrial appendage is an option for some people already having heart surgery.

From Mayo Clinic to your inbox

Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus 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 such as high blood pressure and heart disease. Lifestyle changes often include:

  • Eating heart-healthy foods. Eat a healthy diet that's low in salt and solid fats and rich in fruits, vegetables and whole grains.
  • Exercising regularly. Exercise daily and increase physical activity.
  • Quitting smoking. If you smoke and can't quit on your own, talk to your doctor about strategies or programs to help you break a smoking habit.
  • Maintaining a healthy weight. Being overweight increases your risk of developing heart disease. Healthy weight loss can help to manage symptoms of atrial fibrillation and may improve the results of catheter ablation.
  • Keeping blood pressure and cholesterol levels under control. Make lifestyle changes and take medications as prescribed to correct high blood pressure (hypertension) or high cholesterol.
  • Limiting alcohol. Binge drinking (having five drinks in two hours for men or four drinks for women) can increase the chances of atrial fibrillation. In some people, even modest amounts of alcohol can trigger atrial fibrillation.
  • Getting follow-up care. Take your medications as prescribed and have regular follow-up appointments with your doctor. Tell your doctor if your symptoms worsen.

Preparing for your appointment

If you have an irregular or pounding heartbeat, make an appointment with your family doctor. If atrial fibrillation is found early, treatment may be easier and more effective. You may be referred to a doctor trained in heart conditions (cardiologist).

Because appointments can be brief, and because there's often a lot to discuss, it's a good idea to be prepared for your appointment. Here's some information to help you get ready for your appointment, and what to expect from your doctor.

What you can do

  • Be aware of any pre-appointment restrictions. At the time you make the appointment, be sure to ask if there's anything you need to do in advance, such as restrict your dietary intake. You may need to do this if your doctor orders blood tests.
  • Write down any symptoms you're experiencing, including any that may seem unrelated to atrial fibrillation.
  • Write down key 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 medications, vitamins or supplements that you're taking.
  • Take a family member or friend along, if possible. Sometimes it can be difficult to understand and remember all the information provided to you during an appointment. Someone who accompanies you may remember something that you missed or forgot.
  • Write down questions to ask your doctor.

Your time with your doctor is limited, so preparing a list of questions will help you make the most of your time together. List your questions from most important to least important, in case time runs out. 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?
  • What foods should I eat or avoid?
  • What's an appropriate level of physical activity?
  • How often should I be screened for heart disease or other complications of atrial fibrillation?
  • What are the alternatives to the primary approach that you're suggesting?
  • I have other health conditions. How can I best manage them together?
  • Are there any restrictions that I need to follow?
  • Should I see a specialist? What will that cost, and will my insurance cover seeing a specialist? (You may need to ask your insurance provider directly for information about coverage.)
  • Is there a generic alternative to the medicine you're prescribing?
  • Are there any brochures or other printed material that I can take home with me? What websites do you recommend visiting?

In addition to the questions that you've prepared to ask your doctor, don't hesitate to ask questions during your appointment.

What to expect from your doctor

Your doctor is likely to ask you a number of questions. Being ready to answer them may save time to go over any points you want to spend more time on. Your doctor may ask:

  • When did you first begin experiencing symptoms?
  • Have your symptoms been continuous or occasional?
  • How severe are your symptoms?
  • What, if anything, seems to improve your symptoms?
  • What, if anything, appears to worsen your symptoms?

Atrial fibrillation care at Mayo Clinic

Oct. 19, 2021
  1. Atrial fibrillation. National Heart, Lung, and Blood Institute. https://www.nhlbi.nih.gov/health-topics/atrial-fibrillation. Accessed July 6, 2021.
  2. Zipes DP, et al., eds. Catheter ablation: Technical aspects. In: Cardiac Electrophysiology: From Cell to Bedside. 7th ed. Elsevier; 2018. https://www.clinicalkey.com. Accessed Feb. 2, 2021.
  3. Ferri FF. Atrial fibrillation. In: Ferri's Clinical Advisor 2022. Elsevier; 2022. https://www.clinicalkey.com. Accessed July 12, 2021.
  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 July 22, 2021.
  6. Kumar K. Overview of atrial fibrillation. https://www.uptodate.com/contents/search. Accessed Aug. 3, 2021.
  7. Bonow RO, et al., eds. Atrial fibrillation: Clinical features, mechanisms and management. In: Braunwald's Heart Disease: A Textbook of Cardiovascular Medicine. 11th ed. Elsevier; 2019. https://www.clinicalkey.com. Accessed July 22, 2021.
  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. Catheter ablation. National Heart, Lung, and Blood Institute. https://www.nhlbi.nih.gov/health-topics/catheter-ablation. Accessed Jan. 21, 2021.
  10. High blood pressure, Afib, and your risk of stroke. American Heart Association. https://www.heart.org/en/health-topics/atrial-fibrillation/why-atrial-fibrillation-af-or-afib-matters/high-blood-pressure-afib-and-your-risk-of-stroke. Accessed Aug. 2, 2021.
  11. Arrhythmia. National Heart, Lung, and Blood Institute. https://www.nhlbi.nih.gov/health-topics/arrhythmia. Accessed Aug. 2, 2021.
  12. Kumar K. Antiarrhythmic drugs to maintain sinus rhythm in patients with atrial fibrillation: Recommendations. https://www.uptodate.com/contents/search. Accessed Aug. 2, 2021.
  13. Ganz LI. Control of ventricular rate in atrial fibrillation: Pharmacologic therapy. https://www.uptodate.com/contents/search. Accessed Aug. 2, 2021.
  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. Braswell Pickering EA. Allscripts EPSi. Mayo Clinic. July 22, 2021.
  16. Noseworthy PA (expert opinion). Mayo Clinic. Aug. 24, 2021.
  17. Guide to atrial fibrillation. Heart Rhythm Society. https://www.hrsonline.org/guide-atrial-fibrillation. Accessed July 22, 2021.