A judge gave police permission to hold 21-year old Philip Manshaus in custody for an initial four weeks while he is investigated on suspicion of murder and breach of anti-terrorism law, the court's ruling later showed.
Manshaus, who briefly smiled at photographers, does not admit to any crime, his lawyer said earlier.
Eyewitnesses said Manshaus entered the al-Noor Islamic Centre with several guns, but was overpowered by a 65-year-old member of the mosque, who managed to wrestle away his weapons in the fight that followed.
A few hours after the mosque attack, police discovered the body of a young woman at what they said was the suspect's address. Police later said she was his stepsister.
Manshaus did not speak while reporters were present, and has so far declined to talk to the police.
"He is exercising his right not to be interrogated," his defence attorney, Unni Fries, told Reuters. "He is not admitting any guilt."
Manshaus, whose home is near the mosque just outside the Norwegian capital, had expressed far-right, anti-immigrant views before the attack, police said earlier.
Online postings under Manshaus' name, made shortly before the attack, expressed admiration for the massacre at two New Zealand mosques in March by a suspected right-wing extremist, in which more than 50 people were killed.
Reuters could not independently verify that the postings were made by Philip Manshaus.
Police sought to hold him on suspicion of murder, as well as of breaching anti-terrorism law by spreading severe fear among the population.
"The investigation is still in an early phase and the suspect has not made any statements to the police," prosecutors said in a statement.
"There was nothing in that tip-off that suggested there was danger of an act of terrorism or that planning of an attack was underway," PST head Hans Sverre Sjoevold told a news conference.
He declined to comment on the content and source of the warning.
PST will now explore whether Manshaus had links to any domestic or foreign extremist networks, although investigators have said they believed he acted alone in the attack, Sjoevold told Reuters.
In 2011, anti-Muslim neo-Nazi Anders Behring Breivik massacred 77 people in Norway's worst peacetime atrocity, the majority of them teenagers at a youth camp.
Norwegian Prime Minister Erna Solberg on Sunday said that while her government tries to combat hate speech, more must be done.
"We are trying to combat this, but it's a challenge. I think it's a word-wide challenge in a sense," Solberg said.
Any formal charges in the case, and a trial to decide whether Manshaus is guilty or not, are likely to still be months away.
A guilty verdict on charges of breaching anti-terrorism laws can carry a sentence of up to 21 years in prison, as can the killing of the suspect's 17-year old stepsister, according to Norwegian sentencing guidelines.