United States presidential election in Virginia, 2008 By county/city By county/city

| County | Obama__1 | Obama__2 | McCain__3 | McCain__4 |
|---|---|---|---|---|
| Fairfax | 60.11% | 310359 | 38.93% | 200994 |
| Fairfax (city) | 57.68% | 6575 | 41.15% | 4691 |
| Falls Church (city) | 69.55% | 4695 | 29.18% | 1970 |
| Fauquier | 42.71% | 14616 | 56.18% | 19227 |
| Floyd | 39.07% | 2937 | 59.08% | 4441 |
| Fluvanna | 48.56% | 6185 | 50.41% | 6420 |
| Franklin (city) | 63.67% | 2819 | 35.59% | 1576 |
| Franklin | 37.86% | 9618 | 60.68% | 15414 |
| Frederick | 38.56% | 12961 | 59.94% | 20149 |
| Fredericksburg (city) | 63.6% | 6155 | 35.26% | 3413 |
| Galax | 43.79% | 1052 | 54.82% | 1317 |
| Giles | 40.94% | 3192 | 57.24% | 4462 |
| Gloucester | 35.97% | 6916 | 62.89% | 12089 |
| Goochland | 38.31% | 4813 | 60.84% | 7643 |
| Grayson | 34.34% | 2480 | 62.88% | 4540 |
| Greene | 38.42% | 3174 | 60.29% | 4980 |
| Greensville | 63.88% | 3122 | 35.37% | 1729 |
| Halifax | 48.22% | 8126 | 51.03% | 8600 |
| Hampton (city) | 69.05% | 46917 | 30.13% | 20476 |