Every two years, the Earth and Mars are at their closest position to each other. Launching to take advantage of the distance will allow a spacecraft to reach Mars in roughly six to seven months. Launching a spacecraft when Mars and Earth are at their most significant distance from each other could result in a one-way travel time of four years.