MedChunk
Medically reviewed

What Is Cardioversion for Atrial Fibrillation?

Learn what cardioversion for atrial fibrillation involves, how electrical and medication-based cardioversion work, how to prepare, and what to expect afterward.

By Caleb Bennett Reviewed by Dr. Irene Medical review dateNov 19, 2026 15 min read

Cardioversion is a treatment that helps restore a regular heartbeat in someone with atrial fibrillation (AFib). It works either by delivering a brief, controlled electrical shock to the heart or by using medication to change the heart's rhythm. Electrical cardioversion is usually performed while the person is asleep under short-term sedation.

The goal is to bring the heart out of atrial fibrillation and back into a normal rhythm. This may help reduce symptoms such as palpitations, tiredness, dizziness, and shortness of breath. However, the procedure does not always prevent AFib from returning, so additional treatment and follow-up may be necessary.

How does cardioversion work for atrial fibrillation?

In a normal heartbeat, electrical signals travel through the heart in an organized pattern. These signals help the upper chambers, called the atria, contract in a coordinated way and move blood into the lower chambers.

With atrial fibrillation, the electrical signals in the atria become fast and disorganized. Instead of contracting normally, the upper chambers quiver. This causes an irregular heartbeat and may affect how efficiently the heart moves blood.

Cardioversion attempts to interrupt this abnormal electrical activity and allow the heart's normal rhythm to return. An electrical shock resets the heart's electrical activity, while certain medications can also help restore a regular rhythm.

According to the American Heart Association, cardioversion can restore a regular heart rhythm using either medication or an electrical shock. These are known as pharmacological and electrical cardioversion, respectively.

When is cardioversion recommended for AFib?

Cardioversion may be considered when a person has atrial fibrillation and the healthcare team believes that restoring a normal rhythm could improve symptoms or support the overall treatment plan.

A cardiologist may discuss cardioversion in situations such as:

  • Newly diagnosed AFib: Cardioversion may be considered during an early episode when restoring a regular rhythm is an appropriate treatment goal.
  • Persistent symptoms: People who continue to experience bothersome palpitations, fatigue, breathlessness, or reduced ability to exercise may be considered for rhythm-restoring treatment.
  • Medication has not restored the rhythm: Electrical cardioversion may be considered when medication-based cardioversion has not worked or is not suitable.
  • Emergency situations: When AFib causes serious problems with blood circulation or blood pressure, immediate electrical cardioversion may be necessary.

Cardioversion is not required for everyone with AFib. Some people do well with medication that controls their heart rate without attempting to restore a normal rhythm. The choice depends on factors such as symptoms, how long AFib has been present, other health conditions, and the person's treatment goals.

The Mayo Clinic's guidance on AFib diagnosis and treatment explains that cardioversion may be considered when symptoms are bothersome or during a first episode of atrial fibrillation. Treatment decisions also take the duration and cause of the irregular heartbeat into account.

What are the two main types of cardioversion?

There are two main ways to perform cardioversion: electrical cardioversion and pharmacological cardioversion. Both aim to restore a regular heart rhythm, but they work differently.

1. Electrical cardioversion

Electrical cardioversion uses a medical device to send a brief electrical shock through the chest to the heart. The shock is carefully timed with the heartbeat to help restore a normal rhythm.

During the procedure, healthcare professionals attach adhesive electrode pads to the chest and sometimes the back. These pads connect to a cardioversion machine that monitors the heart and delivers the controlled electrical shock.

The person receives short-term sedation or anesthesia so they are asleep and do not feel the shock. The healthcare team monitors the heart rhythm before, during, and after the procedure.

Electrical cardioversion is generally quicker than medication-based cardioversion. Some people need only one shock, while others may need additional attempts.

2. Pharmacological cardioversion

Pharmacological cardioversion, also called chemical cardioversion, uses medication to help restore the heart's normal rhythm. No electrical shock is involved.

The medication may be given through a vein (intravenously) or taken by mouth. These medicines are called antiarrhythmic drugs because they help control abnormal electrical activity in the heart.

The choice of medication depends on the person's heart condition, medical history, other medications, and potential side effects. Some medicines require heart rhythm monitoring because they can cause other rhythm problems.

Medication-based cardioversion may take longer to work than electrical cardioversion. It may be an option for certain people, while others may benefit more from an electrical procedure.

How do doctors prepare someone for cardioversion?

Preparation is especially important because atrial fibrillation can increase the risk of blood clots forming inside the heart. When the heart rhythm changes, an existing clot may move into the bloodstream and travel to the brain, potentially causing a stroke.

Before scheduling cardioversion, the healthcare team reviews the person's medical history, current medications, heart rhythm, and possible risk factors for blood clots. The team also determines whether additional testing or blood-thinning medication is needed.

Checking for blood clots

One important part of preparation is assessing whether a blood clot is present in the heart, particularly in the left atrium or its small pouch called the left atrial appendage.

A healthcare professional may recommend an echocardiogram, which uses sound waves to create pictures of the heart. A special type called a transesophageal echocardiogram (TEE) may be used to look more closely for clots.

During a TEE, a thin ultrasound probe is passed through the mouth into the esophagus, the tube connecting the mouth to the stomach. Since the esophagus lies close to the heart, this test can provide detailed images of certain heart structures.

If a clot is found, a planned cardioversion may be postponed while blood-thinning treatment is given. The healthcare team may arrange repeat imaging before reconsidering the procedure.

Why are blood thinners important before cardioversion?

Blood thinners, medically called anticoagulants, reduce the likelihood of blood clots forming or growing. They are an important part of stroke prevention around the time of cardioversion.

According to the 2023 American College of Cardiology and American Heart Association atrial fibrillation guideline, people with AFib lasting 48 hours or longer generally need at least three weeks of uninterrupted therapeutic anticoagulation before elective cardioversion, or appropriate imaging to check for clots before the procedure.

The guideline also recommends continuing therapeutic anticoagulation for at least four weeks after cardioversion. In some people, longer-term treatment is necessary because their underlying risk of stroke remains present even after a normal rhythm is restored.

People should not stop or change their blood-thinning medication without instructions from their healthcare professional. Missing doses can affect whether a planned procedure can be performed safely.

What happens during electrical cardioversion?

Electrical cardioversion is usually performed in a hospital or a suitably equipped medical facility. It is commonly a planned, same-day procedure, although emergency cardioversion may be performed when immediate treatment is necessary.

The exact process may vary, but the usual steps include the following:

Before the electrical shock

The healthcare team checks the person's heart rhythm, blood pressure, oxygen level, and other vital signs. An intravenous (IV) line is usually placed in a vein in the arm or hand to provide medication.

The person receives a short-acting sedative or anesthetic. This helps them sleep through the procedure and prevents them from feeling the electrical shock.

Adhesive electrode pads are placed on the chest and sometimes the back. These pads connect to the machine that monitors and controls the electrical pulse.

During the electrical shock

Once the person is asleep and the medical team is ready, the machine delivers a brief, synchronized electrical shock through the electrode pads.

The shock is timed to the heart's electrical cycle to help restore a regular rhythm. The healthcare professional immediately checks the heart rhythm to see whether the treatment has worked.

Some people return to a regular rhythm after one shock. Others may need another shock or additional treatment if the first attempt is unsuccessful.

After the shock

The healthcare team checks the heartbeat again using an electrocardiogram (ECG or EKG). This test records the heart's electrical activity and helps confirm whether a regular rhythm has returned.

The person remains under observation while the effects of sedation wear off. The team also watches for changes in heart rhythm, blood pressure, or other complications.

According to Mayo Clinic's cardioversion guidance, electrical cardioversion itself usually takes only a few minutes. A person may spend approximately an hour in a recovery area afterward, although the overall time at the medical facility can be longer.

Is electrical cardioversion painful?

Electrical cardioversion is not usually painful during the procedure because medication is given to make the person sleep. The electrical shock is delivered while the person is sedated.

Afterward, some people notice mild skin irritation, redness, or tenderness where the electrode pads were attached. Occasionally, a small skin burn may occur.

Temporary tiredness or sleepiness can also occur after sedation. These effects usually improve as the medication wears off.

What are the risks of cardioversion for AFib?

Cardioversion is generally considered a safe procedure when performed with appropriate monitoring and preparation. However, like other medical procedures, it has possible risks.

Potential complications include:

  • Stroke or blood clot complications: An existing clot in the heart may move into the bloodstream during or around the time of cardioversion. If it travels to the brain, it may cause a stroke. In some cases, a clot can travel to the lungs.
  • Other abnormal heart rhythms: Occasionally, a new or different abnormal heartbeat develops during or shortly after cardioversion. Additional treatment may be needed.
  • Skin irritation or burns: The electrode pads may cause temporary redness, irritation, or minor burns on the chest or back.
  • Medication-related effects: Medicines used for pharmacological cardioversion may cause side effects or affect the heart's electrical activity.
  • Sedation-related complications: Sedation or anesthesia can have risks, which the medical team considers based on the person's overall health.

The Cleveland Clinic's cardioversion information notes that complications are uncommon but can include skin reactions, blood clots, worsening abnormal heart rhythms, and medication-related reactions.

Pre-procedure assessment, appropriate anticoagulation, heart monitoring, and careful medication selection help the healthcare team reduce these risks.

What happens after cardioversion?

Most people who have planned electrical cardioversion can return home on the same day after an appropriate observation period. However, they should not drive themselves home because the sedative or anesthetic may affect alertness and reaction time.

Recovery instructions may include:

  • Resting for the remainder of the day or as advised by the healthcare team.
  • Having a responsible adult accompany the person home.
  • Avoiding driving, operating machinery, and important decisions until the effects of sedation have worn off, according to the medical team's instructions.
  • Continuing prescribed blood-thinning medication as directed.
  • Taking any prescribed heart rhythm medication according to the treatment plan.
  • Attending follow-up appointments to check the heart rhythm and review treatment.

Some people notice that symptoms improve soon after their heartbeat returns to a regular rhythm. Others may need more time or additional treatment to manage their condition.

Can atrial fibrillation return after cardioversion?

Yes. Cardioversion can successfully restore a regular heart rhythm, but it does not guarantee that atrial fibrillation will never happen again.

AFib may return shortly after the procedure or after a longer period. The likelihood of recurrence can be influenced by factors such as how long the person has had AFib, the duration of the current episode, the size and condition of the upper chambers of the heart, and other medical conditions.

To help maintain a regular rhythm, a cardiologist may recommend antiarrhythmic medication after cardioversion. Some people may also need further rhythm-control treatment if AFib returns.

Follow-up care helps the healthcare team determine whether the treatment is working and whether another approach is needed.

Does cardioversion eliminate the need for blood thinners?

No. Returning the heartbeat to a regular rhythm does not automatically remove the risk of stroke associated with atrial fibrillation.

Anticoagulants are generally continued for at least four weeks after cardioversion because the risk of blood clots remains important during this period.

Afterward, the decision to continue blood-thinning medication depends on the person's individual risk of stroke, bleeding risk, and other medical factors. Some people need long-term anticoagulation even when their heartbeat remains regular after treatment.

The heart rhythm and stroke risk are related but separate treatment considerations. A successful cardioversion should not be taken as a reason to stop prescribed anticoagulants.

How successful is cardioversion for AFib?

Electrical cardioversion can restore a regular heart rhythm quickly, and many people respond to the treatment. However, success during the procedure and maintaining that rhythm over time are two different outcomes.

Some people remain in a regular rhythm after one procedure, while others experience a return of AFib or need repeated treatment. The chances of maintaining a regular rhythm depend partly on the duration of AFib, the condition of the heart, and other health factors.

Medication may be used alongside cardioversion to help maintain the rhythm. If AFib continues to return or symptoms remain difficult to manage, the cardiologist may discuss other rhythm-control options.

Cardioversion versus defibrillation: Are they the same?

Cardioversion and defibrillation both use electrical energy to affect the heart's rhythm, but they are used in different situations.

Cardioversion uses a synchronized electrical shock to treat an abnormal rhythm such as atrial fibrillation. It is commonly a planned procedure performed while the person is sedated.

Defibrillation is generally used during life-threatening heart rhythms, such as ventricular fibrillation, when the heart cannot pump blood effectively. It delivers an unsynchronized shock as part of emergency treatment.

Although both treatments use an electrical device, they are not interchangeable. The healthcare team selects the appropriate procedure based on the heart rhythm and the person's condition.

What should you discuss with your cardiologist before cardioversion?

Before agreeing to cardioversion, it can help to understand why the procedure is recommended and how it fits into the overall AFib treatment plan.

Useful questions include:

  • Why is cardioversion appropriate for my current heart rhythm?
  • Would electrical or medication-based cardioversion be more suitable?
  • Do I need blood-thinning medication before the procedure?
  • Will I need an echocardiogram or a transesophageal echocardiogram to check for blood clots?
  • How long should I continue anticoagulants afterward?
  • Will I need medication to maintain a regular heart rhythm?
  • What happens if atrial fibrillation returns?

Understanding the expected benefits, preparation, risks, and follow-up plan can make the procedure easier to approach. The cardiologist can explain how these factors apply to the person's heart condition and overall health.

Frequently Asked Questions

Common questions about cardioversion, its procedure, and recovery for people with atrial fibrillation.

How long does cardioversion take for atrial fibrillation?

The electrical shock itself usually takes only a few minutes. However, preparation, sedation, heart monitoring, and recovery take longer. Many people go home on the same day after an observation period.

Can cardioversion permanently cure atrial fibrillation?

No. Cardioversion can restore a regular heart rhythm, but AFib may return. Some people need antiarrhythmic medication or additional treatment to help maintain a regular rhythm.

Do you need to be asleep during electrical cardioversion?

Yes, electrical cardioversion is generally performed under short-term sedation or anesthesia. This helps prevent pain and discomfort from the electrical shock.

Do you still need blood thinners after successful cardioversion?

Usually, anticoagulants are continued for at least four weeks after cardioversion. Some people need them for longer because their risk of stroke remains present even when their heart rhythm returns to normal. The healthcare professional determines how long treatment should continue.

Can cardioversion be repeated if AFib comes back?

Yes. A repeat cardioversion may be considered in some people when atrial fibrillation returns. The cardiologist will review the previous response, symptoms, heart condition, and other treatment options before recommending another procedure.

Citations

  1. American Heart Association – Cardioversion
  2. Mayo Clinic – Atrial Fibrillation: Diagnosis and Treatment
  3. American College of Cardiology and American Heart Association – 2023 Guideline for the Diagnosis and Management of Atrial Fibrillation
  4. Mayo Clinic – Cardioversion: About the Procedure, Risks, and Recovery
  5. Cleveland Clinic – Cardioversion: Procedure, Treatment, and Recovery
Share this article