Turmeric in food is considered safe. However, taking large amounts of turmeric and curcumin in supplement form for long periods of time may cause stomach upset and, in extreme cases, ulcers. People who have gallstones or obstruction of the bile passages should talk to their doctor before taking turmeric.