How long does it take to get to Mars?
By Daniel Ruiz · Published 9 November 2026
At its closest, Mars is about 56 million kilometres away. Yet no spacecraft arrives in weeks: the real answer is roughly 7–9 months, and it depends on when you leave. The reason is that you don't fly to Mars, you chase it.
No straight line: you chase Mars
On 27 August 2003, Mars came within 55,757,930 km of Earth, according to NASA, the closest approach in almost 60,000 years. It won't get that close again until 2287. With a number like that, you would expect a short trip.
But Earth and Mars aren't standing still: both orbit the Sun, each at its own pace. A spacecraft leaving Earth already carries our planet's speed, and it has to reach a point where Mars will be months later. So the route is an arc around the Sun, much longer than the straight-line distance.
Perseverance shows it well. It landed in Jezero crater on 18 February 2021 after a 203-day, 472-million-km journey, according to NASA. That is the distance it actually flew, far more than the 56 million km of the best case.
The Hohmann transfer: half an ellipse around the Sun
The way to reach Mars with the least propellant is the Hohmann transfer. According to NASA, it means changing the spacecraft's orbit around the Sun so that its perihelion (closest point to the Sun) touches Earth's orbit and its aphelion (farthest point) touches Mars's.
The spacecraft flies only half of that ellipse, from Earth's orbit to Mars's. It is the cheapest path, not the fastest. If you want to experiment with different starting and target orbits, try the Hohmann transfer calculator.
Working out the trip with Kepler's third law
You can estimate the duration with pencil and paper. Earth's orbit has a semi-major axis of 149.598 million km (1 AU) and Mars's is 227.956 million km (1.524 AU), according to NASA's fact sheet.
Step 1. The semi-major axis of the transfer ellipse is the average of the two: (149.598 + 227.956) / 2 = 188.777 million km, or 1.2619 AU.
Step 2. Kepler's third law says that, around the Sun, the period in years equals the semi-major axis in AU raised to the power 1.5: T = 1.2619^1.5 = 1.4175 years, or 517.8 days.
Step 3. The spacecraft only flies half an ellipse, so the trip lasts 517.8 / 2 = 258.9 days, about 8.5 months. That matches the 259 days NASA JPL gives for an Earth–Mars Hohmann orbit.
Launch windows: why every 26 months
During those 259 days Mars doesn't stay put. It covers 259 / 686.98 × 360° = 135.7° of its orbit, because its year lasts 686.98 days. Since the spacecraft sweeps half a turn (180°), you must launch when Mars is about 44° ahead of Earth. You don't launch at closest approach: you launch when the geometry lets spacecraft and planet meet at the end.
That alignment repeats with the synodic period, the time it takes Earth to "catch up" with Mars again. Here is the calculation: 1/S = 1/365.256 − 1/686.98 = 0.0027378 − 0.0014556 = 0.0012822 per day, so S ≈ 779.9 days, about 25.6 months. That is why NASA speaks of an opportunity every 25–26 months, not exactly "every two years".
If a window is missed, the mission waits more than two years. That is why teams are under such pressure to be ready on time.
Real missions: Perseverance, ExoMars and others
Real missions don't follow an exact Hohmann orbit, because orbits are neither perfectly circular nor in the same plane. Perseverance launched on 30 July 2020 from Cape Canaveral on an Atlas V 541 and took 203 days, less than the theoretical 259.
ESA gives other examples: the ExoMars 2016 cruise lasted 218 days and about 500 million km, and the planned trajectory for ExoMars 2022 was 264 days. The numbers vary, but they all sit in the same range: seven to nine months.
Signal delay: talking to Mars at the speed of light
The other "journey" is that of radio waves. According to ESA, a signal takes about 4 minutes to go from Mars to Earth at closest approach and about 24 minutes at greatest separation. Engineers call this one-way light time (OWLT); the round trip is double.
We can check the best case: 55,757,930 km / 299,792.458 km/s = 186.0 s, about 3.1 minutes one way and 6.2 minutes round trip. To try other distances, use the communication delay calculator.
If you want the mechanics behind all of this, it is explained in the orbital mechanics chapter.
Frequently asked questions
Why don't we fly to Mars in a straight line?
Because Earth and Mars both move around the Sun, and the spacecraft starts with Earth's velocity. It has to reach where Mars will be months later, so the route is an arc. Perseverance flew 472 million km, not the 56 million km of the closest approach.
Can you get there faster by burning more fuel?
The Hohmann transfer uses the minimum propellant, so a faster route needs more fuel. Real missions already vary between 203 and 264 days depending on their design.
What happens if a mission misses its launch window?
It has to wait for the next one, about 25–26 months later, because that is how often the Earth–Mars alignment repeats.
Can a Mars rover be driven in real time?
No. The signal alone takes roughly 4 to 24 minutes to arrive, and the reply takes as long again. So rovers are controlled with commands sent ahead of time, not with a remote control.
More articles
- Does GPS need Einstein's relativity?
- How do astronomers know what an exoplanet's atmosphere is made of?
- How fast can bacteria evolve?
- Why is the sky blue and sunsets red?