San Francisco Marathon
San Francisco, CA. 234 days to race day.
The San Francisco Marathon is 26.2 miles (42.195 km) in San Francisco, CA, with 1,045 ft of climbing, starting and finishing at about the same elevation. It scores 67/100 on the Runner's Math Difficulty Index (#3 of 75 marathons): the profile costs about 5:07 versus a flat course at 4:00-marathon pace. Next race: Sunday, July 25, 2027.
Average pace
12:51/mi
Even effort, so the pace moves with the hills: fastest 12:30 at mile 22, slowest 13:40 at mile 12.
Mile splits for 5:37:02
Even splits below. Sign in for splits adjusted for each hill.
Even pace is 12:51 /mi. That puts you here on the clock:
| Checkpoint | Even-pace time |
|---|---|
| 5 mi | 1:04:16 |
| 10 mi | 2:08:33 |
| Halfway | 2:48:31 |
| 20 mi | 4:17:06 |
| Finish | 5:37:02 |
Your San Francisco splits with 57°F, 3% grades, and race-day fatigue factored in
Elevation profile
Shaded bars are your pace for each split. Hover or drag for the clock time at any point.
Course map and facts
- Distance
- 26.22 mi
- Total climb
- +1,045 ft
- Total descent
- −1,044 ft
- Net elevation
- +1 ftuphill
- Steepest grade
- 9.8%
- Start altitude
- 12 ft
Weather during the race
Climate average for this date over the last three years. The real forecast arrives in 218 days. Rows follow your start time and goal.
A minor effect. These conditions add about 1.1% to your pace, roughly 3:51 on your finish.
| Time | Temp | Dew point | Humidity | Wind | Sky |
|---|---|---|---|---|---|
| Start | 57–58°F | 54° nice | 87–92% | 8 mph SW | Clear sky |
| 6 AM | 57–59°F | 54° nice | 85–91% | 9 mph SW | Clear sky |
| 7 AM | 57–60°F | 54° nice | 78–89% | 9 mph W | Clear sky |
| 8 AM | 58–62°F | 54° nice | 73–86% | 10 mph W | Partly cloudy |
| 9 AM | 59–64°F | 54° nice | 69–82% | 11 mph W | Partly cloudy |
| 10 AM | 60–66°F | 54° nice | 66–80% | 11 mph W | Partly cloudy |
| Finish | 62–67°F | 54° nice | 66–74% | 12 mph W | Clear sky |
How hard the course is
67out of 100, hard
The profile costs 5:07 against a flat course at 4:00-marathon pace. That ranks the San Francisco Marathon 3 of 75 marathon courses, hardest first.
San Francisco Marathon pace chart
The fitness that runs the flat-course time finishes here in about the time beside it, after hills and altitude. Weather is extra. Choose a time to load it into the planner.
| Flat course | Here | Pace /mi | Pace /km |
|---|---|---|---|
| 3:00 | 3:03:50 | 7:01 | 4:21 |
| 3:30 | 3:34:28 | 8:11 | 5:05 |
| 4:00 | 4:05:07 | 9:21 | 5:49 |
| 4:30 | 4:35:45 | 10:31 | 6:32 |
| 5:00 | 5:06:23 | 11:41 | 7:16 |
| 5:30 | 5:37:02 | 12:51 | 7:59 |
How the San Francisco Marathon compares
Head to head with nearby and similar races: which is harder, by how much at your pace, and both profiles on one scale.
Race-morning weather, past 10 years
From the 5:00 a.m. start on this date, the median race morning is 59°F with a 54°F dew point and 10 mph of wind. To see what a warmer, more humid morning would cost at your goal, try the heat pace calculator.
Race mornings at the San Francisco Marathon, 2017–2026
2 of the last 10 race mornings were warm and humid enough to slow race pace.
Average over the four hours from the race start on this calendar date, ERA5 reanalysis via Open-Meteo.
| Year | Temp | Dew point | Wind | Rain | Sky |
|---|---|---|---|---|---|
| 2026 | 59°F | 53°F | 7 mph | — | Clear |
| 2025 | 57°F | 54°F | 9 mph | — | Partly cloudy |
| 2024 | 59°F | 55°F | 10 mph | — | Partly cloudy |
| 2023 | 59°F | 54°F | 6 mph | — | Partly cloudy |
| 2022 | 55°F | 52°F | 13 mph | — | Partly cloudy |
| 2021 | 55°F | 52°F | 14 mph | — | Partly cloudy |
| 2020 | 57°F | 53°F | 10 mph | — | Partly cloudy |
| 2019 | 60°F (warm) | 55°F | 10 mph | — | Partly cloudy |
| 2018 | 59°F | 55°F | 12 mph | — | Partly cloudy |
| 2017 | 59°F (warm) | 56°F | 9 mph | — | Partly cloudy |
Conditions averaged over the four hours from the start on the San Francisco Marathon’s calendar date each year, from the ERA5 reanalysis archive. The window opens at the race’s official start time (to the nearest hour). The date is the race’s usual slot, not always each edition’s exact day. Warm mornings are marked in orange.
Train for this course
A free week-by-week plan at your own paces, shaped by the San Francisco Marathon’s hills and its race-morning weather.
For race day, the fueling calculator turns your finish time into gels, fluid and sodium, and the Boston qualifier calculator checks it against your age group’s standard.
See the San Francisco Marathon planSan Francisco Bay Area Marathon Pace Calculator & Race Plan
The San Francisco Marathon is the premier bay area marathon, running through some of the most iconic scenery in American road racing. The course crosses the Golden Gate Bridge, winds through the Presidio and Haight-Ashbury, and follows the Embarcadero along the waterfront. With 319 meters of elevation gain, this is a genuinely hilly marathon that includes steep neighborhood climbs and the sustained ascent to the bridge deck.
The marathon in SF's Bay Area presents a unique weather challenge. July mornings typically start in thick fog with temperatures in the low 50s, but by late morning the sun can break through and push temps into the 60s or higher. Our pace model adjusts for the front-loaded hills and shifting conditions so you can stay conservative through the climbs and run the flatter back half with confidence.
Questions about the San Francisco Marathon
When is the next San Francisco Marathon?
The next San Francisco Marathon is on Sunday, July 25, 2027.
How many miles is the San Francisco Marathon?
The San Francisco Marathon is 26.2 miles (42.195 km), the standard marathon distance. It runs in San Francisco, CA.
How much elevation gain does the San Francisco Marathon have?
The San Francisco Marathon course has about 1,045 ft (319 m) of total elevation gain and 1,044 ft (318 m) of elevation loss, with a maximum grade of 9.8%.
Is the San Francisco Marathon flat, downhill, or hilly?
The San Francisco Marathon starts and finishes at roughly the same elevation (net +0 m). With 1,045 ft of total climbing along the way, the profile rolls even though the net change is small.
How hard is the San Francisco Marathon?
Runner's Math scores the San Francisco Marathon 67/100 (Hard) — #3 of 75 marathon courses in our library, ranked by modeled time cost. The profile costs about 5:07 versus a flat course for a runner at 4:00-marathon pace.
What's the weather usually like at the San Francisco Marathon?
Over the past 10 years on this date, median conditions from 5am to 9am were 59°F with a 54°F dew point and 10 mph wind. 2 of 10 years were warm enough to slow race pace.