Drugs Given Before, During, and After Surgery

The drugs commonly used before, during, and after surgical procedures vary widely from patient to patient. This is because the specific drugs you receive are based on the type of surgery you are having, the type of anesthesia, or pain control given. Any underlying health issues you may have also play a role in the choice of drugs used. Drugs called anxiolytics are also routinely given to help ease anxiety before surgery.

Nurse giving pill to a patient in hospital bed.
Eric Audras / Getty Images

This article will explore medications that may be used before, during, and after your surgery. It will also explain what to expect before and after your procedure.

What Happens Before Surgery?

Before surgery, you will meet with an anesthesiologist. They are specially trained doctors who administer drugs called anesthetics. These drugs impact how awake you are during surgery. They also help with pain control. During this meeting, you will go over your medical history and discuss anything you are currently using including:

  • Herbal supplements
  • Vitamins
  • Prescription medication
  • Illegal drugs
  • Over-the-counter drugs
  • Alcohol
  • Tobacco products

Some substances may affect how well you heal from your surgery. Be sure to give your doctor a complete list of what you are using.

Talking About Anxiety

Most people feel some anxiety before surgery. Anti-anxiety medications are often given before surgery to help patients feel more comfortable. Studies show that managing anxiety before surgery can have a positive impact on outcomes.

Most scheduled surgeries will be preceded by an appointment with a surgeon and/or a meeting with the anesthesiologist. While it can be difficult to discuss anxiety, it is very common before surgery, and talking with your healthcare team before the date of your surgery can help alleviate anxiety. In addition, you can discuss measures for reducing anxiety before surgery, including a plan for pre-surgical anti-anxiety medications.

Quitting smoking is ideal before your surgery. Doing so can help lower your risk of having wound healing issues, as well as lung complications, like pneumonia, after surgery.

What Medications Are Given Before Surgery?

Some medications may be given before surgery even begins. Common examples include antibiotics and anti-anxiety medications.

Antibiotics

Before your surgery, you may be given an antibiotic to help prevent infections. Antibiotics are used to combat bacteria. They are generally given in pill form, or intravenously, which is when medication is administered directly into a vein. 

The antibiotic given depends on the type of surgery a person is having. The antibiotics is usually given 30-60 minutes before surgery begins.

Anti-Anxiety Medications

Sedatives are drugs that are used to help with pain and nervousness. They may be given before surgery begins to help you feel calmer. While in surgery, you will continue to get this medication. You will be awake if not also under anesthesia. Sedatives may be given intravenously, in pill form, or inhaled through a mask.

Medications called anxiolytics are often used for anxiety before surgery to help patients relax. They include:

  • Ativan (lorazepam)
  • Versed (midazolam)
  • Halcion (triazolam)
  • Klonopin (clonazepam)
  • Restoril (temazepam)
  • Valium (diazepam)
  • Xanax (alprazolam) 

Midazolam and diazepam are two of the most common drugs given to reduce preoperative anxiety.

What Medications Are Given During Surgery?

During surgery, an individual may get:

  • Anesthesia, which helps with pain
  • Intubation drugs, which may involve a muscle relaxant given while a breathing tube is put in place
  • Sedatives, which are used to trigger sleepiness and relaxation

Anesthesia

Both major and minor surgeries may require the use of anesthesia. Types of anesthesia include:

  • Local anesthesia: With local anesthesia, you are awake, and a drug is injected into the skin to block pain in a small area of the body.
  • Regional anesthesia: With regional anesthesia, you are awake, and a drug is injected to numb a larger part of the body.
  • General anesthesia: With general anesthesia, medication given intravenously or through a breathing mask is used to induce unconsciousness and ensure you don't feel any pain.

Diprivan (propofol) is a short-acting sedative that may be used for anesthesia.

Paralytics (Muscle Relaxants)

Sometimes, a doctor will need to place a breathing tube down an individual's throat to make sure they are breathing properly during the surgery. A paralytic medication may be used to relax the muscles during intubation and surgery. Paralytic drugs may be used in addition to anesthetics.

What Medications Are Given After Surgery?

After surgery, drugs may be given to manage pain, reduce the risk of complications, and help with recovery.

Analgesics

Analgesics are drugs that are used to help with pain after surgery. They can be given intravenously, in pill form, and as a liquid. They may also be given as a patch, where the medication is taken in through the skin.

Many post-operative analgesics contain opioids, which are a class of pain-relieving drugs. These may cause uncomfortable side effects. Because of this, sometimes opioids are given along with other medications, like Tylenol, to reduce side effects while still keeping the patient comfortable.

Common opioid medications given in the hospital after surgery include morphine and hydromorphone.

Upon discharge from the hospital, pain medications may be given including:

  • Opiods, such as Vicodin (acetaminophen/hydrocodone) and Percocet (acetaminophen/oxycodone)
  • Nonsteroidal anti-inflammatories, or NSAIDs, such as Advil (ibuprofen)
  • Non-opioid and non-NSAID medications, like Tylenol (acetaminophen)

Recap

Analgesics may be given in the hospital and upon discharge to help with pain.

Anticoagulants

Blood clots, which occur when blood changes from a liquid to a gel consistency, may form as a result of surgery. Because of this, anticoagulant medications may be given to help thin the blood and prevent clots. Anticoagulant medication may be given intravenously or as an injection.

Anticoagulant medications include:

Symptom-Reducing Medications

Your doctor may give you medications to help with discomfort or the side effects of other pain medications that you are taking.

Types of symptom-reducing drugs may include:

  • Acid reducers, which help with conditions like ulcers and heartburn, such as Pepcid (famotidine)
  • Stool softeners and stimulant laxatives to help with constipation
  • Anti-nausea medications like Zofran (ondansetron)

What Happens After Surgery?

When your surgery is over, you will go to a recovery room. There, your vitals will be monitored and your pain managed.

If staying overnight, you will move to a hospital room to recover. Healthcare providers will continue to check your vitals.

Surgeons may have specific instructions for you, like how to properly care for your surgical wound. Your doctor may also order blood tests to check for signs of bleeding or infection.

Recap

After surgery, your vitals will be closely watched. Your doctor may order specific tests to make sure you are recovering well.

Summary

Before taking any medication, you will go over your medical history with your doctor. This is done to make sure that anything you are currently taking won't interfere with your surgery or recovery.

Before surgery, you may be given an antibiotic to help prevent an infection. This may be given in pill form or intravenously.

Depending on the type of surgery you are having, you may receive anesthesia, intubation drugs, and/or sedatives.

After surgery, you may be given medications to help with pain and anticoagulants to reduce the chance of blood clots. You may also be given other drugs to help with constipation, nausea, and stomach discomfort.

11 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Khalil H, Cullen M, Chambers H, McGrail M. Medications affecting healing: an evidence‐based analysis. Int Wound J. 2017;14(6):1340-1345. doi:10.1111/iwj.12809

  2. Ji W, Sang C, Zhang X, Zhu K, Bo L. Personality, preoperative anxiety, and postoperative outcomes: a review. Int J Environ Res Public Health. 2022;19(19):12162. doi:10.3390/ijerph191912162

  3. Aust H, Rüsch D, Schuster M, Sturm T, Brehm F, Nestoriuc Y. Coping strategies in anxious surgical patients. BMC Health Serv Res. 2016;16:250. doi:10.1186/s12913-016-1492-5

  4. Ayazi K, Sayadi S, Hashemi M, Ghodssi-Ghassemabadi R, Samsami M. Preoperative smoking cessation and its association with postoperative complications and length of hospital stay in patients undergoing herniorrhaphy. Tanaffos. 2021;20(1):59-63. doi:10.1186/s13063-022-06628-8

  5. Dhole S, Mahakalkar C, Kshirsagar S, Bhargava A. Antibiotic prophylaxis in surgery: current insights and future directions for surgical site infection prevention. Cureus. 2023;15(10):e47858. doi:10.7759/cureus.47858

  6. Johns Hopkins Medicine. Procedural sedation.

  7. Wang R, Huang X, Wang Y, Akbari M. Non-pharmacologic approaches in preoperative anxiety, a comprehensive review. Front Public Health. 2022;10:854673. doi:10.3389/fpubh.2022.854673

  8. Chidambaran V, Costandi A, D'mello A. Propofol: a review of its role in pediatric anesthesia and sedation. CNS Drugs. 2015;29(7):543-63. doi:10.1007/s40263-015-0259-6

  9. Merck Manual Professional Version. Drugs to aid intubation.

  10. Cheung CK, Adeola JO, Beutler SS, Urman RD. Postoperative pain management in enhanced recovery pathways. J Pain Res. 2022;15:123-135. doi:10.2147/JPR.S231774

  11. Tun HN, Kyaw MT, Rafflenbeul E, Suástegui XL. Role of direct oral anticoagulants for post-operative venous thromboembolism prophylaxis. Eur Cardiol. 2022;17:e11. doi:10.15420/ecr.2021.55

By Jennifer Whitlock, RN, MSN, FN
Jennifer Whitlock, RN, MSN, FNP-C, is a board-certified family nurse practitioner. She has experience in primary care and hospital medicine.