The short answer: the south side of a fence is in sun almost all day, every month: 9 to 12 hours of direct sun 2 feet out from a 6 ft fence at 40 degrees north. The east and west sides get the same number of hours, the east in the morning and the west in the afternoon. The north side changes with the season: next to the fence it gets no direct sun from fall to spring, yet in early summer it gets more hours than the south side. The farther you plant from the fence, and the lower the fence, the more sun you get.
Next to a fence, the north side gets no sun from fall to spring, yet more than the south side in June
Hours of direct sun on the ground beside a 6 ft fence that runs east to west, seen from above, near Philadelphia or Denver (40° N)
June. The sun rises in the northeast and sets in the northwest, so the north side gets sun at both ends of the day: 14½ hours 2 ft from the fence, the south side 10.
March & September. Right by the fence, no direct sun at all. From 5 ft out the north side is in full sun; the south side gets 12 hours.
December. No direct sun for 12 ft north of the fence. The noon shadow is almost 7 times as long as in June; the south side still gets 9 hours.
Table view
| Out from the fence | North side, June | North side, Mar & Sep | North side, Dec | South side, June | South side, Mar & Sep | South side, Dec |
|---|---|---|---|---|---|---|
| At the fence | 7 | 0 | 0 | 8 | 12 | 9 |
| 1 ft | 9 | 0 | 0 | 9 | 12 | 9 |
| 2 ft | 14½ | 0 | 0 | 10 | 12 | 9 |
| 3 ft | 14½ | 0 | 0 | 10½ | 12 | 9 |
| 4 ft | 14½ | 0 | 0 | 11 | 12 | 9 |
| 5 ft | 14½ | 0 | 0 | 11½ | 12 | 9 |
| 6 ft | 14½ | 12 | 0 | 11½ | 12 | 9 |
| 8 ft | 14½ | 12 | 0 | 12 | 12 | 9 |
| 10 ft | 14½ | 12 | 0 | 12½ | 12 | 9 |
| 12 ft | 14½ | 12 | 0 | 13 | 12 | 9 |
| 14 ft | 14½ | 12 | 4 | 13 | 12 | 9 |
Sun hours on each side of a fence
On NC State Extension's plant pages, full sun means six or more hours of direct sun a day, partial shade two to six, and deep shade less than two. A fence decides which of those a bed beside it gets.
We ran the sun model behind our fence plans for a solid 6 ft fence at 40 degrees north, the latitude of Philadelphia and Denver, 2 feet out from the boards, about where the back row of a border stands. "South of the fence" means the bed faces south.
| The bed lies | Mar 20 & Sep 22 | Jun 21 | Dec 21 | Apr–Sep |
|---|---|---|---|---|
| South of the fence a fence running east to west | 12 h | 10 h | 9 h | Full sun all season |
| Southeast of the fence a fence running northeast to southwest | 9 h | 10 h | 8 h | Full sun all season |
| Southwest of the fence a fence running northwest to southeast | 9 h | 10 h | 8 h | Full sun all season |
| East of the fence a fence running north to south | 7 h | 8½ h | 5 h | Full sun all season |
| West of the fence a fence running north to south | 7 h | 8½ h | 5 h | Full sun all season |
| Northeast of the fence a fence running northwest to southeast | 5 h | 8 h | 1½ h | Full sun Apr–Aug; part shade Sep |
| Northwest of the fence a fence running northeast to southwest | 5 h | 8 h | 1½ h | Full sun Apr–Aug; part shade Sep |
| North of the fence a fence running east to west | 0 h | 14½ h | 0 h | Full sun May–Jul; part shade Apr and Aug; shade Sep |
In the June column the north side gets the most sun of all. The chart shows the whole year:
In June every side of a fence gets full sun; in December only the south-facing sides do
Hours of direct sun 2 ft out from a 6 ft fence, month by month, near Philadelphia or Denver (40° N)
Icons: the fence seen from above, north at the top; the green half is the side you plant on.
Table view
| Day | South side | Southeast or southwest | East or west | Northeast or northwest | North side | Noon shadow, north side |
|---|---|---|---|---|---|---|
| Jan 21 | 9½ | 8 | 5½ | 2 | 0 | 10¼ ft |
| Feb 21 | 10½ | 8½ | 6 | 3½ | 0 | 7¼ ft |
| Mar 20 | 12 | 9 | 7 | 5 | 0 | 5 ft |
| Apr 21 | 11 | 9½ | 8 | 6½ | 5½ | 3¼ ft |
| May 21 | 10½ | 10 | 8½ | 7½ | 11½ | 2¼ ft |
| Jun 21 | 10 | 10 | 8½ | 8 | 14½ | 1¾ ft |
| Jul 21 | 10 | 10 | 8½ | 7½ | 11½ | 2¼ ft |
| Aug 21 | 11 | 9½ | 8 | 6½ | 5½ | 3¼ ft |
| Sep 22 | 12 | 9 | 7 | 5 | 0 | 5 ft |
| Oct 21 | 10½ | 8½ | 6 | 3½ | 0 | 7¼ ft |
| Nov 21 | 9½ | 8 | 5½ | 2 | 0 | 10½ ft |
| Dec 21 | 9 | 8 | 5 | 1½ | 0 | 12 ft |
- South: full sun all year, 9 to 12 hours. It gets the most at the equinoxes and a little less in June, when the summer sun rises and sets behind the fence.
- East and west: the same hours, about 7 hours at the equinoxes and about 8½ in late June. The east side gets the morning sun, the west side the afternoon sun, when the day is warmest.
- Northeast and northwest: about 5 hours at the equinoxes and 8 in late June, full sun from April to August and part shade in spring and fall.
- North: two feet out, no direct sun from the September equinox to the March equinox, about 5½ hours in late April and late August, and about 14½ hours in late June.
Why the north side flips in summer
The sun does not cross the sky on the same path all year. NC State's landscape design handbook notes that in summer it is higher and has a more sweeping arc, and that good plant placement depends on knowing where the sun is at different times of the day and the year.
In June the sun rises in the northeast and sets in the northwest. Early and late in the day it shines on the north face of a fence, and at midday it stands high, so the shadow on the north side is short. From late September to March the sun rises south of east and sets south of west, so it never gets around to the north side at all, and its shadow there is long.
The length of a shadow is simple geometry: the height of the fence divided by the tangent of the sun's angle above the horizon. At noon at 40 degrees north, a 6 ft fence casts a shadow about 1¾ ft long in late June, 5 ft at the equinoxes and 12 ft in late December. Around the equinoxes something odd happens: the shadow of a fence that runs east to west stays almost the same length all day, so a spot on its north side is either in shade from morning to evening or in sun the whole day.
How far out the shade reaches
Close to the boards, the north side is shade for most of the year. Step away and the sun comes back. In late June there are about 7 hours right at the foot of the fence, and from 2 feet out the sun reaches the ground all day. In late April and late August, the 6 hours begin a little over 2 feet out. Around the September equinox the ground stays in shade until about 5 feet out, and from 5 feet out it is in sun all day.
The hours depend only on the distance divided by the fence height, so a 4 ft fence casts two thirds of the shade of a 6 ft fence and an 8 ft fence a third more. The north side in late April:
| Fence | 1 ft out | 2 ft out | 3 ft out | 4 ft out | 5 ft out | 6 ft out | 6 h from |
|---|---|---|---|---|---|---|---|
| 4 ft | 5 h | 9½ h | 13½ h | 13½ h | 13½ h | 13½ h | 1 ft 6 in |
| 5 ft | 4½ h | 6½ h | 13½ h | 13½ h | 13½ h | 13½ h | 1 ft 9 in |
| 6 ft | 4 h | 5½ h | 9½ h | 13½ h | 13½ h | 13½ h | 2 ft 3 in |
| 8 ft | 4 h | 5 h | 6 h | 9½ h | 13½ h | 13½ h | 2 ft 9 in |
How far out from a 6 ft fence does the north side first get 6 hours of sun, month by month and at five latitudes?
| Latitude | Mar 20 | Apr 21 | May 21 | Jun 21 | Jul 21 | Aug 21 | Sep 22 |
|---|---|---|---|---|---|---|---|
| 30° N Jacksonville, Austin (30.3°) | 3 ft 6 in | 1 ft 3 in | at the fence | at the fence | at the fence | 1 ft 3 in | 3 ft 6 in |
| 35° N Albuquerque, Memphis (35.1°) | 4 ft 3 in | 1 ft 9 in | at the fence | at the fence | at the fence | 1 ft 9 in | 4 ft 3 in |
| 40° N Philadelphia, Denver (40.0°, 39.7°) | 5 ft | 2 ft 3 in | 3 in | at the fence | at the fence | 2 ft 3 in | 5 ft |
| 45° N Minneapolis (45.0°), Portland, Ore. (45.5°) | 6 ft | 2 ft 9 in | 3 in | at the fence | 3 in | 2 ft 9 in | 6 ft |
| 48° N a little north of Seattle and Spokane (47.6°, 47.7°) | 6 ft 9 in | 3 ft | 3 in | at the fence | 3 in | 3 ft | 6 ft 9 in |
So a north-side bed has two zones: a back, within a couple of feet of the boards, that wants plants for shade, and a front that, 4 or 5 feet out, gets full sun from April to August.
Farther north or farther south
The farther north you live, the lower the noon sun and the longer the shadow, but the longer the summer days.
| Latitude | South, Dec 21 | South, Jun 21 | East or west, Sep 22 | East or west, Jun 21 | NE or NW, Sep 22 | North, Jun 21 |
|---|---|---|---|---|---|---|
| 30° N Jacksonville, Austin (30.3°) | 10 h | 9 h | 7 h | 8 h | 5½ h | 14 h |
| 35° N Albuquerque, Memphis (35.1°) | 9½ h | 9½ h | 7 h | 8½ h | 5½ h | 14½ h |
| 40° N Philadelphia, Denver (40.0°, 39.7°) | 9 h | 10 h | 7 h | 8½ h | 5 h | 14½ h |
| 45° N Minneapolis (45.0°), Portland, Ore. (45.5°) | 8½ h | 10½ h | 7 h | 9 h | 4½ h | 11½ h |
| 48° N a little north of Seattle and Spokane (47.6°, 47.7°) | 8 h | 10½ h | 7 h | 9 h | 4½ h | 10½ h |
In late December, the south side gets from 10 hours at 30 degrees north to 8 at 48, because winter days are shorter in the north. In late June, 2 feet out on the north side gets about 14 hours at 30 degrees north and 10½ at 48: in the north the noon shadow of a 6 ft fence reaches past 2 feet even in June, so that spot loses its midday sun. East and west sides barely change, about 7 hours at every latitude at the equinoxes.
Which side of your fence is which
Stand in the bed with your back to the fence and look out over the plants. The direction you face is the side the bed lies on. A phone's compass app will tell you; if it offers true north rather than magnetic north, use true north. A fence that runs at an angle has diagonal sides, northeast and southwest or northwest and southeast.
Then check the real sun: the model counts the fence and nothing else, and NC State advises observing the yard throughout the day. On a clear day, look at the back of the bed once an hour and note when it is in sun, once in spring or fall and once in summer.
What to plant on each side
Match the plants to the hours, and to the zone of the bed:
- South and west sides: full sun and, on the west, the warmest hours: our drought tolerant border plan for a fence.
- South, east and west sides: enough sun for a full-sun border, such as our sunny cottage garden plan along a fence or the long-blooming perennial border plan.
- Northeast side, or the back of a north side: part shade with morning sun. Our part-shade border plan for a fence is drawn for a bed that faces northeast.
- The north side next to the boards: plants for shade; the front of the bed can hold sun lovers. Our guide to shade garden plants sorts perennials by the hours they need.
For the strip along the boards and the rows from back to front, see our guide on what to plant along a fence.
How we got these numbers
The numbers come from the same sun model our fence plans print on their sun page. For every five minutes of the day it finds the sun's height and direction for a latitude and a date, and asks whether the line from a spot on the ground to the sun clears the top of the fence. It counts the sun from 0.5 degrees above the horizon, in solar time, so noon is when the sun is due south.
We checked it against the equations of NOAA's solar calculator, which follow Jean Meeus's Astronomical Algorithms, written again in our own code. The sun's height and direction agree within a tenth of a degree, and the hours of sun within 10 minutes a day. NOAA's solar position notes put sunrise where the top edge of the sun appears, lifted a little by the air; counted that way, a spot usually gets a little more sun, up to 40 minutes a day.
| Day | Noon height, ours / NOAA | 9 am direction, ours / NOAA | Sun hours, ours / NOAA |
|---|---|---|---|
| Mar 20 | 49.94° / 49.96° | 122.78° / 122.80° | 11.83 / 11.90 h |
| Jun 21 | 73.43° / 73.44° | 99.83° / 99.82° | 10.00 / 9.93 h |
| Sep 22 | 50.21° / 50.20° | 122.57° / 122.54° | 12.00 / 11.93 h |
| Dec 21 | 26.57° / 26.56° | 138.04° / 138.05° | 9.00 / 9.07 h |
This is a model, not a measurement: a solid fence that runs on far past the bed, flat ground and a clear sky. It leaves out trees, houses, gaps between boards, light reflected from walls and light through leaves. Use it to know what a fence alone does, then count the hours in your own yard.
Use this chart: you are welcome to show the sun map or the sun calendar on your own site or in an article, with a link to this page as the source.







