Yellow onions are the go-to onion and can be used whenever a recipe simply calls for "onion." Storing: Onions last for several weeks when kept in a cool, dry, well-ventilated place. After an onion is cut, wrap the extra in plastic wrap and put it in the refrigerator for up to 4 days.