Trump had previously characterized the allegations, first reported by The Washington Post, as "very troubling" before changing tack and warning voters in Moore's home state of Alabama that a victory for his Democratic rival Doug Jones "would be a disaster!"
He cited Democrats' opposition to his legislative agenda, including tax cuts, as reasons for his support.
"Democrats refusal to give even one vote for massive Tax Cuts is why we need Republican Roy Moore to win in Alabama," he tweeted.
He added: "Look at your 401-k's since Election. Highest Stock Market EVER! Jobs are roaring back!" he added, referring to an employer-sponsored retirement savings plan.
More From This Section
Moore, a 70-year-old Christian conservative with a history of controversy stemming from his tenure on Alabama's supreme court, had been a strong favorite to win the rightwing state's special election on December 12 before the allegations broke.
Most of the allegations about Moore relate to when he was a prosecutor in his mid-30s and sought to pursue relationships with teens, according to the reports.
Moore has denied the allegations and said they are politically motivated.
The race, which is being held to replace Jeff Sessions, who was named US attorney general, has national repercussions because Republicans hold only a slim 52-to-48 majority in the senate.
Allegations of sexual harassment have plagued both of America's main political parties in recent weeks.
Democrat John Conyers, a celebrated civil rights leader who is the longest-serving member of Congress, announced he was stepping down from a leadership position last month as he battles harassment claims from members of his staff.