Urban gardening means growing plants in a city — in a small yard, on a balcony, on a rooftop, in a community plot, or even on a windowsill. Cities are challenging places to garden: space is small, shade from buildings is common, soil may be poor or contaminated, and air can be dusty. Yet cities also have advantages: they are warmer than the countryside, the growing season is longer, and there are more gardeners to learn from.
Urban gardening is about making the most of what you have. A single sunny windowsill can grow herbs. A balcony can grow salads and tomatoes. A small yard can feed a family with salads and herbs for much of the year. The key is to choose the right plants for the light you actually have, grow in good compost rather than unknown city soil, and use vertical space — walls, fences, trellises and shelves — as well as the ground. If you are unsure whether your soil is safe to grow food in, check your local extension service about soil testing before you plant edibles in the ground.
Assessing your urban space
Start by looking honestly at what you have. How many hours of direct sun does each spot get, and at what time of day? A south-facing wall is gold; a north-facing yard is shade, and needs shade-tolerant plants. Is there a water tap nearby, or will you carry water? Is the soil real garden soil, rubble, or something you cannot identify? In many cities, the soil in a yard is builder's rubble topped with a thin layer of topsoil, and it may contain old paint, ash or other contaminants — so test it before growing food in it, and use raised beds or containers with bought compost if there is any doubt. Check access too: can you get compost, pots and plants to the spot, and is the space secure? Note the wind: gaps between tall buildings can funnel wind, which dries pots quickly. Sketch the space, mark sun and shade through the day, and plan around what you find, not what you wish you had. Our garden planning guide helps with the sketch, and small space gardening covers the mindset.
Growing in containers and raised beds
Containers and raised beds are the heart of urban gardening, because they let you control the soil. Use the largest containers you can fit and afford — large pots dry out more slowly and grow bigger plants than small ones. Make sure every container has drainage holes, and use a good peat-free compost, not garden soil, which compacts in pots. Raised beds are better still for a yard: they warm up fast in spring, drain well, and keep your plants out of unknown ground. Our container gardening and raised bed gardening guides cover the details, and the soil volume calculator works out how much compost a bed or pot needs. Water containers more often than beds, because they dry out fast, especially in wind and sun — check them daily in summer. Group pots together so they shade each other and lose less water, and mulch the surface of large pots with bark or gravel.
What to grow in a city garden
Grow what suits your light and what you will actually eat. In sun, grow tomatoes, peppers, chillies, courgettes, herbs such as basil, rosemary and thyme, and salads — see growing tomatoes, growing basil and growing rosemary. In part shade, grow lettuce, spinach, chard, kale, herbs such as mint, parsley and chives, and root crops such as radishes and beetroot. In deep shade, grow leafy herbs and shade flowers rather than fighting for vegetables that will never thrive. Grow vertically where space is tight: beans and peas up a trellis, cucumbers up a fence, strawberries in a tower or hanging basket. Choose compact and dwarf varieties bred for containers, and grow cut-and-come-again salads that give many harvests from a small space. Flowers matter too: marigolds, nasturtiums, calendula and cosmos bring pollinators to a city garden and make it a pleasure to be in.
Dealing with shade, pollution and pests
Shade is the most common urban problem, and the answer is to match plants to light rather than fighting it. Measure sun hours honestly, and choose shade-tolerant crops for shady spots. Pollution is the second concern: wash all home-grown food well, peel root crops, and do not grow leafy salads right beside a busy road if you can avoid it. A hedge or a row of tall plants between the road and your beds helps catch dust. Pests in cities are often the same as anywhere else — aphids, slugs, whitefly — but with fewer natural predators, so encourage them: a small pond, a pile of logs, and flowers such as marigolds and calendula bring in ladybirds, hoverflies and birds. Our aphids control guide covers the most common pest, and organic pest control explains the wider approach. Avoid spraying chemicals in a small urban space where children, pets and neighbours are close by.
Making the most of vertical space
In a city, the walls and fences are as valuable as the ground. Fix trellises to sunny walls for beans, peas, cucumbers and even small squash. Hang baskets for strawberries, herbs and trailing flowers. Put shelves on a sunny wall for pots of herbs and salads. Grow climbers such as sweet peas and nasturtiums up railings for colour and scent. A green wall — a frame with pockets for plants — can turn a bare wall into a herb garden. Just remember that anything fixed to a wall needs permission if you rent, and anything high up needs secure fixings that will not fall. Water wall planters more often, because they dry out fast, and use a watering can with a long spout or a drip line. Our vertical gardening guide covers the structures, and balcony gardening covers the smallest urban space of all.
Community, sharing and city resources
Urban gardening is often a shared activity, and that is one of its strengths. Community gardens, allotments and garden-share schemes give you more space than your own yard and a community to learn from — see our community gardening guide. Seed swaps, tool libraries and composting schemes exist in many cities and save money. Many cities have gardening groups, courses and open days that are worth joining. If you have no outdoor space at all, a windowsill herb garden is a real start, and a community plot may be nearer than you think — ask your local council or your local extension service. Grow what you can where you are, share what you grow, and remember that a city garden does not need to be large to be worthwhile: a few pots of herbs and salads, grown well, are a genuine harvest.
Common mistakes to avoid
The biggest mistake is growing food in unknown city soil without testing it — old urban soil can contain lead, ash and other contaminants, so test it or use raised beds with bought compost. The second is overestimating sun: a spot that feels bright may get only two hours of direct sun, which is not enough for tomatoes. The third is using pots that are too small, which dry out in hours on a hot day. The fourth is overcrowding: city gardeners try to fit too much into too little space, and everything suffers. The fifth is forgetting to water containers daily in summer. The sixth is ignoring neighbours and rules: check what you are allowed to fix to walls, grow on a balcony or build in a shared space before you start. Finally, do not give up after one bad season — every urban gardener loses plants to shade, wind or slugs at first, and the second year is always better. If soil safety worries you, check your local extension service about testing.
Frequently asked questions
Can I grow vegetables with only a balcony?
Yes — a sunny balcony can grow salads, herbs, tomatoes, peppers, chillies, radishes, spring onions and strawberries in pots and troughs. Use the largest pots you can, water daily in summer, and choose compact varieties bred for containers. Our balcony gardening guide covers the details.
Is city soil safe for growing food?
Not always. Old urban soil can contain lead, ash, old paint and other contaminants. Test it before growing food in it, and if there is any doubt, grow edibles in raised beds or containers filled with bought compost. Your local extension service can advise on soil testing in your area.
What grows well in a shady city yard?
Leafy crops cope best with shade: lettuce, spinach, chard, kale, mint, parsley, chives and coriander. Root crops such as radishes and beetroot manage in part shade. Fruiting crops such as tomatoes and peppers need at least six hours of direct sun and will struggle in shade.
How do I water containers in a city garden?
Check them daily in summer, water in the morning, and water until it runs from the drainage holes. Group pots together to reduce drying, mulch the surface, and consider self-watering pots or a simple drip line if you are away often. The watering calculator helps you estimate how much water your pots need.
Where can I find a community garden plot?
Ask your local council, search for community garden groups in your area, or ask at a local garden centre. Waiting lists can be long, so join early. Your local extension service may also know of garden-share schemes and allotments near you.