The United States presidential line of succession is the order in which government officials replace the president of the United States if the president leaves office before an elected successor is inaugurated. If the president dies, resigns or is removed from office, the vice president becomes president for the rest of the term. If the vice president is unable to serve, the Speaker of the House acts as president.