The distance to Mars from Earth varies considerably depending on their orbits around the sun.
In theory, the closest Mars and Earth would get is when Mars reaches its closest point to the sun (perihelion) and Earth is at its farthest (aphelion).
This would bring the two planets within 33.9 million miles (54.6 million kilometers) of each other — but this has not yet happened in recorded history according to NASA.
The closest recorded distance to Mars from Earth was recorded in August 2003 when the two were 34.8 million miles (56 million km) apart.
According to NASA, The next Mars Close Approach is Dec. 8, 2022, when the Red Planet will be only 38.6 million miles (62.07 million kilometers) from Earth.