Find storage areas for your onions that are dark, dry, and cool, and offer some airflow. Under these conditions, onions can stay fresh for up to a month, as the lack of sunlight will prevent the onions from sprouting, and the airflow will prevent the onions from absorbing too much moisture and becoming soft.