Generally speaking, onions grow tops in cool weather and form bulbs when the weather warms. Plant onion seeds four to six weeks before the last average frost — or even earlier indoors or in a cold frame. When indoor seedlings are 2 to 3 inches tall, harden them off by exposing them to above-freezing night temperatures.