Duphalac syrup is generally considered safe for use during pregnancy to relieve constipation. It can be taken during pregnancy if recommended by your doctor. Duphalac syrup contains lactulose, which belongs to pregnancy category B and is not expected to be harmful to an unborn baby. It works gently by softening stools and helping bowel movements.