…But what if the president-elect dies — meaning the winning presidential candidate dies after the election but before the inauguration on Jan. 20?
The 20th Amendment of the U.S. Constitution provides that if the president-elect dies, the rules of succession apply, and the vice-president-elect becomes the president-elect. Unfortunately, it's not clear when in the process a winning candidate becomes president-elect.
The winning candidate definitely assumes the title president-elect after Jan. 6, when Congress officially counts the Electoral College votes and declares a winner. But a winning presidential candidate has never died before being inaugurated, so Congress has never had to define president-elect.