Driving distance from Boston, MA to Cape Cod. The total driving distance from Boston, MA to Cape Cod is 70 miles or 113 kilometers. Your trip begins in Boston, Massachusetts. It ends in Cape Cod, Massachusetts.