The need for an overnight hospital stay after hernia surgery depends on various factors, including the type of surgery, the patient's overall health, and the surgeon's recommendation. Some hernia surgeries are performed on an outpatient basis, allowing patients to go home the same day, while others may require a short hospital stay.