Whole onions should not be stored in the fridge because the humidity and the cold temperature make it soft and lose its crunch, harmful bacteria grow on it, and its smell changes. If the onions are cooked, sliced, or chopped, they can be kept inside the fridge.