WASHINGTON—White House press secretary Sarah Sanders will leave her job at the end of the month to return to her home state of Arkansas, President Trump said Thursday.

“She is a very special person with extraordinary talents, who has done an incredible job! I hope she decides to run for Governor of Arkansas,” Mr. Trump tweeted.

Ms. Sanders...