Generally, long distance hikers should look to obtain a six month multiple entry B-2 visa from their local U.S. embassy. International visitors on a six month B-2 visa should plan to complete their hike (including time before and after the trail) within their six month window.