Answer:
16 years
Supreme Court justices have life tenure, and so they serve until they die, resign or retire, or are impeached and removed from office. For the 105 non-incumbent justices, the average length of service was 6,203 days (16 years, 359 days).