The Zantac you see in stores now is not contaminated with NDMA. There are two common types of daily GERD medications:
H2 blockers, such as famotidine (Pepcid and the newly-released Zantac 360), cimetidine (Tagamet), ranitidine (Zantac’s drug in pre-2019 recall) and nizatidine (Axid)
Proton pump inhibitors (PPIs), including omeprazole (Prilosec, Prilosec OTC, Zegerid), lansoprazole (Prevacid), pantoprazole (Protonix), rabeprazole (Aciphex), esomeprazole (Nexium) and dexlansoprazole (Dexilant).
Both work by suppressing your body’s production of stomach acid through two different chemical mechanisms. Before Zantac was recalled two years ago, its H2 blocker was ranitidine. Following the recall, Zantac’s manufacturer, Sanofi started using a different ingredient, famotidine and renamed the product Zantac 360.  Zantac 360’s latest packaging states that it now has a “new formulation” of the previous drug. But, “It’s not a new formulation,” writes Josh Bloom in the Genetic Literacy Project. “It’s a different drug.” Still, it’s a familiar drug. Famotidine is a different H2 blocker, one that the FDA has not found to be contaminated with NDMA, which is used in another GERD drug, Pepcid.