"Mr. Trump used his national and global audience of millions of people to make a false factual statement to denigrate and attack Ms. Clifford", the federal court complaint said at the time.
Attorneys for Trump have sought to dismiss both lawsuits.
She said that in 2011, a man approached her in a Las Vegas parking lot and threatened her after she had agreed to talk about her experience with Mr Trump in an interview.
"Re Judge's limited ruling: Daniels' other claims against Trump and Cohen proceed unaffected".
Stormy Daniels' attorney Michael Avenatti, however, appears undeterred by the ruling and said that he would appeal the dismissal.
The judgment defined "rhetorical hyperbole" as "extravagant exaggeration employed for rhetorical effect" and said Mr Trump's tweet had "an incredulous tone, suggesting that the content of his tweet was not meant to be understood as a literal statement about Plaintiff".
Muere Paul Allen, cofundador de Microsoft, a los 65 años
Muere a los 65 años Paul Allen , uno de los fundadores de Microsoft , de acuerdo a un comunicado de la familia. Allen y Bill Gates se conocieron en la infancia y fue en 1975 cuando ambos decidieron crear Microsoft .
In dismissing the suit, the judge said Trump's tweet was a "hyperbolic statement" against a political adversary.
Trump's lawyer, Charles Harder, said it was a "total victory" for the president.
"The court agrees with Mr. Trump's argument because the tweet in question constitutes "rhetorical hyperbole" normally associated with politics and public discourse in the U.S.", U.S. District Judge S. James Otero in Los Angeles said in a ruling Monday, as Bloomberg reported. "Harder's release because it is as deceptive as his claims about the inauguration attendance", he told Law&Crime in a statement. Avenatti added "we will appeal the dismissal of the defamation cause of action and are confident in a reversal".
In September, Cohen's lawyer said that, following the August guilty plea, Cohen provided "critical information" to Special Counsel Robert Mueller, who is investigating Russian efforts to interfere in the 2016 election and whether Trump's campaign colluded.
She filed the case after the president tweeted that she had invented a story about being threatened for speaking out about the alleged affair.
Daniels had said the agreement should be invalidated because Cohen signed it, but Trump didn't.
Trump and a White House spokesperson have denied having an affair with Daniels.