Of those 44 presidents, eight have died while serving as president. Four of natural causes, and four through assassination. Below is list of those eight presidents who died in office.
William Henry Harrison -The 9th President, died in 1841 of pneumonia and pleurisy.
Zachary Taylor --The 12th President, died in 1850 of bilious fever, typhoid fever, and cholera morbus, following a heat stroke.
Abraham Lincoln--The 16th President, was assassinated in 1865 at the end of the Civil War by a Confederate sympathizer. Lincoln was the first of four presidents to be assassinated.
James Garfield--The 20th President, who was assassinated in 1881.
William McKinley--The 25th President, who was assassinated 1901.
Warren G. Harding --The 29th President, who died in1923 of a suspected heart attack.
Franklin Delano Roosevelt --The 32nd President, who died in 1945, of a cerebral hemorrhage.
John F. Kennedy-The 35th President, who was assassinated in 1963.