They are fairly safe to take for long-lasting constipation. Just make sure you drink plenty of water when you take them to avoid getting dehydrated. Osmotic laxatives can cause problems for some people, like bloating, diarrhea, and dehydration. In rare cases, some of them may lead to kidney or heart disease.