Hernia surgery generally takes between several hours to complete. The exact length can vary depending on factors like the extent of the hernia, your overall well-being, and the type of surgery performed. Your surgeon will provide a more precise estimate during your consultation. Here are some factors that can influence the duration of hernia surg