Hello,Thanks for posting your query. Having a slight bowel movement while sleeping usually is associated with diarrhea or excessive gas formation.This symptom is not worrisome if it happens once in a while.Try to do some dietary changes and lifestyle modifications for relief.1.Some vegetables (cauliflower, broccoli, cabbage, brussels sprouts) and legumes (beans) may worsen bloating and gassiness and should be avoided.

You can use some over the counter drugs like pepto bismol, tums, imodium, entrocalm, etc for symptomatic relief.

Daily exercises along with a low fat diet will help you overcome the problem.I hope this answers your query. In case you have additional questions or doubts, you can forward them to me, and I shall be glad to help you out.Please accept my answer in case you do not have further queries.Wishing you good health.Regards.Dr. Praveen Tayal.