Hernia surgery generally takes between several hours to complete. The exact time can vary depending on factors like the extent of the hernia, your overall condition, and the type of surgery performed. Your surgeon will explain a more specific estimate during your consultation. Here are some factors that can influence the time of hernia surgery: