McCain is a member of the Senate Armed Services Committee.
International security forces are expected to be out of Afghanistan by the end of 2014
U.S. Senator John McCain arrived on an unannounced visit to Afghanistan on Thursday, a coalition spokeswoman told CNN.
The Arizona Republican is expected to meet with U.S. forces. He is a member of the Senate Armed Services Committee.
The Fourth of July visit comes as the United States prepares to draw down its forces in Afghanistan.
The NATO-led International Security Assistance Force plans to withdraw all international combat troops by the end of 2014 but to keep a residual force in the country to help train Afghans and carry out counterterrorism operations when needed. The size of that force remains under discussion.