Most inguinal hernias happen because an opening in the muscle wall does not close as it should before birth. That leaves a weak area in the belly muscle. Pressure on that area can cause tissue to push through and bulge out. A hernia can occur soon after birth or much later in life. You are more likely to get a hernia if you are overweight or you do a lot of lifting, coughing, or straining. Hernias are more common in men.