Under the 22nd Amendment of the Constitution, an elected president can only serve two terms in office for a total of eight years.
https://www.king5.com/mobile/article/news/verify/elections-verify/can-trump-serve-two-more-terms-if-reelected-2024-fact-check/536-adbcaf93-38cc-4203-a3f4-7bbd2651bf19