I'm having trouble understanding the relationship between potassium, and magnesium, mostly related to the bowels. I know that hypomagnesemia causes increased membrane excitability, and hypokalemia causes cells to be less responsive to normal stimuli. My confusion, is that constipation/decreased motility accompanies both imbalances. It seems to make sense in terms of hypokalemia, because of the decrease in excitability of cells. But, if magnesium normally inhibits nerve transmission, it doesn't make sense to me why having low magnesium levels wouldn't cause increased intestinal motility instead of decreased. I've tried finding the answer in every resource available to me, with no luck. Any help is appreciated!