Examples of common conditions that can cause constipation and, in turn, your poop to look like pellets include: Diabetes or other conditions that affect your metabolism Hypothyroidism (underactive ...