These four glasses, sold at San Diego County locations, are decorated with characters from the latest "Shrek" movie and contain Cadmium.
Cadmium has been linked to certain cancers and can also cause bone softening and severe kidney problems.
Officials worry the cadmium could leach from the paint onto a child's hand.
McDonald’s is asking consumers to immediately stop using the glass out of an abundance of caution, according to the U.S. Consumer Product Safety Commission.
CPSC was made aware of issues with this product through the Office of Congresswoman Jackie Speier from California.
For additional information, contact McDonald’s toll-free at (800) 244-6227 between 9 a.m. and 5 p.m. CT Monday through Friday or visit the firm’s website at www.mcdonalds.com/glasses.