Sunlight is the fuel of the vegetable garden. Every vegetable turns light into growth through photosynthesis, and the amount of light a plant receives decides how fast it grows, how much it yields, and how good it tastes. A tomato plant in full sun can produce basket after basket of fruit; the same plant in shade grows tall, pale and leggy and sets almost nothing. Yet not every vegetable wants the same amount of sun, and knowing which crops need full sun and which will accept a little shade lets you use every corner of the garden, including the beds that never see the midday sun.
As a rule of thumb, vegetables that produce fruit need the most sun, leafy vegetables need less, and root vegetables sit in between. Fruiting vegetables such as tomatoes, bell peppers, cucumbers, eggplant and zucchini need at least six to eight hours of direct sun a day, and they do better with more. Leafy crops such as lettuce, spinach, kale and cabbage will grow well with four to six hours, and in hot climates they often prefer a little afternoon shade. Root crops such as carrots, beets, potatoes and radishes do best with six hours but will still produce usable roots with less, though the roots will be smaller and slower.
Full sun, part sun and shade — what the terms mean
Seed packets and plant labels use three terms, and they are worth understanding precisely. Full sun means at least six hours of direct, unfiltered sunlight a day, and most fruiting vegetables want eight or more. Part sun or part shade means three to six hours of direct sun, usually in the morning, with shade for the rest of the day. Full shade means less than three hours of direct sun, and almost no vegetable grows well there — even the most shade-tolerant leafy greens will be slow and thin. Morning sun is gentler and more useful than afternoon sun in hot climates, because it dries dew from the leaves early, which helps prevent disease, without the scorching heat of the afternoon. A bed that gets sun from 8 am to 2 pm is often better for vegetables than a bed that gets sun from noon to 6 pm, even though the hours are the same.
Watch your garden through a day before you plant. Note when each bed comes into sun and when it goes into shade, and check again in a different season, because the sun's path changes through the year and a bed that is sunny in June may be shaded by a tree or a fence in September. Trees leaf out in spring and cast far more shade in summer than in winter, and a neighbour's hedge can shade a bed that was sunny when you first dug it. Our sunlight calculator can help you work out how much direct sun each spot receives. If you are unsure about the light in a particular corner, ask your local extension service — they know the local sun angles and which crops cope with the shade your garden actually has.
Which vegetables need full sun
The hungriest sun-lovers are the warm-season fruiting vegetables. Tomatoes, peppers, eggplant, cucumbers, zucchini, okra and sweet potatoes all need six to eight hours of direct sun as a minimum, and they repay extra sun with more fruit and better flavour. Sweet, ripe tomatoes and peppers need the energy of full sun to build sugars; in shade the fruit stays small, pale and sour, and the plants are more prone to disease because the leaves stay damp. Green beans and peas also prefer full sun, though peas tolerate a little shade in hot weather and will often produce better in a spot that escapes the worst afternoon heat.
Give these crops the sunniest beds you have, ideally south-facing in the northern hemisphere, with no shade from fences, walls or trees during the middle of the day. Plant tall crops such as corn, pole beans and indeterminate tomatoes on the north side of the bed so they do not shade the shorter crops behind them. If your sunniest bed is small, prioritise the fruiting crops for it and move the leafy crops to the shadier beds — a tomato in shade is a wasted plant, while lettuce in shade is a perfectly good plant. For timing, see zone 7 tomatoes and zone 5 tomatoes for your area.
Leafy greens and vegetables that tolerate shade
Leafy vegetables are the shade-tolerant group, and they are the answer to a partly shaded garden. Lettuce, spinach, kale, chard, arugula, mustard greens and Asian greens such as bok choy will all grow with four to six hours of sun, and in hot climates they actually prefer it — afternoon shade keeps them cooler, slows bolting, and keeps the leaves tender and sweet instead of bitter. Cabbage, cauliflower and broccoli are in the middle: they want five to six hours, but they will still head up with a little less, just more slowly. Herbs such as parsley and chives also accept part shade, which is useful when the sunny beds are full.
Shade is not only tolerable for leafy crops, it can be an advantage in summer. Lettuce sown in a shady bed in July will often outlast lettuce sown in full sun, which bolts within weeks. Use the shade cast by tall crops deliberately: plant lettuce and spinach on the north side of a row of tomatoes or beans, where they get morning sun and afternoon shade, and they will stay productive weeks longer. Even so, there is a limit — with less than three hours of direct sun, leafy greens grow slowly, stay small, and are more prone to slugs and mildew, so a bed that is shaded all day is better used for a compost heap than for vegetables.
Root vegetables and the middle ground
Root crops need enough light to grow the leaves that feed the roots, but they do not need the intense sun that fruiting crops do. Carrots, beets, radishes, potatoes, onions and leeks do best with five to six hours of direct sun. With four hours they will still produce, but the roots will be smaller and the harvest later. With full sun they grow fastest, but in very hot climates a little afternoon shade can help root crops by keeping the soil cooler and moister. Garlic is planted in autumn and grows through the cool months, so it is less demanding about summer sun and will do well in a bed that gets good light in spring.
The practical point is that root crops are flexible. If you have one very sunny bed and one partly shaded bed, put the tomatoes and peppers in the sun and the carrots and beets in the part shade, and both will do reasonably well. What root crops will not forgive is deep shade combined with wet soil — the roots rot, the tops stay weak, and slugs move in. Keep the soil well drained with compost, and give root crops the brightest spot you can spare after the fruiting crops have had first choice.
Measuring the sun in your garden
You do not need special equipment to measure sun, just a day at home and a notebook. On a clear day, check each bed every hour from morning to evening and note whether it is in direct sun or shade. Do this once in spring and once in midsummer, because the sun is higher and the days are longer in summer, and trees that were bare in spring will be in full leaf. Take photos at 9 am, noon and 3 pm so you have a record to compare. The sunlight calculator can help you turn those observations into a plan. Also watch for reflected light: a pale wall or fence can bounce useful light onto a bed, and a white-painted wall behind tomatoes can add a surprising amount of extra sun.
Remember that sun is not the only light factor. Air circulation matters too — a sunny bed hemmed in by fences stays damp and disease-prone, while a sunny open bed dries quickly after rain. And in very hot climates, too much sun can be a problem: fruit can scald, leaves can wilt, and soil can dry out in hours. In those regions, afternoon shade or a shade cloth that cuts about 30 percent of the light can improve yields for tomatoes and peppers, even though they are full-sun crops. Local advice matters here, so check your local extension service for what works in your climate rather than following a rule written for somewhere else.
Managing too little or too much sun
If your garden is short of sun, there are still things you can do. Prune overhanging branches to let more light through, and cut back hedges that shade the beds. Grow in containers that can be moved to follow the sun through the day. Choose varieties bred for shade tolerance — some lettuces and kales are noticeably better in part shade than others. Use reflective mulch, such as light-coloured straw, to bounce light back up into the plants. And accept the limits: grow leafy greens and root crops, and buy your tomatoes from a sunny allotment or a neighbour rather than fighting a losing battle with a shaded tomato plant.
If your garden has too much sun, shade cloth is the simplest fix: drape it over hoops or a frame on the hottest afternoons, and remove it when the heat passes. Mulch thickly to keep the soil cool and moist — our guide to mulching vegetables explains how. Water deeply in the morning so plants face the heat with full leaves, and plant leafy crops where tall crops will shade them in the afternoon. Whitewash on a greenhouse or cold frame cuts the light without cutting the warmth. Whatever the problem, start by measuring the light you actually have, then match the crop to the spot — that single habit will do more for your harvest than any fertiliser.
Common mistakes
The most common mistake is planting fruiting vegetables in shade and wondering why they do not fruit. Tomatoes, peppers and cucumbers in part shade will grow leaves and flowers but set little fruit, and what fruit they set will be late and poor. The second mistake is the opposite: putting lettuce and spinach in the hottest, sunniest bed in midsummer, where they bolt within days. The third is forgetting that shade moves — a bed that is sunny in May can be shaded by a tree in July, and a crop planted for full sun can end up in shade halfway through the season. The fourth is planting tall crops on the south side of a bed, where they shade everything behind them for the rest of the summer. And the fifth is judging sun by feel rather than by observation: a bright, open-looking garden can still be shaded by a fence or a building for most of the morning, and the only way to know is to watch it through a day.
| Vegetable group | Sun needed | Notes |
|---|---|---|
| Fruiting (tomatoes, peppers, cucumbers, eggplant, zucchini) | 6–8+ hours | Sunniest bed; more sun means more, sweeter fruit |
| Leafy (lettuce, spinach, kale, chard) | 4–6 hours | Tolerate part shade; afternoon shade slows bolting in heat |
| Brassicas (cabbage, broccoli, cauliflower) | 5–6 hours | Will head up with a little less, just more slowly |
| Root crops (carrots, beets, potatoes, radishes, onions) | 5–6 hours | Smaller, slower roots with less light |
| Legumes (peas, beans) | 6+ hours | Peas tolerate light shade in hot weather |
Frequently asked questions
How many hours of sun do tomatoes need?
Tomatoes need at least six to eight hours of direct sun a day, and they do better with more. With less than six hours they grow leggy, flower poorly and set little fruit, and the fruit they do set is late and less sweet. Give tomatoes the sunniest bed you have.
Can vegetables grow in partial shade?
Yes — leafy greens such as lettuce, spinach, kale and chard grow well with four to six hours of sun, and root crops such as carrots, beets and radishes will produce with five to six hours. Fruiting vegetables such as tomatoes, peppers and cucumbers need full sun and will not fruit well in shade.
Is morning sun or afternoon sun better for vegetables?
Morning sun is usually better, especially in hot climates. It dries dew from the leaves early, which helps prevent disease, and it is gentler than the scorching afternoon sun. A bed with sun from morning to early afternoon is often ideal for most vegetables.
What vegetables grow in shade?
No vegetable grows well in full shade, but lettuce, spinach, kale, chard, arugula and mustard greens tolerate part shade with four to six hours of sun, and in hot weather they often prefer afternoon shade because it slows bolting and keeps leaves tender.
How do I measure sunlight in my garden?
On a clear day, check each bed every hour from morning to evening and note whether it is in direct sun or shade, and repeat in a different season. Photos at 9 am, noon and 3 pm give a useful record, and our sunlight calculator can help you plan which crops go where.