This paper considers the origin of water on Mars, in the context of a dynamical model that accounts for most of the Earth's water as a product of collisions between the growing Earth and planet-sized "embryos" from the asteroid belt. Mars' history is found to be different; to explain the present mass of Mars requires that it suffer essentially no giant collisions and the bulk of its growth is through addition of smaller bodies. Asteroids and comets from beyond 2.5 AU provide the source of Mars' water, which totals 6-27% of the Earth's present ocean (1 Earth ocean≡1.5×10 21 kg), equivalent to 600-2700-m depth on the martian surface. The D/H ratio of this material is 1.2-1.6 times Standard Mean Ocean Water, the smaller value obtaining for the larger amount of water accreted. The upper half of the range of total water accreted, while many times less than that acquired by the Earth, is consistent with geological data on Mars, and the D/H value is that derived for martian magmatic water from SNC meteorites. Both together are consistent with published interpretations of the high D/H in present-day martian atmospheric water in terms of water loss through atmospheric escape.