Yes—you can absolutely grow vegetables in an urban planter box. A planter box is simply a container, and many vegetables grow well in containers when they have enough sunlight, depth, drainage, and good soil. It is not only for flowers. In fact, an urban planter box can be a highly productive mini garden on a balcony, patio, rooftop, or sunny windowsill.
The key is to match the crop to the size of the box. Shallow planter boxes around 15–20 cm deep work well for leafy greens such as lettuce, spinach, arugula, and kale, as well as herbs, radishes, and scallions. For carrots, bush beans, peppers, and cherry tomatoes, choose a deeper box—around 30 cm or more—and make sure it has drainage holes. Very large plants like full-size tomatoes, corn, or pumpkins are usually not practical in small urban planter boxes.
Sunlight is another important factor. Most vegetables need at least 6 hours of direct sun per day, while leafy greens and some herbs can manage with 4–6 hours. Fruiting vegetables such as tomatoes and peppers need the brightest spot you can provide. Use a lightweight potting mix rather than garden soil, because potting mix drains well and does not become compacted in a container. Adding compost or a slow-release organic fertilizer will help keep plants fed through the season.
Watering matters more in planter boxes than in garden beds. Containers dry out faster, especially on windy balconies or during hot weather. Check the soil every day or two and water when the top few centimeters feel dry. Good drainage is essential, so never let the box sit in a puddle. Also leave enough space between plants for airflow, and choose compact or dwarf varieties when possible.
With a little planning, an urban planter box can grow flowers and vegetables together, or it can be dedicated entirely to edible crops. Start with easy vegetables like lettuce, herbs, radishes, and cherry tomatoes, and you will quickly see that container gardening is a practical way to grow fresh food in the city.