Chester Arthur, was a widower in 1880 when he was elected as the Vice President and remained unmarried when he inherited the position of President upon the 1881 death of President James Garfield.
Three Presidents who were elected as married men, became widowers during their presidencies: John Tyler in 1841, Benjamin Harrison in 1892, and Woodrow Wilson in 1914.