A hard rain can turn an urban planter box into a muddy waterfall. The fix is to slow the water down, help it drain, and keep the soil surface covered. Here is what works.
Start with the right soil mix. Use potting mix instead of garden soil. Look for coarse compost, aged bark, perlite, or pumice. These materials drain quickly while still holding moisture. Fine silt and clay compact easily and wash away.
Leave a rim. Keep the soil about 1 to 2 inches below the top edge of the planter. This gives heavy rain a small reservoir and helps prevent immediate overflow. If your box has a built-in rim, use it.
Mulch the surface. Add a 2 to 3 inch layer of coarse bark mulch, pine bark nuggets, or straw. Mulch absorbs the impact of raindrops and slows runoff. Avoid fine mulch or lightweight wood shavings that float away. In very windy or exposed spots, a thin layer of coarse gravel can help, but do not bury plant crowns.
Check and improve drainage. Make sure drainage holes are open. Cover holes with mesh or hardware cloth, not solid fabric, to stop soil loss without clogging. If water still pools, add side overflow holes just above the soil line and screen them with mesh. That lets excess water escape before it rises over the rim.
Use a rain shield during storms. If your planter sits under a roof, gutter, or downspout, redirect the flow. A removable cover, cloche, or temporary tarp tilted over the box can protect it during the worst downpours. Remove it after the storm so plants get normal rain and air.
Plant densely and add ground cover. Roots and leaves break the fall of raindrops. Low-growing herbs, sedums, creeping thyme, or leafy greens can form a living cover. For bare spots, use a biodegradable erosion-control blanket or burlap until plants fill in.
Slow the water before it hits the box. If rain runs off a roof or paved area into the planter, add a diverter, splash block, or small gravel buffer. You can also place the planter so the surface is level, not sloping toward the low side.
Maintain it. After heavy rain, check for channels, exposed roots, and clogged holes. Top up mulch and soil mix as needed. Do not press the soil down hard, because that reduces drainage. Water gently.
With a coarse, fast-draining mix, a mulch layer, screened drainage, and a little rain protection, your urban planter can survive downpours without losing its soil.