Eat magnesium and potassium rich foods to prevent bloating Poor lifestyle is the top cause of bloating Eat less salt to avoid water retention and prevent bloating