Vitamin D

The sun, month by month

Sunrise and sunset in Barcelona in July

On July 1 in Barcelona the sun rises at 06:21 and sets at 21:28; on day 31 it rises at 06:45 and sets at 21:10. Over the month the day gets 43 minutes shorter.

In Barcelona (41.4° latitude), July 2026 has 31 days whose sun rises at 06:21 and sets at 21:28 on the 1st, and at 06:45 and 21:10 on the 31th. Mid-month the day lasts 14 h 53 min and the sun reaches 70° above the horizon. Vitamin D synthesis is possible between 10:00 and 18:00, which is when the UV index reaches at least 3: at the best moment of the day about 6 minutes are enough for a mid-range skin phototype with a quarter of the body exposed to make around 1000 IU.

Sunrise06:31
Sunset21:23
Golden hour20:42–21:23
Day length14 h 53 min

Where does the sun rise and set in Barcelona in July?

Where it risesNortheast60°
Where it setsNorthwest300°

Mid-July in Barcelona: the sun rises in the northeast — a bearing of 60°, measured from true north — and sets in the northwest, at 300°. That is 30° north of due east at sunrise, and the same 30° north of due west at sunset. From the 1st to the last day of the month both points shift 7° south.

Approximate bearings: they can be a couple of degrees out. They are measured from true north, not the north a phone compass points to.

Day by day

All times are local to Barcelona. Dawn and dusk mark civil twilight.

DayDawnSunriseSunsetDuskDay length
105:4706:2121:2822:0215 h 07 min
205:4806:2221:2822:0215 h 07 min
305:4906:2221:2822:0215 h 06 min
405:4906:2321:2822:0215 h 05 min
505:5006:2321:2822:0115 h 04 min
605:5006:2421:2722:0115 h 03 min
705:5106:2521:2722:0015 h 02 min
805:5206:2521:2722:0015 h 01 min
905:5306:2621:2622:0015 h 00 min
1005:5306:2721:2621:5914 h 59 min
1105:5406:2721:2521:5914 h 58 min
1205:5506:2821:2521:5814 h 57 min
1305:5606:2921:2421:5714 h 56 min
1405:5706:3021:2421:5714 h 54 min
1505:5806:3121:2321:5614 h 53 min
1605:5906:3121:2321:5514 h 51 min
1706:0006:3221:2221:5514 h 50 min
1806:0006:3321:2121:5414 h 48 min
1906:0106:3421:2121:5314 h 47 min
2006:0206:3521:2021:5214 h 45 min
2106:0306:3621:1921:5114 h 43 min
2206:0406:3721:1821:5014 h 42 min
2306:0506:3721:1721:4914 h 40 min
2406:0606:3821:1721:4814 h 38 min
2506:0806:3921:1621:4714 h 36 min
2606:0906:4021:1521:4614 h 34 min
2706:1006:4121:1421:4514 h 32 min
2806:1106:4221:1321:4414 h 30 min
2906:1206:4321:1221:4314 h 28 min
3006:1306:4421:1121:4214 h 26 min
3106:1406:4521:1021:4114 h 24 min

Approximate astronomical values: they can shift a minute or two from year to year.

What about vitamin D in July?

In July, the typical synthesis window in Barcelona runs from 10:00 to 18:00: with medium skin and a t-shirt, ~6 min at the best moment is enough.

See the Barcelona vitamin D guide

Common questions about the sun in Barcelona in July

Where does the sun set in Barcelona in July?
Mid-July in Barcelona: the sun sets in the northwest, a bearing of 300° measured from true north, which is 30° north of due west. It rises in the northeast, at 60°. Over the month both points shift 7° south.
How much daylight does Barcelona lose in July?
Over July the day gets 43 minutes shorter in Barcelona: on July 1 the sun rises at 06:21 and sets at 21:28, and on day 31 it rises at 06:45 and sets at 21:10.
How many hours of daylight does Barcelona get in July?
In mid-July the day lasts 14 h 53 min in Barcelona, from sunrise at 06:31 to sunset at 21:23. The table has the day length for each of the 31 days of the month.
What time does it start to get light in Barcelona in July?
In mid-July the sky starts to get light at 05:58 in Barcelona, when the sun is 6° below the horizon, and the sun itself does not rise until 06:31. The “Dawn” column of the table gives that time for every day of the month.
What time does it get dark in Barcelona in July?
It's not the same time as sunset. In mid-July in Barcelona the sun sets at 21:23, but there is still light: civil twilight does not end until 21:56, when the sun reaches 6° below the horizon and usable outdoor light runs out. The “Dusk” column of the table gives that time day by day.
What time of day can you make vitamin D in Barcelona in July?
In mid-July, between 10:00 and 18:00: that is the stretch of the day when the UV index reaches 3 in Barcelona, the minimum for the skin to make vitamin D. At the best moment of the day about 6 minutes are enough for a mid-range skin phototype with a quarter of the body exposed to make around 1000 IU.