Most vegetables grow best in full sun, but not every vegetable needs the same amount of direct light. Fruiting crops need the most sun. Leafy greens and some herbs tolerate partial shade. Root crops sit in the middle.
Sunlight affects yield more than survival. A plant may live in partial shade and still produce little harvest.
For shade-tolerant choices, read Best Vegetables to Grow in Shade.
Last updated: June 6, 2026.
Quick Answer
Tomatoes, peppers, cucumbers, squash, melons, and corn need 6 to 8+ hours of direct sun for good harvests. Leafy greens and herbs can produce with 3 to 5 hours or bright filtered light, though growth is slower. Deep shade is poor for most vegetables.
Sun Needs by Crop Type
| Crop group | Minimum practical sun | Best sun |
|---|---|---|
| tomatoes, peppers, eggplant | 6 hours | 8+ hours |
| cucumbers, squash, melons | 6 hours | 8+ hours |
| beans and peas | 5 to 6 hours | 6+ hours |
| root crops | 4 to 6 hours | 6+ hours |
| leafy greens | 3 to 5 hours | 4 to 6 hours |
| herbs | 3 to 6 hours | varies by herb |
Full Sun Does Not Mean All-Day Heat
Full sun usually means at least 6 hours of direct sunlight. In hot climates, morning sun with some afternoon shade can be better for lettuce, cilantro, and spinach.
Warm-season fruiting crops still need strong total light.
Best Crops for 3 to 5 Hours Sun
Try:
- lettuce
- arugula
- spinach
- kale
- chard
- parsley
- cilantro
- chives
- scallions
- radishes
- beets for greens
Expect slower growth and smaller harvests than full sun.
Crops That Disappoint in Shade
Avoid in low sun:
- tomatoes
- peppers
- cucumbers
- squash
- melons
- sweet corn
- okra
- eggplant
These crops need energy to flower and fruit.
How to Measure Sun
Do not guess based on how bright the area feels. Track direct sun:
- Check at 8 a.m.
- Check at 10 a.m.
- Check at noon.
- Check at 2 p.m.
- Check at 4 p.m.
- Check at 6 p.m. in summer.
Add up actual direct sun hours. Repeat after trees leaf out.
Containers Can Chase Sun
If the yard is shady, containers can help. Move pots to the brightest area, or use rolling plant caddies for herbs and greens.
For vegetables in containers, ensure:
- enough pot size
- drainage
- consistent water
- good potting mix
- wind protection
FAQ
Can vegetables grow with only morning sun?
Leafy greens and some herbs can. Fruiting vegetables need longer direct light for good yield.
Is 4 hours of sun enough for tomatoes?
Usually not for good production. The plant may survive but produce poorly.
Does reflected light count?
It helps, but it does not fully replace direct sun for fruiting crops.
Related Reading
- Best Vegetables to Grow in Shade
- Vegetable Garden Layout for Beginners
- Best Vegetables for Small Raised Beds
- Indoor Vegetable Garden Setup