The sun, month by month
Sunrise and sunset in Madrid in July
On July 1 in Madrid the sun rises at 06:48 and sets at 21:49; on day 31 it rises at 07:11 and sets at 21:31. Over the month the day gets 41 minutes shorter.
In Madrid (40.4° latitude), July 2026 has 31 days whose sun rises at 06:48 and sets at 21:49 on the 1st, and at 07:11 and 21:31 on the 31th. Mid-month the day lasts 14 h 47 min and the sun reaches 71° above the horizon. Vitamin D synthesis is possible between 11:00 and 19: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.
Where does the sun rise and set in Madrid in July?
Mid-July in Madrid: 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 Madrid. Dawn and dusk mark civil twilight.
| Day | Dawn | Sunrise | Sunset | Dusk | Day length |
|---|---|---|---|---|---|
| 1 | 06:15 | 06:48 | 21:49 | 22:22 | 15 h 01 min |
| 2 | 06:15 | 06:48 | 21:49 | 22:21 | 15 h 00 min |
| 3 | 06:16 | 06:49 | 21:48 | 22:21 | 14 h 59 min |
| 4 | 06:17 | 06:49 | 21:48 | 22:21 | 14 h 59 min |
| 5 | 06:17 | 06:50 | 21:48 | 22:21 | 14 h 58 min |
| 6 | 06:18 | 06:51 | 21:48 | 22:20 | 14 h 57 min |
| 7 | 06:19 | 06:51 | 21:47 | 22:20 | 14 h 56 min |
| 8 | 06:19 | 06:52 | 21:47 | 22:20 | 14 h 55 min |
| 9 | 06:20 | 06:53 | 21:47 | 22:19 | 14 h 54 min |
| 10 | 06:21 | 06:53 | 21:46 | 22:19 | 14 h 53 min |
| 11 | 06:21 | 06:54 | 21:46 | 22:18 | 14 h 52 min |
| 12 | 06:22 | 06:55 | 21:45 | 22:18 | 14 h 51 min |
| 13 | 06:23 | 06:55 | 21:45 | 22:17 | 14 h 50 min |
| 14 | 06:24 | 06:56 | 21:44 | 22:17 | 14 h 48 min |
| 15 | 06:25 | 06:57 | 21:44 | 22:16 | 14 h 47 min |
| 16 | 06:26 | 06:58 | 21:43 | 22:15 | 14 h 46 min |
| 17 | 06:27 | 06:59 | 21:43 | 22:15 | 14 h 44 min |
| 18 | 06:27 | 06:59 | 21:42 | 22:14 | 14 h 43 min |
| 19 | 06:28 | 07:00 | 21:41 | 22:13 | 14 h 41 min |
| 20 | 06:29 | 07:01 | 21:41 | 22:12 | 14 h 39 min |
| 21 | 06:30 | 07:02 | 21:40 | 22:11 | 14 h 38 min |
| 22 | 06:31 | 07:03 | 21:39 | 22:11 | 14 h 36 min |
| 23 | 06:32 | 07:04 | 21:38 | 22:10 | 14 h 35 min |
| 24 | 06:33 | 07:05 | 21:37 | 22:09 | 14 h 33 min |
| 25 | 06:34 | 07:05 | 21:36 | 22:08 | 14 h 31 min |
| 26 | 06:35 | 07:06 | 21:36 | 22:07 | 14 h 29 min |
| 27 | 06:36 | 07:07 | 21:35 | 22:06 | 14 h 27 min |
| 28 | 06:37 | 07:08 | 21:34 | 22:05 | 14 h 25 min |
| 29 | 06:38 | 07:09 | 21:33 | 22:03 | 14 h 23 min |
| 30 | 06:39 | 07:10 | 21:32 | 22:02 | 14 h 21 min |
| 31 | 06:41 | 07:11 | 21:31 | 22:01 | 14 h 19 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 Madrid runs from 11:00 to 19:00: with medium skin and a t-shirt, ~6 min at the best moment is enough.
See the Madrid vitamin D guideCommon questions about the sun in Madrid in July
- Where does the sun set in Madrid in July?
- Mid-July in Madrid: 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 Madrid lose in July?
- Over July the day gets 41 minutes shorter in Madrid: on July 1 the sun rises at 06:48 and sets at 21:49, and on day 31 it rises at 07:11 and sets at 21:31.
- How many hours of daylight does Madrid get in July?
- In mid-July the day lasts 14 h 47 min in Madrid, from sunrise at 06:57 to sunset at 21:44. The table has the day length for each of the 31 days of the month.
- What time does it start to get light in Madrid in July?
- In mid-July the sky starts to get light at 06:25 in Madrid, when the sun is 6° below the horizon, and the sun itself does not rise until 06:57. The “Dawn” column of the table gives that time for every day of the month.
- What time does it get dark in Madrid in July?
- It's not the same time as sunset. In mid-July in Madrid the sun sets at 21:44, but there is still light: civil twilight does not end until 22:16, 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 Madrid in July?
- In mid-July, between 11:00 and 19:00: that is the stretch of the day when the UV index reaches 3 in Madrid, 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.