In 2016 she called the then-presidential candidate a “faker” and said she could not imagine what the country would be like with her as president.
Mr Trump subsequently tweeted that she should resign because “her mind is shot”.
She did not attend Mr Trump’s address to Congress last year either, even though she was present for all eight of former President Barack Obama’s State of the Union speeches.
Born in Brooklyn, New York to Russian Jewish immigrants, Justice Ginsburg was appointed to the court by President Bill Clinton in 1993 and is generally regarded to be on the liberal wing of the US Supreme Court.
She became the court’s oldest member in 2010, when John Paul Stevens retired, but repeatedly turned down calls to step down while the Democrats controlled both houses of Congress so that Mr Obama could appoint a like-minded replacement.
Appointments to the influential court are generally for life and vacancies occur only infrequently, meaning justices can remain in post for many decades.