This color-coded map of the U.S. shows the per-state median number of years undocumented immigrants have lived in the country. Values range from 6.5 years to 20.3, though there are eight states where data is not available. The number is highest in California, at 20.3 years, and is generally higher in the West and Southwest than the rest of the country. New Hampshire has the lowest median number of years, at 6.5.