The U.S. government was warning Americans to steer clear of Egypt if possible as violence continued unabated. The State Department confirmed a 21-year-old college student - Andrew Pochter of Chevy Chase, Md. - died a day while photographing battles between supporters and foes of the Islamist president.
Obama said the U.S. was in direct contact with the Egyptian government about security arrangements and was planning ahead for larger protests over the weekend.
"We're all looking at the situation there with concern," Obama said. "Our most immediate concern with respect to protests this weekend has to do with our embassy and consulates."
Rage in the streets as protesters stormed political offices in Egyptian cities has unnerved American diplomats, still reeling from the attack last year on a U.S. mission in Benghazi, Libya, that killed four Americans - including the ambassador. The Obama administration appeared eager to show it was leaving nothing to chance as Egypt braced for the one-year anniversary of Morsi's taking power as the country's first freely elected leader.
The Benghazi attacks had followed demonstrations hours earlier outside the U.S. Embassy in Cairo. The U.S. ambassador to the United Nations, Susan Rice, initially claimed the Benghazi incident was a copycat of the Cairo demonstrations - a claim that became a major political headache for Obama when it was later debunked.
Citing the challenges in fostering democracy in Egypt given its authoritarian past, Obama said the U.S. supports freedom of speech in Egypt and the right of protesters to peacefully assemble.
"We would urge all parties to make sure they're not engaging in violence (and) police and military are showing appropriate restraint," Obama said in Pretoria, South Africa, while on a weeklong trip through sub-Saharan Africa.
At least seven Egyptians have been killed and hundreds injured in days of clashes that have fed an impending sense of doom in Egypt. Thousands of Morsi's supporters and opponents held rival sit-ins in separate parts of Cairo Saturday on the eve of planned, nationwide protests Sunday demanding he leave office.
The violence took a personal toll for the U.S. when Pochter, a student at Ohio's Kenyon College with a keen interest in the Middle East, was killed Friday in Alexandria.
The college said Pochter was a religious studies major working in Egypt as an intern for a nonprofit education organization. An organizer for the school's Middle Eastern Students Association, Pochter had hoped to learn fluent Arabic in the spring during a study-abroad program in Amman, Jordan.
Pochter's family said in a statement that he had gone to Egypt for the summer to teach English to 7- and 8-year-olds and to improve his Arabic.
"As we understand it, he was witnessing a protest as a bystander and was stabbed by a protester. He went to Egypt because he cared profoundly about the Middle East. He had studied in the region, loved the culture, and planned to live and work there in the pursuit of peace and understanding," the family said.
The State Department urged Americans on Friday to forego all but essential travel to Egypt and moved to reduce the official U.S. presence in the country. Officials said they would allow some nonessential staff and the families of personnel at the embassy to leave the country until conditions improve.___
Associated Press writer Deb Reichmann in Jerusalem and AP White House Correspondent Julie Pace in Pretoria, South Africa, contributed to this report.