Lactulose is used in constipation and Hepatic encephalopathy. It may also be used to treat and prevent complications of liver disease (hepatic encephalopathy). Lactulose works by drawing water into the intestine through osmosis, which makes the stool soft and easier to pass.