Ryan, who portrayed his decision as one driven by wanting to spend more time with his family, has had a rocky relationship with Republican President Donald Trump. Asked to what degree Trump's presidency influenced his decision not to seek re-election, Ryan said, "Not at all."
After months of speculation that he would retire, the 48-year-old Republican speaker announced his decision, setting up a struggle for succession among House Republicans amid mounting concern about the party's prospects in November, when Democrats are seeking to regain control of Congress from Trump's fellow Republicans.
"I am announcing today that this year will be my last one in the House," said Ryan, the 2012 Republican US vice presidential nominee and long-time legislator from Wisconsin.
A prolific fundraiser for the party, Ryan became speaker in late 2015 after then-House Speaker John Boehner, also a Republican, unexpectedly resigned following a series of clashes with right-wing conservatives in the divided party.
There has been speculation that Ryan could have his eye on a run for the White House in 2020 or beyond. But in his statement to reporters, he talked about spending more time with his family.
Ryan also said he has been assured by the White House that Trump does not intend to fire Special Counsel Robert Mueller, who is investigating potential collusion between Trump's 2016 presidential campaign and Russia, or Deputy Attorney General Rod Rosenstein, who oversees Mueller's probe.
"I have no reason to believe that that's going to happen," Ryan said. "I have assurances that it's not, because I've been talking to people in the White House about it."