Hernia surgery generally takes between 1 to 2 hours to complete. The exact length can vary depending on factors like the size of the hernia, your overall condition, and the nature of surgery performed. Your surgeon will explain a more specific estimate during your consultation. Here are some factors that can impact the time of hernia surgery: Po