Rockets escape Earth's gravity by burning fuel to produce thrust. This thrust needs to be greater than the gravitational pull of Earth. Once they reach a speed of about 25,000 miles per hour, they can break free from Earth's grip.