Icon of resistance: Palestinian teenager Ahed Tamimi who slapped Israeli soldier to face charges
Ahed Tamimi was held until Monday along with her mother Nariman, 43, a military spokeswoman said. It was later announced that she will be charged for "insulting a soldier" and "aggravated assault."
Her cousin Nour, 21, is to be released on Sunday if no new evidence is presented by then.
A few dozen Palestinians protested against their detention near the gate of the military prison in the occupied West Bank where the court is located, with Israeli forces dispersing them with sound grenades and tear gas.
Ahed Tamimi and her mother were arrested on December 19, while her cousin was taken in by security forces the next day.
Tamimi has been lauded as a hero by Palestinians after a video from December 15 went viral showing the teenager slap and kick two Israeli soldiers in her village of Nabi Saleh in occupied West Bank.
Palestinians say she is engaged in legitimate resistance against Israel's 50-year occupation of the West Bank.
The video appears to have been filmed next to the Tamimi house in Nabi Saleh near Ramallah.
The incident occurred during a day of clashes across the West Bank against US President Donald Trump's controversial recognition of Jerusalem as Israel's capital.
Violence since Trump's decision has left 12 Palestinians dead, with most killed in clashes with Israeli forces.
The Tamimi family says a relative was shot in the head with a rubber bullet during protests the same day the video was filmed.
The footage shows Tamimi and her cousin approaching two Israeli soldiers and telling them to leave before shoving, kicking and slapping them.
The heavily armed soldiers do not respond in the face of what appears to be an attempt to provoke rather than seriously harm them.
They then move backwards after Tamimi's mother Nariman becomes involved.
Ahed Tamimi has become something of an icon for Palestinians.
She was photographed biting the hand of an Israeli soldier in 2015 to try to stop the arrest of a brother.
A years-old photograph of her raising her fist at a soldier led to her being received by then Turkish Prime Minister Recep Tayyip Erdogan in 2012.