Whole raw shallots are better kept outside the refrigerator but in a cool, dark area of around 45-55°F. Shallots can last up to two months if they remain untouched, but if you don’t have a cool and dark space, consider refrigerating them for longer shelf life.