The delegation also met with top military leaders and troops at Bagram Air Base, the main U.S. military base in the country, according to a U.S. military officer who spoke on condition of anonymity because the officer was not authorized to release the information.
Obama's first visit to Afghanistan, coming less than four months before the general election, was rich with political implications. Republican presidential rival John McCain has criticized Obama for his lack of time in the region. Obama is also expected to stop later in Iraq.
En route to Afghanistan, Obama stopped Friday at Camp Arifjan, the main U.S. military base in Kuwait and a major gateway for U.S. soldiers moving into and out of Iraq.
Lt. Col. Bill Nutter, a spokesman for the U.S. military in Kuwait, said, "He talked to soldiers and constituents and met with senior military leadership."
During the two-hour visit, Nutter said, the officers gave him an overview of operations. Obama shook hands, answered questions, posed for photos and played a little basketball during the visit.
Sultan Ahmad Baheen, spokesman for Afghanistan's Foreign Ministry, said Saturday that Obama would meet with President Hamid Karzai during his visit.
"I look forward to seeing what the situation on the ground is," Obama told a pair of reporters who accompanied him to his departure from Andrews Air Force Base on Thursday. "I want to, obviously, talk to the commanders and get a sense both in Afghanistan and in Baghdad of, you know, what the most, their biggest concerns are, and I want to thank our troops for the heroic work that they've been doing."
Underscoring the challenges in Afghanistan, authorities reported Saturday that a roadside bomb killed four policemen in the volatile south of the country where the Taliban-led insurgency is intensifying nearly seven years after a U.S.-led invasion ousted the militant movement from power.
Obama advocates ending the U.S. combat role in Iraq by withdrawing troops at the rate of one to two combat brigades a month. But he supports increasing the military commitment to Afghanistan, where the Taliban has been resurgent and Osama bin laden is believed to be hiding.
Obama recently chided Karzai and his government, saying it had "not gotten out of the bunker" and helped to organize the country or its political and security institutions.
Also on his itinerary later in the trip is a meeting with Nouri al-Maliki, the Iraqi leader. On the campaign trail, Obama has said one benefit of withdrawing U.S. troops is that it would pressure al-Maliki to shore up his government as well.
Nonetheless, he said he did not plan to reiterate those messages in person.
"I'm more interested in listening than doing a lot of talking, and I think it's very important to recognize that I'm going over there as a U.S. senator," he said. "We have one president at a time."
The duration and details of Obama's stay in Afghanistan have not been formally disclosed, and media access was limited.
Traveling with Obama were Sens. Chuck Hagel, a Nebraska Republican and Jack Reed, a Democrat from Rhode Island. The senators, both military veterans, have been mentioned as potential Obama vice presidential running mates, but Reed has said he's not interested in the job.