The youngest person to serve as president of the United States was Theodore Roosevelt , who assumed the presidency at age 42 after President William McKinley was assassinated in 1901.

However, the youngest person elected president was John F. Kennedy , inaugurated at age 43 in January 1961.

So in one line: Theodore Roosevelt was the youngest to be president , while John F. Kennedy was the youngest to win election to the office.

Information gathered from public forums or data available on the internet and portrayed here.