Sagestead Shop on Etsy
Along a fence

What to plant along a fence, from the boards to the lawn

How much sun each side of a fence gets, how far from the boards to plant, how many rows a border holds and which perennials go where, for a sunny or a shady fence.

By Sagestead · Updated · 9 min read · How we check our plans

The Sagestead Cottage Garden Plan: an illustrated close view of a border along a board fence in July, pink garden phlox, violet woodland sage, anise hyssop and purple blazing starIn the pictureThe Cottage Garden Along a Fence$18.99 · See the plan

The short answer: plant a border, not a single row. Leave an open strip about 18 inches wide along the boards, put the tallest perennials at the back, middle heights next and a low edging plant along the lawn, and keep the back row below the top of the fence. Then choose plants for the light that side of the fence actually gets: a bed on the south side is in full sun, east and west sides get seven to nine hours, and the back of a bed on the north side can go without direct sun in spring and fall.

Which side of the fence gets the sun

A fence is a wall that casts a shadow, and the shadow moves with the season. Before choosing a single plant, work out how many hours of direct sun the bed will get. On NC State Extension's plant pages, full sun means six or more hours of direct sun a day and partial shade two to six.

We ran the sun model our fence plans use for a 6 ft board fence at 40 degrees north, the latitude of Philadelphia and Denver. The bed is 6 ft deep and starts 18 inches from the fence; "back" is the edge nearest the boards, "front" the lawn edge.

Where the bed liesBack, Sep 22Back, Jun 21Front, Sep 22Reads as
South of the fence (the fence on its north side)12 h9½ h12 hFull sun
East of the fence7 h8½ h9 hFull sun
West of the fence7 h8½ h9 hFull sun
North of the fence (the fence on its south side)0 h11 h12 hShade at the back, full sun at the front

Hours of direct sun, to the nearest half hour, with the fence the only shade. Trees, houses and a neighbor's garage take their own share, so count your real sun on a clear day: look at the back of the bed every hour from morning to evening.

Three things stand out. A bed on the south side of a fence is in full sun from edge to edge all season. East and west sides both get enough sun for full-sun plants; the east side gets it in the morning, the west side in the afternoon. The north side is the surprise: its back edge gets no direct sun at all around the September equinox, yet about eleven hours in late June, when the summer sun rises in the northeast and sets in the northwest. So the back of a north-side bed needs plants that take shade, while its lawn edge can hold sun lovers.

Leave a strip between the fence and the plants

Plan of a 16 x 6 ft cottage border along a 6 ft fence: a 1 1/2 ft open strip by the boards, blazing star and anise hyssop at the back, peony, coneflower and shasta daisy in the middle, hardy geranium in front and a row of candytuft along the lawn
A 16 x 6 ft border along a fence, from above: the open strip, then tall, middle, front and edging rows.

Don't plant right against the boards. You will want to reach the fence to stain it, fix a picket or replace a post, and the plants at the back want air on all sides. UGA Extension suggests garden paths at least 12 inches wide, with 18 to 24 inches ideal for comfortable access; our plans leave an open strip of 18 inches along the fence for the same reason.

Then set each plant far enough out that it doesn't lean on the boards when grown. NC State Extension places plants near a building half their mature width plus at least 1 foot away; we use the same rule for a fence, so a Russian sage that spreads 4 feet stands at least 3 feet out from the boards. For garden phlox, keep even more room: University of Minnesota Extension advises against placing it next to fences or walls where air circulation is poor, because that invites disease.

Rows from the back to the front

NC State Extension describes the ideal perennial border as one with a background, such as a wall or a hedge, and the tallest plants toward the back. A fence is that background already. Colorado State University Extension adds the rest of the recipe: taller plants at the back, plants of the same kind in groups of three, five or seven, and room for each plant's mature size.

How many rows fit depends on the depth of the bed. Our rule is one row for every 2 feet:

Colorado State says beds 6 feet wide or wider look most pleasing when there is room, and suggests stepping stones for easy access through larger spaces without packing the soil. UGA Extension plans raised beds 4 feet wide for adults, reached from both sides. With the open strip behind and the lawn in front, a 4 ft border along a fence works the same way: every plant is within 2 feet of a place to stand. In a deeper border, a few stepping stones give you that reach.

Keep the back row below the top of the fence

A good rule for the back row: choose plants that stay below the top of the fence, so nothing leans over to the other side. NC State Extension notes that locating the exact property boundaries is important when a fence is part of the design, and a border that stays on your side of the line keeps the neighbors happy too. Check the tallest height the sources give, not the typical one: in the table below, New England aster can reach 7 feet, a foot over a 6 ft fence, so give it a taller fence, or pinch the stems early in the season, as NC State and Missouri Botanical Garden suggest to keep tall plants from flopping.

Plants for a sunny fence

These are the perennials our four sunny fence plans use, sorted by the row they take most often. Heights and bloom months come from the plant library behind our plans, mostly NC State Extension and Missouri Botanical Garden pages (listed under Sources), and bloom months are for zone 6.

PlantHeightIn flowerRowIn our plans
New England aster
Symphyotrichum novae-angliae
3–7 ftAug–SepBack, by the fenceButterfly Border, Long-Blooming
Blazing star
Liatris spicata
2–6 ftJul–AugBack, by the fence (middle in one plan)Butterfly Border, Cottage
Anise hyssop
Agastache foeniculum
3–5 ftJun–SepBack, by the fenceCottage, Drought Tolerant
Swamp milkweed
Asclepias incarnata
3–5 ftJul–AugBack, by the fenceButterfly Border
Little bluestem
Schizachyrium scoparium
2–4 ftAug–OctBack, by the fenceDrought Tolerant
Russian sage
Salvia yangii
2–4 ftJul–OctBack, by the fenceDrought Tolerant
Purple coneflower
Echinacea purpurea
1½–5 ftJun–AugMiddleButterfly Border, Cottage, Drought Tolerant
Bee balm (wild bergamot)
Monarda fistulosa
2–4 ftJul–SepMiddleButterfly Border
Garden phlox
Phlox paniculata
2–4 ftJul–SepMiddleCottage
Shasta daisy
Leucanthemum × superbum
2–4 ftJul–SepMiddleCottage
Black-eyed Susan (orange coneflower)
Rudbeckia fulgida
2–3 ftJul–OctMiddleButterfly Border, Drought Tolerant, Long-Blooming
Blanket flower
Gaillardia × grandiflora
1–3 ftJun–SepMiddleDrought Tolerant
Peony (garden peony)
Paeonia lactiflora
1–3 ftMayMiddleCottage
Woodland sage (perennial salvia)
Salvia nemorosa
1½–3 ftMay–SepMiddle (front in one plan)Cottage, Long-Blooming
Butterfly weed
Asclepias tuberosa
12–24 inJun–AugMiddleButterfly Border
Aromatic aster
Symphyotrichum oblongifolium
1–3 ftSep–NovFrontButterfly Border, Drought Tolerant, Long-Blooming
Lanceleaf coreopsis
Coreopsis lanceolata
1–3 ftMay–JulFront (edging row in one plan)Butterfly Border, Drought Tolerant, Long-Blooming
Catmint
Nepeta × faassenii
18–24 inMay–SepFrontCottage
Golden Alexanders
Zizia aurea
12–24 inMay–JunFrontButterfly Border
Showy stonecrop
Hylotelephium spectabile
12–24 inAug–OctFrontLong-Blooming
Hardy geranium (bloody cranesbill)
Geranium sanguineum
10–20 inMay–JunFrontCottage
Sea thrift
Armeria maritima
6–24 inApr–MayEdging rowDrought Tolerant
Candytuft
Iberis sempervirens
6–12 inApr–MayEdging rowCottage, Long-Blooming
Cheddar pinks
Dianthus gratianopolitanus
6–12 inMay–JunEdging rowCottage
Giant ornamental onion
Allium giganteum
3–6 ftMay–JunBulbs, in driftsCottage

Some plants change rows from plan to plan: blazing star stands at the back of the cottage border and in the middle of the butterfly border, where swamp milkweed and New England aster take the back. Rows are about the neighbors: what matters is the plant in front and the one behind.

If the sunny side of your fence is also a dry one, the plants in our guide to drought tolerant perennials for full sun are the ones to start from.

Plants for a shady fence

A bed on the north side of a fence, or one shaded by trees or a house, needs plants that take shade. Our shade plan along a fence is drawn for a bed that gets morning sun and afternoon shade: about four hours of direct sun in late March and September and about seven in June, all of it before about 1 pm on a daylight-saving clock.

PlantHeightIn flowerLightRowIn our plans
Astilbe
Astilbe × arendsii
1½–4½ ftJun–AugSun to deep shadeBack, by the fenceShade Garden
Blue wood aster
Symphyotrichum cordifolium
1–4 ftAug–SepSun to part shadeBack, by the fenceShade Garden
Eastern red columbine
Aquilegia canadensis
1–3 ftApr–MaySun to part shadeMiddleShade Garden
White turtlehead
Chelone glabra
1–3 ftAug–OctSun to part shadeMiddleShade Garden
Coral bells (hairy alumroot)
Heuchera villosa
8 in–2½ ftJul–SepSun to part shadeMiddleShade Garden
Hardy geranium (bloody cranesbill)
Geranium sanguineum
10–20 inMay–JunSun to part shadeEdging rowShade Garden

For deeper shade, or the dry shade under a tree, see our guide to shade garden plants.

Four fence borders, drawn plant by plant

Each of our fence plans comes in three sizes, with every plant placed on a grid, the distances from the fence, the month-by-month bloom and a nursery list:

Printable plans for these plants

Fence border questions, answered

How far from a fence should I plant?

Leave a strip about 18 inches wide between the boards and the bed, so you can reach the fence and air can move behind the plants. NC State Extension places plants near a building half their mature width plus at least 1 foot away; we use the same rule for a fence.

What can I plant on the north side of a fence?

Plants for shade at the back. In our sun model of a 6 ft fence at 40 degrees north, the back of a bed on the north side gets no direct sun in late September, while the lawn edge 6 feet out still gets about 12 hours.

How deep should a border along a fence be?

Colorado State University Extension says beds 6 feet wide or wider look most pleasing when there is room. A 4 ft bed fits a narrow yard and can be reached from the strip behind it and from the lawn.

Should plants grow taller than the fence?

Keep the back row below the top of the fence, so nothing leans over to the neighbor's side, and check the tallest height the sources give. NC State Extension notes that the exact property line matters when a fence is part of the design.

Can phlox grow against a fence?

Give it room. University of Minnesota Extension advises against placing tall garden phlox next to fences or walls where air circulation is poor, which invites disease.

Sources

Every plant fact on this page comes from a university extension service, the USDA, the ASPCA or a botanical garden. The tables link the pages for each row; here is the full list.

All 71 sources, with links
  1. NC State Extension Gardener Plant Toolbox, Symphyotrichum novae-angliae (Plant Toolbox page)
  2. Missouri Botanical Garden Plant Finder, Symphyotrichum novae-angliae (Plant Finder)
  3. South Dakota State University Extension, Asters of South Dakota
  4. NC State Extension Gardener Plant Toolbox, Liatris spicata (Plant Toolbox page)
  5. Missouri Botanical Garden Plant Finder, Liatris spicata (Plant Finder)
  6. NC State Extension Gardener Plant Toolbox, Agastache foeniculum (Plant Toolbox page)
  7. Missouri Botanical Garden Plant Finder, Agastache foeniculum (Plant Finder)
  8. NC State Extension Gardener Plant Toolbox, Asclepias incarnata (Plant Toolbox page)
  9. Missouri Botanical Garden Plant Finder, Asclepias incarnata (Plant Finder)
  10. NC State Extension, Schizachyrium scoparium — Extension Gardener Plant Toolbox
  11. Missouri Botanical Garden, Schizachyrium scoparium — Plant Finder
  12. NC State Extension Gardener Plant Toolbox, Salvia yangii (Plant Toolbox page)
  13. Missouri Botanical Garden Plant Finder, Perovskia atriplicifolia (Plant Finder)
  14. University of Wisconsin-Madison Division of Extension (Wisconsin Horticulture), Russian sage, Salvia yangii (Perovskia atriplicifolia)
  15. NC State Extension Gardener Plant Toolbox, Echinacea purpurea (Plant Toolbox page)
  16. Missouri Botanical Garden Plant Finder, Echinacea purpurea (Plant Finder)
  17. Iowa State University Extension and Outreach, Growing Coneflowers in Iowa (Yard and Garden)
  18. NC State Extension Gardener Plant Toolbox, Monarda fistulosa (Plant Toolbox page)
  19. Missouri Botanical Garden Plant Finder, Monarda fistulosa (Plant Finder)
  20. NC State Extension Gardener Plant Toolbox, Phlox paniculata (Plant Toolbox page)
  21. Missouri Botanical Garden Plant Finder, Phlox paniculata (Plant Finder)
  22. NC State Extension Gardener Plant Toolbox, Leucanthemum (Plant Toolbox page)
  23. Missouri Botanical Garden Plant Finder, Leucanthemum × superbum (Plant Finder)
  24. NC State Extension Gardener Plant Toolbox, Rudbeckia fulgida (Plant Toolbox page)
  25. Missouri Botanical Garden Plant Finder, Rudbeckia fulgida (Plant Finder)
  26. NC State Extension Gardener Plant Toolbox, Gaillardia × grandiflora (Plant Toolbox page)
  27. Missouri Botanical Garden Plant Finder, Gaillardia × grandiflora (Plant Finder)
  28. NC State Extension Gardener Plant Toolbox, Paeonia (Plant Toolbox page)
  29. Missouri Botanical Garden Plant Finder, Paeonia lactiflora (Plant Finder)
  30. NC State Extension Gardener Plant Toolbox, Salvia nemorosa (Plant Toolbox page)
  31. Missouri Botanical Garden Plant Finder, Salvia nemorosa (Plant Finder)
  32. NC State Extension, Asclepias tuberosa (butterfly weed) — Extension Gardener Plant Toolbox
  33. Missouri Botanical Garden Plant Finder, Asclepias tuberosa (Plant Finder)
  34. NC State Extension Gardener Plant Toolbox, Symphyotrichum oblongifolium (Plant Toolbox page)
  35. Missouri Botanical Garden Plant Finder, Symphyotrichum oblongifolium (Plant Finder)
  36. NC State Extension Gardener Plant Toolbox, Coreopsis lanceolata (Plant Toolbox page)
  37. Missouri Botanical Garden Plant Finder, Coreopsis lanceolata (Plant Finder)
  38. NC State Extension Gardener Plant Toolbox, Nepeta × faassenii (Plant Toolbox page)
  39. Missouri Botanical Garden Plant Finder, Nepeta × faassenii (Plant Finder)
  40. NC State Extension Gardener Plant Toolbox, Zizia aurea (Plant Toolbox page)
  41. Missouri Botanical Garden Plant Finder, Zizia aurea (Plant Finder)
  42. NC State Extension Gardener Plant Toolbox, Hylotelephium spectabile (Plant Toolbox page)
  43. Missouri Botanical Garden Plant Finder, Hylotelephium spectabile (Plant Finder)
  44. NC State Extension Gardener Plant Toolbox, Geranium sanguineum (Plant Toolbox page)
  45. Missouri Botanical Garden Plant Finder, Geranium sanguineum (Plant Finder)
  46. NC State Extension Gardener Plant Toolbox, Armeria maritima (Plant Toolbox page)
  47. Missouri Botanical Garden Plant Finder, Armeria maritima (Plant Finder)
  48. NC State Extension Gardener Plant Toolbox, Iberis sempervirens (Plant Toolbox page)
  49. Missouri Botanical Garden Plant Finder, Iberis sempervirens (Plant Finder)
  50. NC State Extension Gardener Plant Toolbox, Dianthus gratianopolitanus (Plant Toolbox page)
  51. Missouri Botanical Garden Plant Finder, Dianthus gratianopolitanus (Plant Finder)
  52. Missouri Botanical Garden, Allium giganteum — Plant Finder
  53. NC State Extension, Allium giganteum — Extension Gardener Plant Toolbox
  54. University of Nebraska–Lincoln Extension, G1742 Spring Flowering Bulbs (Streich, Janssen, Cue; issued Aug 2007)
  55. NC State Extension Gardener Plant Toolbox, Astilbe (Plant Toolbox page)
  56. Iowa State University Extension and Outreach, Growing Astilbe in Iowa (Yard and Garden)
  57. NC State Extension, Gardener Plant Toolbox, Symphyotrichum cordifolium (Plant Toolbox page)
  58. University of Maryland Extension, About blue wood aster or heart-leaved aster (updated July 12, 2022)
  59. Missouri Botanical Garden Plant Finder, Symphyotrichum cordifolium, blue wood aster (Plant Finder)
  60. NC State Extension Gardener Plant Toolbox, Aquilegia canadensis (Plant Toolbox page)
  61. Missouri Botanical Garden Plant Finder, Aquilegia canadensis (Plant Finder)
  62. NC State Extension Gardener Plant Toolbox, Chelone glabra (Plant Toolbox page)
  63. Missouri Botanical Garden Plant Finder, Chelone glabra (Plant Finder)
  64. NC State Extension Gardener Plant Toolbox, Heuchera villosa (Plant Toolbox page)
  65. Missouri Botanical Garden Plant Finder, Heuchera villosa (Plant Finder)
  66. NC State Extension Gardener Plant Toolbox, Helleborus (Plant Toolbox page)
  67. UGA Extension, C1027-4 Raised Garden Bed Dimensions (reviewed 14.12.2022)
  68. NC State Extension, Extension Gardener Handbook, Chapter 19: Landscape Design
  69. University of Minnesota Extension, Tall garden phlox (Brown, Moncada; reviewed 2026)
  70. NC State Extension, Extension Gardener Handbook, Chapter 10: Herbaceous Ornamentals
  71. Colorado State University Extension, Fact Sheet 7.402 Perennial Gardening (reviewed August 2025)

More garden guides