Lithium is contraindicated in patients with severe renal impairment, significant cardiovascular disease, severe dehydration, or sodium depletion. Caution is also needed in patients with thyroid disorders, as lithium can cause hypothyroidism or, less commonly, hyperthyroidism. Pregnant women should avoid lithium, especially during the first trimester, due to the risk of fetal abnormalities.