Hernia surgery usually takes between 1 to 2 hours to complete. The exact time can vary depending on factors like the magnitude of the hernia, your overall well-being, and the kind of surgery performed. Your surgeon will give a more specific estimate during your consultation. Here are some factors that can influence the time of hernia surgery: Lo