The earth is farthest from the sun in July. This is because the earth's orbit around the sun is not a perfect circle, but rather an ellipse. The point in the orbit where the earth is farthest from the sun is called aphelion, and it occurs in July. In contrast, perihelion, the point where the earth is closest to the sun, occurs in January.