The James Webb Space Telescope will not be in orbit around the Earth, like the Hubble Space Telescope is - it will actually orbit the Sun, 1.5 million kilometers (1 million miles) away from the Earth at what is called the second Lagrange point or L2. What is special about this orbit is that it lets the telescope to stay in line with the Earth as it moves around the Sun.
This allows the satellite's large sunshield to protect the telescope from the light and heat of the Sun and Earth (and Moon).
(Note that these graphics are not to scale.)
Why Does the Direction of the Earth and Sun Matter?
JWST primarily observes infrared light, which can sometimes be felt as heat. Because the telescope will be observing the very faint infrared signals of very distant objects, it needs to be shielded from any bright, hot sources. This also includes the satellite itself! The sunshield serves to separate the sensitive mirrors and instruments from not only the Sun and Earth/Moon, but also the spacecraft bus.
The telescope itself will be operating at about 225 degrees below zero Celsius (minus 370 Fahrenheit). The temperature difference between the hot and cold sides of the telescope is huge - you could almost boil water on the hot side, and freeze nitrogen on the cold side!
To have the sunshield be effective protection (it gives the telescope the equivalent of SPF one million sunscreen) against the light and heat of the Sun/Earth/Moon, these bodies all have to be located in the same direction.
This is why the telescope will be out at the second Lagrange point.
What is L2?
Joseph-Louis Lagrange was an 18th century mathematician who found the solution to what is called the “three-body problem.” That is, is there any stable configuration, in which three bodies could orbit each other, yet stay in the same position relative to each other? As it turns out, there are five solutions to this problem - and they are called the five Lagrange points, after their discoverer. The L1, L2, and L3 points are all in line with each other - and L4 and L5 are at the points of equilateral triangles.
The first Sun-Earth Lagrange point, L1, is 1.5 million km from the Earth towards the Sun, and there have been many solar observatories located here, including DSCOVR, WIND, SOHO, and ACE.
There have been other satellites out at Sun-Earth L2, where JWST will be, including WMAP, Herschel, and Planck.
Some Technical Details: It is easy for an object (like a spacecraft) at one of these five points to stay in place relative to the other two bodies (e.g., the Sun and the Earth). In fact, L4 and L5 are stable in that objects there will orbit L4 and L5 with no assistance. Some small asteroids are known to be orbiting the Sun-Earth L4 and L5 points. However, L1, L2, and L3 are metastable so objects around these points slowly drift away into their own orbits around the Sun unless they maintain their positions, for example by using small periodic rocket thrust. This is why L1, L2, and L3 don't "collect" objects like L4 and L5 do.
JWST at L2
If JWST is orbiting the Sun further out than Earth, shouldn't it take more than a year to orbit the Sun? Normally yes, but the balance of the combined gravitational pull of the Sun and the Earth at the L2 point means that JWST will keep up with the Earth as it goes around the Sun. The gravitational forces of the Sun and the Earth can nearly hold a spacecraft at this point, so that it takes relatively little rocket thrust to keep the spacecraft in orbit around L2.
8And JWST will orbit around L2, not sit stationary precisely at L2. JWST's orbit is represented in this screenshot from our deployment video (link), roughly to scale; it is actually similar in size to the Moon's orbit around the Earth! This orbit (which takes JWST about 6 months to complete once) keeps the telescope out of the shadows of both the Earth and Moon. Unlike Hubble, which goes in and out of Earth shadow every 90 minutes, JWST will have an unimpeded view that will allow science operations 24/7.
JWST's position out at L2 also makes it easy for us to talk to it. Since it will always be at the same location relative to Earth-in the midnight sky about 1.5 million km away - we can have continuous communications with it as the Earth rotates through the Deep Space Network (DSN), using three large antennas on the ground located in Australia, Spain and California. During routine operations, JWST will uplink command sequences and downlink data up to twice per day, through the DSN. The observatory can perform a sequence of commands (pointing and observations) autonomously. Typically, the Space Telescope Science Institute will upload a full week's worth of commands at a time, and make updates daily as needed.
How long will it take JWST to get out to L2?
It will take roughly 30 days for JWST to reach the start of its orbit at L2, but it will take less than a day to get far away from Earth and much of the way there. Getting JWST to its orbit around L2 is like reaching the top of a hill by pedaling a bicycle vigorously only at the very beginning of the climb, generating enough energy and speed to spend most of the way coasting up the hill so as to slow to a stop and barely arrive at the top.
Here is our video that shows the timeline of JWST's deployment en route to L2.