When you poop and your back hurts

This could be a sign of constipation or straining too hard while trying to pass stool. It is important to drink plenty of water, eat a high-fiber diet, and exercise regularly to help with regular bowel movements and prevent back pain while pooping. If the back pain persists, it is advisable to consult a healthcare professional for further evaluation.