Question: what happens if the president dies in office?
Answer: If the president dies, resigns or is removed from office, the vice president automatically becomes president. Likewise, were a president-elect to die during the transition period, or decline to serve, the vice president-elect would become president on Inauguration Day.