In Maryland, the U.S. highway runs east-west, for 17 miles from the Virginia state line at the Potomac River at Sandy Hook east to its northern (eastern) terminus at US 15 and US 40 (the Frederick Freeway) in Frederick.